Archive for May, 2015

Update 93: 设身处地

1. 鉴于有个别朋友吐槽我上班扯谈,遂改到下班后扯,变的是时间和地点,不变的是扯到哪算哪的一贯如此的风格和传统;

2. 笔者并不热衷于RPG角色扮演类游戏,而通常喜欢拥有上帝模式视角的诸如三国志 i或部落冲突 ii,虽然有如此偏好,但这似乎丝毫不影响笔者将标题所述的有点类RPG的境界作为一向为人处世的信条;

3. 下午神差鬼使的想了很多事情 (估计回头又有人要吐槽上班瞎想),虽然有些并不是事实却还是感受到了真实的心情,不管是开心还是悲伤;已经不记得是什么事情trigger了我开始乱想的神经,总之一段天马行空的头脑风暴之后得出的结论是,活着真好,珍惜当下!

4. 不管过程多么负能量,至少结果是正能量的,这就够了;

5. 似乎应该点下题,不过已经忘记想说啥了…… 先就这样吧;

[Footnotes]
  1. 三国志今年下半年号称要出13,希望不要和12一样摆烂 []
  2. 笔者最近较为热衷的一个游戏,直接导致我创建了一个优酷账号用来上传打的不错可以用来装逼的部落战视频 []

Morning Coffee Extension for Chrome

扯淡不分国界,说到就要做到;
尽力了就没有遗憾,即便失败,那也是成功的一种;

不忘初心,方得始终;

As the AngularJS learning experiences continues (actually haven’t touched it for a few days…), I started to feel that it’s better for me to actually implement something instead of just reading. Continuous reading without purpose makes people feel bored really quick.

As I also mentioned earlier that it’s time to follow my heart and actually make some changes. So I’ve been thinking a lot of these days, tried to remember things happened in my mind long time ago.

I’ve had this idea for quite a few year… since the first day I transferred to chrome from firefox (should be more than 5 years now..). Before the transfer, I used a firefox plugin called “Morning Coffee” routinely. Once migrated, I miss the functionalities so much that I started to look for its chrome alternative immediately and it turns out to be no luck. So I gave up and thought about writing one myself if the the original author doesn’t do this.

I thought I should give the author some time before I get started… So I’ve waited for several years… that’s long enough, I guess…

Alright, enough background information…
Continue reading →

SublimeTask for both ST2 and ST3

[Introduction]
Check out this introductory post if you don’t know what is SublimeTask.

[Overview]
There is an issue long long time ago, talking about the support for ST3… yeah, long long time ago… I guess I lost a decent number of users during that period of time , due to my laziness… Sorry, thats’ my bad. But now, since I’ve upgraded to use ST3 myself as well, it’s time to make some changes.

It’s been a long time, without you, my friend, and I’ll tell you all about it when I see you again~

[Upgrade]
After this pull request has been merged (wait a few hours if it’s still not merged), you will be able to upgrade it directly in sublime through “Package Control”. If you’re on ST2, nothing needs to be done, everything will still just work fine.

[Report Issues]
Please feel free to report any issues here: https://github.com/samsonw/SublimeTask/issues

Update 92: 自制力 好身体

1. 犹记得当年大学时候自制力超强,虽然挂科很多影响到最后毕业,但不喜欢学的就是不学,说到做到可谓自制力之典范;遥想当年羽扇纶巾,如今显然已经望尘莫及,总是有各种想法却最后无疾而终,想想总是简单,真要到做却各种拖延,最后拖延到忘记初心背道而驰,或是压根就没有开始“驰”;

2. 比如上篇文章所提到的ST3的SublimeTask,其实local早已经做好,就是打不起精神submit pull request到package control,没压力根本就没动力;没了自我控制的意识和能力有时候比图样图森破还可怕,那是一种温水煮青蛙式的慢性谋杀;所以,是时候做点改变了……

3. 还比如如今每天早上到公司都要冲一杯咖啡然后打开各种网页浏览一番,而打开的网页每天其实也就那么几个,以前firefox有个叫morning coffee的plugin就是干这事的,不知道多少年前迁移到chrome之后一直也想自己做一个,这都多少年了…… 所以休帮我谈什么勿忘初心方得始终了,初心偶一直未忘,没行动力还是白搭;所以,真的是时候做点改变了;

4. 很多事情错过了就是过错,于其萦怀叹息不如活在当下说干就干,是的,不要怂就是干;留给中国队的时间,已经不多了;

5. 列下Todo,说干就干,勿忘初心,方得始终;

迎着月色散落的光芒
把古老的歌谣轻轻唱
无论走到任何的地方
都别忘了故乡 i

[Footnotes]
  1. “月光”,羽泉原唱,非常喜欢李健我是歌手的版本,也是鄙人第一次听到的版本 []

From Sublime Text 2 to Sublime Text 3

首先不要问我为啥还在用sublime text 2,这是个有点历史且形而上学的问题,为此我还特地去查看了 sublimeTask 的initial commit date,发现这个历史已经至少3年了;擦,这时间过得还真叫人无法察觉的快,转眼就是三年,不想说什么时光荏苒岁月如梭物是人非时过境迁,虽然这些词语都他喵的条件反射的直接进入了脑海,既然已经不经过大脑都敲了出来,我也懒得删掉了,就这样吧;

所以本博文可以说是outdated的令人发指,基本没有任何值得分享的必要,放此纯粹是作为个人的一个记录;不过话说回来,也许还真有人比我还out也说不定呢,缘分这东西谁又说的清楚呢呵呵;

ok,让我们闲话少说,直奔主题;

[Install Sublime Text 3]
第一步,没啥好说的,你懂得;唯一值得一提的是如果之前不知道何时装过ST3的话(比如笔者),请更新sublime并把其data目录里的内容删掉,os x下该目录在~/Library/Application\ Support/Sublime\ Text\ 3/,对没有看错,里面东西都清了,重动sublime会重新generate新的data进来;

[Migrate Packages]
如果没有以前一堆精心设置调教过的plugin就没有那么多事,当初ST3刚出来的时候没有第一时间migrate过来的原因也是因为大部分plugin/package都还没migrate好;这一晃三年,大部分critical的plugin肯定已经都完事了,这件事情如今竟然变得如此简单,直接copy所有的package过来……

ST2的Package目录是 ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
相应的,ST3的是 ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/

哦,只有俩个例外,一个是Default,这个copy过来会出错因为毕竟是ST2特有的Core,另外一个是Package Control,这个我们接下来会另外安装;所以finder里面copy的时候全选后专门deselect这俩个目录就行了;这件事如今变得如此轻松是我所始料未及的;
Continue reading →