mac 终端 例行_日常例行

mac 终端 例行

mac 终端 例行

Everyone has their vices. One of mine is an unhealthy obsession with other people’s daily routines. I find them genuinely interesting and have probably taken a thing or ten away from a few of them to try to bring into my own routine.

每个人都有其恶习。 我的其中之一是对别人的日常生活不健康的痴迷。 我发现它们真的很有趣,可能已经从其中的一些东西中拿走了十点钱,以尝试融入我自己的日常工作中。

But, wow, do they always sound so….neat and tidy. Like:

但是,哇,它们听起来总是那么……整洁吗? 喜欢:

  • Get up at 4am

    凌晨4点起床
  • Meditate for an hour

    打坐一个小时
  • Drink coffee and plan out my day

    喝咖啡并计划我的一天
  • Workout

    锻炼
  • Etc, etc, etc

    等等等等

I realized I, too, have a routine. A messy one. So here’s how my daily routine stacks up.

我意识到我也有例行程序。 一团糟。 这就是我的日常工作方式。

Somewhere between 5:00am-6:00am (basically, way too early) 5:00 am-6:00am之间的某个地方(基本上,还为时过早)
100 Animal Pictures board book right now), and then I pick him up and put him and all his gear into the recliner and turn on a 100张动物图片板书一起睡觉),然后我把他抱起来,把他和他的所有装备放到躺椅上然后打开 Big Comfy Couch or 大舒适沙发Winnie The Pooh. 小熊维尼

I don’t like putting him in front of a show to start the day, but he’s a bit grumpy until he eats, and I’m a bit groggy until I’ve had my coffee. It’s in both of our best interests to fix those issues as early as possible and this is the easiest way to get a free moment to make him some breakfast and make myself a cup of coffee.

我不想让他出现在演出开始前的一天,但是他有点脾气暴躁,直到他吃饭为止,而我有点脾气暴躁,直到我喝咖啡为止。 尽早解决这些问题符合我们的最大利益,这是获得空闲时间为他做些早餐并为自己喝杯咖啡的最简单方法。

6:00am-7:45am 6:00 am-7:45am
most days, I start by making breakfast for the rest of my kids and myself (my usual: three fried eggs, an avocado, a couple of pieces of toast, and a banana) and coffee for my wife (she doesn’t like to eat breakfast this early). 大多数日子里,我首先为其余的孩子和我自己做早餐(通常:三个煎鸡蛋,一个鳄梨,几片吐司和一个香蕉)和为我的妻子喝咖啡(她不喜欢早点吃早餐)。

The rest of the time I’m chasing after the kiddos: making sure they’re getting ready for the day and not getting distracted (my oldest loves to find a corner to hide in so she can get lost in whatever book she’s currently reading), brushing teeth, brushing hair (I am very proficient at ponytails and ok at braids, but that’s my current limit) and helping get their backpacks ready. During this time I’m also getting myself dressed and ready for the day.

剩下的时间我都在追随孩子们:确保他们为这一天做好准备并且不会分心(我最年长的人喜欢找到一个角落藏起来,这样她就可以迷失在自己目前正在阅读的任何书中) ,刷牙,刷头发(我精通马尾辫,还擅长辫子,但这是我目前的限制),并帮助他们准备好背包。 在这段时间里,我也为自己整装待发。

I say most days because right now I’m coaching kids basketball on Tuesdays and Thursdays which means I have to leave work early. So today, for example, I was in the office by 6am. I replied to a few emails, finished writing this post and then got to work.

我说大部分时间是因为现在我在星期二和星期四教孩子们篮球,这意味着我必须提早下班。 例如,今天我早上6点钟在办公室。 我回复了几封电子邮件,写完了这篇文章,然后开始工作。

8:00am-9:30am 8:00 am-9:30am

On strength training days, I’ll listen to some music. When I run, I’ve found podcasts work better. I’ve always sort of mentally tuned in and out of podcasts as I listen to them, and that’s exactly why it works so well to listen to them when I run. I’ll let my mind wander in whatever direction it wants based on what I’m hearing. It’s, frankly, relaxing.

在力量训练的日子里,我会听一些音乐。 跑步时,我发现播客的效果更好。 在收听播客时,我总是会在某种程度上进行调优,这就是为什么当我跑步时收听播客如此之好的原因。 根据听到的声音,我会朝着想要的任何方向漂移。 坦率地说,这很轻松。

This is the closet thing I have to anything like those neat and tidy routines I’m always so interested in. I don’t always get to workout during this time, but I would say I’m batting somewhere around 80%. Honestly, what happens in this slot is pretty critical. When I workout, I feel far more focused during the day. It also starts me off on the right foot: I’ve planned something and it happened according to schedule. If I miss this time slot for any reason, the likelihood I will get a workout in that day drops dramatically and so does my general productivity. I am very protective of these hours when scheduling meetings.

对于那些我一直很感兴趣的干净整洁的例程,这是我需要的壁橱东西。这段时间我并不总是去锻炼,但我想说的是,我的击球率大约为80%。 老实说,在这个时段发生的事情非常关键。 当我锻炼时,我白天会更加专注。 这也让我从右脚开始:我已经计划了一些事情,并按计划进行了。 如果我由于某种原因错过了这个时间段,那一天我参加锻炼的可能性将大大降低,我的总体生产率也会下降。 在安排会议时,我非常注意这些时间。

I thought that would be a challenge, but it’s been very easy to make happen. When I have customers overseas, then I’ll put their meetings here and bump the workouts a bit later. But I otherwise I keep this open. I use Calendly for most of my meeting scheduling because it’s just simpler than going back and forth. It also lets me define what hours during the day I’m “available” for meetings so I block off everything before 10am. It’s never been a problem for anyone.

我认为这将是一个挑战,但是要实现它非常容易。 当我有海外客户时,我将在这里举行他们的会议,然后再进行锻炼。 但是我否则保持开放。 我将Calendly用于大多数会议安排,因为它比来回简单。 它还可以让我定义一天中有哪些时间可以“开会”,以便在上午10点之前屏蔽所有内容。 对于任何人来说,这从来都不是问题。

9:30am-12:00pm 上午9:30-12:00pm
usually targeting the highest priority items first. Sometimes, though, I just need to feel like I’ve finished something so occasionally, I’ll grab something that might be a little lower priority but that I know I can finish quickly, just to get the momentum going. 通常会优先处理优先级最高的项目。 但是有时候,我只是觉得自己偶尔完成了某件事,所以我会抓住一些可能没有那么优先的事情,但是我知道我可以很快完成,只是为了保持动力。

Yesterday was a bit of both. I’m helping one company bolster their performance monitoring, so I spent most of this time digging through the data they currently have to see how the metrics they currently have are being collected and jotting down some ideas of things I think are missing.

昨天是两者兼而有之。 我正在帮助一家公司加强其绩效监控,所以我大部分时间都在研究他们当前需要的数据,以了解他们如何收集当前的指标并写下一些我认为缺失的想法。

Then I switched to wrapping up my JavaScript-related performance findings for an audit I’m finishing for another client.

然后,我转而使用我与JavaScript相关的性能调查结果进行总结,以完成为另一位客户准备的审核。

12:00pm-1:00pm 12:00 pm-1:00pm

Whenever I do end up taking my lunch, I’ll sit down (I use a standing desk the rest of the day) and turn something on to watch while I eat. I’d love to pretend that it’s always some sort of fascinating technical talk, but that’s probably only 20% of the time. The rest of my lunches are filled with whatever TV shows I happen to be enjoying (Monday’s are for The Outsider right now, Friday’s for The Good Place).

每当我吃完午饭时,我都会坐下来(一天剩下的时间里我会使用站立式办公桌),然后在吃饭时打开一些东西观看。 我很想假装这总是一种令人着迷的技术演讲,但这大概只有20%的时间。 我剩下的午餐都充满了我碰巧喜欢的电视节目(星期一是The Outsider ,星期五是The Good Place )。

I used to feel guilty about that, but I’ve learned over the last several years that it’s ok if not everything I do is “educational”. Sometimes, you just need to let your brain chill out and watch the latest episode of some cop/mystery thriller thing that has literally no value outside of entertainment and escape.

我以前对此感到内gui,但是过去几年我了解到,如果我所做的一切都不是“教育性的”,那也是可以的。 有时,您只需要让自己的大脑冷静下来,观看最新的一集警察/神秘惊悚片,那么除了娱乐和逃避之外,这几乎没有任何价值。

1:00pm-4:45pm 1:00 pm-4:45pm

Sometimes, I’ll step out around 3:00pm for 15 minute or so to pick up my kids from school and drop them off at home, but most days my wife is able to do that.

有时候,我会在下午3:00左右出去走走15分钟左右,以便把孩子从学校接走并放到家里,但是大多数时候我的妻子都能做到。

Other days, like yesterday, this afternoon slot gets broken up a bit with meetings. But I still managed to do a deep dive into the wonders contained in a client’s Tealium script in an attempt to help them figure out how to clean it up a bit.

其他日子,例如昨天,今天下午的时间因会议而中断。 但是我仍然设法深入探究客户的Tealium脚本中包含的奇迹,以帮助他们弄清楚如何对其进行清理。

If I were a better planner, I think there could be some real value in keeping these afternoons meeting free. I don’t think I could do it entirely, but I suspect I could at least get away with stacking up the meetings in the morning, say, Monday afternoon while keeping the rest of the week relatively clear.

如果我是一个更好的计划者,我认为保持这些下午的会议自由有一定的实际价值。 我认为我无法完全做到这一点,但我怀疑我至少可以避免在星期一下午参加上午的会议,而让一周的其余时间保持相对清晰。

I’ve always loved Lara’s suggestion to defrag your calendar, but I haven’t committed to it yet. I have a million excuses coming to mind, but then, I also had a million excuses for why I’d never be able to commit to a regular workout schedule and I was able to get that settled so I should probably just shut up and make it happen.

我一直很喜欢 Lara关于整理日历的建议,但我还没有承诺。 我想到一百万个借口,但是后来,我也有了一百万个借口,说明为什么我永远无法遵守常规的锻炼计划,而我却能够解决这个问题,所以我应该闭嘴做一下它发生了。

4:45pm-5:00pm 4:45 pm-5:00pm

I’ve been putting the next day’s tasks into blocks on my calendar. It’s not quite as detailed as Brad, and I tend to leave 10-15 minutes between most tasks, but it’s been working pretty well. I like having the calendar reminders as prompts and I also like knowing I have a plan. Even if a day is fairly chaotic, having a plan makes me at least feel like there is some intent and purpose behind all the chaos. It also helps me to see exactly what I’m giving up if I agree to someone’s last minute meeting request.

我一直把第二天的任务放在日历上。 它不像Brad那样详细 ,而且我倾向于在大多数任务之间留出10-15分钟的时间,但是效果一直很好。 我喜欢将日历提醒作为提示,也喜欢知道自己有计划。 即使一天相当混乱,制定计划也至少会让我觉得所有混乱背后都有某种意图和目的。 如果我同意某人的最后一刻会议要求,这也有助于我确切地了解自己要放弃什么。

5:30pm 下午5:30
constantly playdates and sleepovers. But, we try to do dinner together and most nights that works out. 经常有游戏日期和过夜。 但是,我们尝试一起做晚餐,大多数晚上都可以。

Also, “sitting” is a loose term. Our two-year-old doesn’t exactly get the concept of sitting down for dinner yet and in retrospect we ditched his high-chair too early. It’s not the kind of peaceful “down to dinner” you see on TV. My wife and I want to use the GoPro to record a few of these dinners just so that when they’re older the kids can see just how loud and chaotic (but fun) these dinners were.

同样,“坐着”是一个宽松的术语。 我们两岁的孩子还没有完全坐下来吃饭的概念,回想起来,我们太早抛弃了他的高脚椅。 这不是您在电视上看到的那种和平的“晚餐”。 我和我的妻子想使用GoPro录制其中一些晚餐,以便他们长大后孩子可以看到这些晚餐有多响亮和混乱(但很有趣)。

6:00pm-7:00pm 6:00 pm-7:00pm
This is my time to play with the kids. It’s a wonderful variety. Sometimes it’s wrestling. Sometimes it’s nerf gun battles or pillow fights. Sometimes we bust out some board games or puzzles or legos. And sometimes it’s whatever crazy imaginative game they’ve come up with with their toys. Kids are wonderful at playing, much better than adults. I’m constantly learning from them about what it means to get absorbed in the act of having fun.
这是我和孩子们一起玩的时间。 这是一个很棒的品种。 有时它在摔跤。 有时是神经病枪战或枕头大战。 有时我们会淘汰一些棋盘游戏或拼图或乐高积木。 有时候,这是他们随玩具附带的任何疯狂的富有想象力的游戏。 孩子们的玩耍很棒,比成年人好得多。 我一直在向他们学习如何使自己沉浸在玩乐中。
7:00pm-7:30pm 7:00 pm-7:30pm
The boys go to bed at 7:30pm so about 15 minutes before we switch modes and I help them get their teeth brushed and find their pajamas. Then we sit down and I read to them for 20 minutes or so before I tuck them into bed.
男孩们在晚上7:30上床睡觉,所以大约15分钟后我们才能切换模式,我帮助他们刷牙并找到了睡衣。 然后我们坐下来,我读了20分钟左右,然后才把它们塞进床上。
7:30pm-8:00pm 晚上7:30-8:00
Same thing, only now with the two younger girls. Only they can get themselves ready, so really I’m just reading to them and then tucking them into bed.
同样的事情,只有现在和两个年轻女孩在一起。 只有他们才能做好准备,所以实际上我只是在给他们念书,然后将它们藏在床上。
8:00pm-9:00pm 8:00 pm-9:00pm

We mix it up to keep it fresh. Some nights I read to hear. She loves graphic novels so it’s a lot of that sort of thing or some sort of fantasy novel.

我们将其混合以保持新鲜。 我读了一些晚上听到。 她喜欢图画小说,所以它是很多这类的东西或某种幻想小说。

Other nights, we’ll start watching the Spurs play (that’s the San Antonio Spurs, not the soccer team). She’s getting really into it, and it gives me an excuse to purchase League Pass and watch more basketball, so I am more than happy to encourage it.

其他夜晚,我们将开始观看马刺队的比赛(那是圣安东尼奥马刺队,而不是足球队)。 她真的很喜欢它,这为我提供了购买联赛通行证并看更多篮球的借口,所以我很乐意鼓励它。

Other nights we’ll fire up YouTube and watch old comedy sketches (she likes Abbott and Costello, Lucille Ball, Carol Burnett, and, especially, Tim Conway). And other nights we’ll play some sort of board game together. Once 9:00pm comes around, I tuck her in and head upstairs.

其他夜晚,我们将启动YouTube并观看旧的喜剧速写(她喜欢Abbott和Costello,Lucille Ball,Carol Burnett,尤其是Tim Conway)。 在其他夜晚,我们将一起玩某种棋盘游戏。 晚上9:00到来后,我把她塞进去,然后上楼。

9:00pm-10:00pm 9:00 pm-10:00pm

We usually work together to get the kids’ lunches packed for the next day and then sit down and just chat, or watch a show or something. We’re working our way back through The Office right now.

通常,我们通常在一起工作,以便为第二天的孩子们准备午餐,然后坐下来聊天,看表演或看其他东西。 我们现在正在通过Office工作。

We sometimes watch a movie, but there are some challenges there. For one, neither of us gets super excited about a lot of the movies coming out anymore—we’re more likely to fall back on our favorites than to grab something new most of the time (I suppose that means we’re getting old now). But more critically, movies are very rarely finished in one sitting anymore. Two or three nights is our norm nowadays (like I said, getting old).

我们有时看电影,但那里还是有挑战。 对于一个人来说,我们俩都不会对现在上映的许多电影感到非常兴奋-我们更有可能退回到我们的最爱,而不是大部分时间都去尝试新事物(我想这意味着我们现在已经老了)。 但更关键的是,电影都很少在一个坐着完成了。 如今,两三晚是我们的标准(就像我说的那样,变老了)。

10:00pm-11:00pm(-ish) 10:00 pm-11:00pm(-ish)
Being Mortal) until I start feeling like I might be able to fall asleep. 生命真人》 ),直到我开始觉得自己也许可以入睡。


So there it is. It’s funny—even reading this sounds more neat and tidy than the reality. With the kids’ activities, doctor appointments, random meetings, the stupid siren call of checking email that I still haven’t 100% ignored, and a multitude of other things that pop-up, the reality is that my day very rarely fits into this little routine.

就是这样。 这很有趣-即使阅读这篇文章,也比现实听起来更整洁。 随着孩子的活动,去看医生,随机会议,查看电子邮件的愚蠢警笛呼叫我还没有100%的忽略,那弹出其他千头万绪,但现实是,我的日子很少装配到这个小套路。

Still, I suppose if I wanted to clean it up into one of those neat and tidy routines I always enjoy reading, I probably could (with a few embellishments). But I’ve grown pretty comfortable with admitting that while there is a little structure, my daily routine is, more often than not, beautifully chaotic.

不过,我想,如果我想将其整理为我一直喜欢阅读的那些整洁而常规的例程之一,我可能可以(加上一些修饰)。 但是我已经很承认,虽然结构有点小,但是我的日常工作却常常混乱得很漂亮。

翻译自: https://timkadlec.com/remembers/2020-01-28-daily-routine/

mac 终端 例行

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在Matlab中,画图加大图例行间距可以采用如下三种方法: 1. 使用legend命令: legend命令可以用于添加图例。其中的'行间距'属性可以控制行与行之间的间隔大小。将该属性值调大即可实现画图加大图例行间距。具体方法如下: ```matlab % 生成样本数据 x = 0:0.1:2*pi; y1 = sin(x); y2 = cos(x); % 绘制图形 plot(x, y1, 'r-', x, y2, 'b--'); % 添加图例,并设置行间距 legend('sin(x)', 'cos(x)', '行间距', 2); ``` 在上述代码中,'行间距'属性值被设置为2,即实现了画图加大图例行间距。 2. 使用matlab2tikz工具: matlab2tikz是一种将Matlab图像转换为TikZ/LaTeX格式的工具。使用该工具可以实现更灵活的图形编辑和排版。在matlab2tikz转换后的LaTeX代码中,可以手动调整图例的行间距。具体流程如下: - 安装matlab2tikz工具(详情请参见matlab2tikz的官方网站) - 在Matlab命令行中输入: ```matlab % 生成样本数据 x = 0:0.1:2*pi; y1 = sin(x); y2 = cos(x); % 绘制图形 plot(x, y1, 'r-', x, y2, 'b--'); % 将图像转换为LaTeX代码 matlab2tikz('my_plot.tex', 'height', '\figureheight', 'width', '\figurewidth', 'standalone', true); ``` 在上述代码中,matlab2tikz函数的参数说明如下: - 'my_plot.tex': LaTeX代码存储的文件名; - 'height', '\figureheight': 设定图像的高度; - 'width', '\figurewidth': 设定图像的宽度; - 'standalone', true: 使得输出的LaTeX代码可以单独运行。 3. 在LaTeX中设置图例行间距: 如果使用LaTeX排版文档,也可以通过手动设置图例行间距来实现画图加大图例行间距。具体流程如下: - 调用graphicx宏包,使用'\includegraphics'命令导入Matlab生成的PDF图形; - 在图例环境中使用'\renewcommand{\baselinestretch}{2}'命令,将行间距调整为2。 该方法的具体实现可以参考如下LaTeX代码: ```latex \documentclass{article} \usepackage{graphicx} \usepackage{setspace} \begin{document} \begin{figure}[htb] \centering \includegraphics[width=0.6\linewidth]{my_plot.pdf} \caption{Matlab生成的图形} \label{fig:my_plot} \vspace{1ex} \renewcommand{\baselinestretch}{2} \begin{spacing}{1.} % 设置图例行间距为2倍 \begin{footnotesize} % 缩小图例的字体 \begin{tabular}{rl} \textcolor{red}{$-$} & $sin(x)$ \\ \textcolor{blue}{$--$} & $cos(x)$ \\ \end{tabular} \end{footnotesize} \end{spacing} \end{figure} \end{document} ``` 在上述代码中,通过设置'\renewcommand{\baselinestretch}{2}',将行间距调整为2倍。使用tabular环境生成图例。注意要将表格字体缩小,以免占用过多空间。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值