May 2012
6 posts
3 tags
The iOS Text Editor roundup →
May 19th
「优士 Ushi」真你妹的烦人,国内的网络服务就这么让人恶心吗?
起因是前同事给我发了要求,当时就无视了,然后又收到了一封提醒邮件,我在 Twitter 也吐槽过: Ushi.com 还真烦,别人邀请我进去,我不想注册,但是这货一没 deny,二没 unsubscribe,三还定时发邮件提醒你有邀请未处理。Fuck! 然后今天又收到了他们的邮件: 这封信和上一封一模一样,除了 connections 之外。 此外留意一下底部那句话: This is a reminder email in case you didn’t notice the original invitation from XX. Please ignore this if you are not interested and we will not resend it again. 擦!什么鬼「we will not resend...
May 18th
3 tags
HTML 5 应用的用户体验能达到本地应用那么好吗?
知乎上有人邀请我回答一个问题:「HTML 5 应用的用户体验能达到本地应用那么好吗?」。 虽然在用户体验上,HTML5 可以达到一定水准,只是相应地也要做一定的限制/取舍,比如运行平台(Webkit 或对等的内核)。 能达到一定水准的用户体验主要得益于近年浏览器发展迅速带来的新特性,比如: CSS animation, GPU acceleration JavaScript/DOM API improved, e.g. File API Offline storage 但是 HTML5 应用最大的问题(瓶颈所在)却还没有「标准地」解决: 性能 OS 交互 这里有几个例子可以参考 Flipboard 的 web 仿造版 Shiu:HTML5 打造的离线 web book,请用 iPhone 测试 twitter.com icloud.com Gmail...
May 15th
2 tags
May 14th
2 tags
Monokai for Sublime Text: markdown supported
最近一直在用 Sublime Text,但无奈 Color Scheme 太少,虽然有经典的 Monokai,可无法支持 markdown 的高亮。 幸好在 Github 找到了 CrazyApi 写的支持脚本。 因此就根据这段代码改进了一下 Monokai 的 markdown 高亮,有空还要把颜色调整一下。 修改后的主题在这。
May 7th
May 3rd
April 2012
3 posts
3 tags
WordExpander - Typinator or TextExpander 的 Win 代替品
在今年年初 MacUpdate bundle 时入了 Typinator,虽然有些小缺点,但还是挺不错的。 然而最近由于经常用 Win,也需要一款类似的工具,因此找到了 WordExpander。 界面用的是仿 Office 2010 的 Ribbon UI。 其中比较特色的功能是: 自动更正(即伪拼写检查) 比如设置了把 helo 更正为 hello,只要键入 helo 并按下触发的键就自动更正。 这个功能在可以全局拼写检查的 Mac 是没什么意义,不过 Win 对拼写检查支持比较弱,这个功能对码字的人来说还是比较实用的。 一个 shortcut 对应多个 snippets 比如我可以把 gg 分派给 google.com 和 google.com.hk,以供在不同程序里用,然后键入 gg 时会出现一个列表让你选择。 其他的: ...
Apr 26th
2 tags
编辑器之争 & 为什么我喜欢 Sublime Text 2
在知乎被邀请回答「Sublime Text 2 与 TextMate 2 相比有哪些优缺点?」,说实在的,不好回答。 哪个编辑器比较好,其实无解,比如说插件、扩展、bundle,大部分都有,Windows 独占的 Notepad++ 也有(虽然社区不温不火)。说特色功能嘛,各自都有。说性能嘛,也各有千秋,比如 Vim、Emacs 光标在大段压缩后的文本里游走时就很吃力(会让你以为挂了)但打开大文件又很轻松,而 Sublime 很优秀,Notepad++ 能应付但打开就很慢。 所以,停止对比,按以下步骤去挑适合自己的: 去看官网的介绍、功能列表、视频,直到你碰到感兴趣的亮点,下载回来,安装,基本都有试用期,够你玩了 把玩一下你感兴趣的亮点(不适应快捷键?不适应操作?先忽略,后述) 对亮点还算满意的话,去对应的社区看看怎么调教它(一般找别人公开的配置包是捷径) ...
Apr 19th
2 tags
Sublime Text 2 OS X Command Line
Sublime Text 2 contains a command line tool, called subl, with this binary file, you can open a folder or a file with its parent folder as opening project in new window. For example, after you run the following command: # inside my-webapp/ subl . # or subl index.html . Sublime will open a new window that contains a sidebar with folder my-webapp/. To use subl is quite easy, create a bin/...
Apr 5th
March 2012
9 posts
2 tags
更改 Mac 键位的功能 -- KeyRemap4MacBook
把 MBP 的光驱换成 SSD 之后,Eject 键就显得很多余了,让它就那么空着很不符合键盘党的效率需求,加之我把 F1~F12 换成了标准用途,要是能把 Eject map 成另外的键,那就方便很多,Google 后找到了这款:KeyRemap4MacBook。 如图上设置,只要按下 Eject 就相当于按下 Expose,而不是弹出光驱。 当然这款软件的功能不只这么简单,还带有 Vi/Emacs Mode、针对一些功能的设置,甚至还有为 PC 或特定语言用户的设置,相当强大。 PS:因为 Eject 键需要按下去一两秒才能触发,所以推荐安装该作者的另一款软件来解决延迟:NoEjectDelay。
Mar 30th
3 tags
Rime - 一個不錯的輸入法
今天在 Twitter 上有不少人在推薦 Rime,因此萌生興趣。 在簡單試用之後,發現確實不錯,輸入流暢度比起 QIM 和 FIT 都要好很多,而且似乎長句輸入也有一定的優勢。 不過對我而言,更重要的是開源,源碼公開的話,會讓人比較放心,並且是跨平臺的。 對於 Mac 版本,暫時還沒有配置窗口,因此也就無法進行更多的設置,作者似乎是臺灣人,所以暫時只能輸入繁體。 這篇文章就是用 Rime 打的,如果想瞭解更多,可以閱讀推薦一個神級輸入法——Rime。
Mar 15th
1 tag
A Visual Git Reference →
It’s the easiest way to understand how Git works, for example, what are stage, working copy and history.
Mar 13th
告別「日本第一」傳奇 大國墜落 高素質人民 縱容出最無能政客與政府 -... →
Mar 13th
2 tags
LLVM 4.0 带给 ObjC 的新语法 →
NSArray Literals array = @[ a, b, c ]; equals: array = [NSArray arrayWithObjects:a, b, c, nil]; NSDictionary Literals dict = @{ k1 : o1, k2 : o2, k3 : o3 }; equals: dict = [NSDictionary dictionaryWithObjects:@[o1, o2, o3] forKeys:@[k1, k2, k3]]; NSNumber Literals NSNumber *number; number = @'X'; number = @12345; number = @12345ul; number = @12345ll; number = @123.45f; number =...
Mar 12th
4 tags
从 Google Reader 发送文章到 Readability
Readability 在早前宣布了对所有用户取消限制,并且在三月一日发布了免费的 iOS 客户端。 由于在早前试用 Instapaper 是发现其文章处理算法不如 Read It Later,所以当时入了 RIL。随后发现 RIL 开发进度缓慢,在 iPad 2 上有莫名其妙的 bug,并且不少文章也处理不了。因此很期待 Instapaper 降价。 不过在 Readability 发布后,经常短暂试用,果断从 RIL 跳到 Readability: UI 漂亮很多 网页和客户端的阅读体验非常好 能处理的页面也多很多 不过由于有一部分文章来源还是通过 Google Reader 获取,而在 Win 下是没有像 Reeder 那样的好的工具,只能继续试用网页端,而发送到 Readability 的话,可以通过 GR 自带的 Send To 功能: Name:...
Mar 4th
2 notes
4 tags
1Password is better than others
I decide to use 1Password to manage my passwords. Why not use LastPass or KeePass? They’re free. Here’re my reasons: 1Password has a better solution for autofilling web forms than KeePass. Unlike LastPass, 1Password saves your database on local, which means you can control it by yourself, its stability and security do not depend on the server. 1Password supports attachments,...
Mar 4th
1 note
4 tags
「Fate/Stay Night」补完 & 纪念吾王
终于看完了这部 2006 年的动画,虽然让我补的动力是「Fate/Extra」里的ネロ。 经历第四次圣杯战争,满怀遗憾再次参战的亚瑟王アルトリア,仍然是不变的愿望,仍然自责。 否认自己王的资格,而又以王的身份孤身前进。 在第五次圣杯战争里,她终于走出了这个阴影,放下了这个负担。 即使结局是毁灭,她对此无怨无悔。 也因此,原谅了自己。 可是迎来的结局,却不是俗套的大团圆。 最后アルトリア回到她所在的时代,在ベディヴィエール的陪伴下,静静地长眠了。 虽然我由衷地希望她能幸福地活下去,不过,带着美梦睡去,也算是一种幸福吧。 我,想起来了 在发誓将承担王的职责后我才拿起那把剑 放弃了很多东西,并为着人民而战 我无怨无悔 只要能为自己的一生感到骄傲 即使最后的结局是毁灭,也不能要求重新来过 王,保护了国家 ...
Mar 3rd
“It’s fine to disagree, it’s fine to push back, it’s great to have strong...”
– Give it five minutes
Mar 1st
February 2012
10 posts
2 tags
Feb 29th
1 note
2 tags
Feb 16th
6 notes
1 tag
Feb 15th
1 tag
Feb 14th
“I’m speaking to you now from behind a pair of FAKE Ray-Bans, wearing a FAKE...”
– Top Gear 中国行中英文字幕 S18E02
Feb 13th
“我感到极度的幸运,能这样的生活,去发现我的热情所在,去做每天我喜欢做的事情。你可以看出,大部分我现在的境遇并非偶然或侥幸,这是计划,追求,工作的结果。”
– 旅行,写作,编程
Feb 12th
2 tags
PNGGauntlet - a Windows alternative to ImageOptim →
Feb 10th
1 tag
Feb 7th
“一、即使你内心已经明确地知道你想要什么,依然会有一些更为社会认同的东西来诱惑你,要永远记得坚持。二、如果你坚持了,你一定会经历一个学习自己写程序的过程,这个过程会...”
– 给明年依然年轻的我们:欲望、外界、标签、天才、时间、人生目标、现实、后悔、和经历
Feb 7th
“打开你的视野,你会发现有太多经历和体验可以让你去换取。但你的时间银行里每天只存了24个小时。你可能以为你还有一辈子的时间去做一些你想做的事,但事实是,没有人可以保...”
– 给明年依然年轻的我们:欲望、外界、标签、天才、时间、人生目标、现实、后悔、和经历
Feb 6th
January 2012
3 posts
1 tag
Jan 12th
1 tag
Crunch - LESS editor and compiler that based on... →
Crunch is the first app for writing and compiling LESS that I’ve ever saw. Its advantages: Better syntax highlight Better indentation More friendly error message Basic functions for project, e.g. open folder, folder tree Cross-platform Coz it’s still under development (current is 1.1 beta), be ware of: No real-time compilation Worse performance than others No code...
Jan 12th
4 notes
2 tags
乔布斯追悼漫画 →
希望乔布斯如结尾那样,在天堂能继续做他喜欢做的事。
Jan 7th
December 2011
9 posts
3 tags
The built-in debugger in Firefox 10.0
I tried the built-in debugger in Firefox 10.0, it looks not bad, but it can’t be used in development right now. It only support inspecting HTML & CSS It only support editing CSS It can display multiple colors for IDs, tags and classes while inspecting NO JavaScript debugger NO CSS autocomplete After inspect element, you only can use ESC or close button to close inspector layer ...
Dec 29th
65 notes
3 tags
MHP3G 体验版试玩
卡普空在 12 月 7 日发布了 MHP3G 的体验版供猎人们试玩。 分别用大剑讨伐了一次白兔兽、太刀打了一次水龙,还有把 3D 效果开到最大、双刀讨伐了一次白兔兽。 画面感觉比起 PSP 上的 MHP 稍微差了一点,颜色比较亮、白,不知道是不是和设置有关(NDS 游戏没这问题,我也不是很熟悉 3DS)。 开满 3D 效果后,战斗画面很带感,但是可视范围是个问题,角度偏了一点的话,画面的变动可能会引起失误。 至于下部的触摸屏附件倒是蛮贴心,放置了地图,道具和踢的按键还有 BOSS 的标示。 只是地图倒没有 PSP 版那么好了,因为视线要往下移,而且地图的清晰度不如 PSP 版,视线离开了画面,可能会造成危险。 最重要也最让人关心的视角调整功能做得差强人意。 首先 3DS...
Dec 18th
2 notes
3 tags
Enqueue - An elegant playlist-based music player... →
Enqueue uses less memory than iTunes and much more faster than iTunes. It also supports Growl notification, and shares rating information with iTunes.
Dec 15th
2 notes
1 tag
DiskWave - a simple, clean and free disk usage... →
Dec 12th
2 tags
Clearly - My favorite Chrome extension for... →
Dec 8th
12 notes
1 tag
Dec 8th
1 note
2 tags
classList - manipulating element's classes with...
In the past, if we wanna manipulate an element’s classes, we have to use class attribute and className property. Because of they’re strings, which means less efficiency and performance. Although we have third-part libraries to work around it, e.g. jQuery.hasClass or jQuery.addClass, but it’s still less efficiency. But now, element.classList comes: This property...
Dec 7th
15 notes
Virushuo: 为什么我不会再更新twitter了 →
virushuo: 我不是一个胆怯的人,也并不需要别人支持我做什么。但我不喜欢人们不愿表达自己的看法,不喜欢人们的沉默。我在互联网活动的历史,就是表达自己思想的历史,从fido到blog到twitter,都是如此。互联网生来就是为了人们的表达,如果不表达,这一切都毫无意义。 当年初到twitter,为之欣喜。历史上前所未有的快速交流工具,没有审查,人们可以尽情表达自己的看法。没有比这更重要的事情了。几年过来,到今天我发现错了。最近的几次争吵中,愿意表达自己看法的人少之又少。就说我和花落去这场争吵,只有 @xiaolai 和 @liumiao…
Dec 6th
2 notes
1 tag
Dec 5th
1 note
November 2011
16 posts
2 tags
Agenda Calendar - Beautiful Calendar for iOS →
Before I met Agenda Calendar, I were using Week Calendar. But unfortunately, Apple had asked them to redesign the interface on the ground of interface similar with iOS built-in calendar, and the new design is become ugly. So that I decided to find a new calendar. After searching, I chosen Agenda for: Clean and beautiful design Price is great, only $.99 And it’s an universal app.
Nov 29th
2 tags
Cutest CSS3 Demo - Akiyama Mio
Rei drew a Akiyama Mio by pure CSS3 with animation. You can view it here. It looks pretty good.
Nov 25th
2 notes
5 tags
Moving to iOS Reminders
Since iOS 5, we can use a built-in Reminders that integrated with iCal. Although it’s not a full-featured GTD tool, I still choose Reminders for the following reasons: iCloud sync and push notification. Automatically sync to all your devices in background, no need to open app to sync. Good integration with Notification Center. Tasks will automatically show up in Notification Center....
Nov 25th
10 notes
3 tags
Bitbucket rocks!
Bitbucket announced to support Git since Oct 3rd, and they also provides a good tool for Git, SourceTree. So I decided to move to Bitbucket from GitHub. On Bitbucket, I can create private repositories for free as much as I need, so that I can host my working stuffs which cannot public on it. It’s also suitable for small team collaboration (5 private members for free account).
Nov 24th
8 notes
2 tags
CSS3 Tricks
‘cubic-bezier’ timing function `transition: time property cubic-bezier(p1, p2, p3, p4);’ Flexible ellipses border-radius: 200px / 150px; or border-radius: 50%; pointer-events pointer-events: auto; Detecting ‘pointer-events’ (via verou.me): var supportsPointerEvents = (function(){ var dummy = document.createElement('_'); ...
Nov 21st
1 note
4 tags
Markdown Compiler Comparison
Consider we have the following code: [test](http://domain.com/test_(test)) [test](http://domain.com/test_(test\)) [test](http://domain.com/test_\(test)) [test](http://domain.com/test_\(test\)) What we get from Github is: Tumblr: Mou: In fact, I’m much more prefer to use Tumblr’s compiler, think about this in programming language such as JavaScript: var str =...
Nov 21st
12 notes
3 tags
How to upgrade Git if using Xcode 4
Apple integrated Git into Xcode since version 4, and the Git will be installed into /usr/bin. In Xcode 4.2.1, it’s 1.7.5.4, far behind the latest (1.7.7.4). It’s inconvenient to upgrade it. The solution is install new version manually, e.g. by homebrew. Then add your Git installation path to $PATH, make sure it’s before /usr/bin: export PATH=/usr/local/bin:$PATH If...
Nov 21st
12 notes
2 tags
Nov 19th
1 note
Keka is available on Mac App Store
Keka is my favorite file archive and unarchive tool for Mac OS X, and now, it’s available on MAS for $1.99. But you still can get it for free on its web site, and new version will be both availble on the web and MAS. Short introduction: Compression formats supported: 7z, Zip, Tar, Gzip, Bzip2 Extraction formats supported: RAR, 7z, Lzma, Zip, Tar, Gzip, Bzip2, ISO, EXE, CAB, PAX,...
Nov 19th
New domain: chris.gd
I bought a new domain chris.gd today, and it’ll be available in half a day. And this domain kuroc.at will be redirect to chris.gd in the future till it’s expired.
Nov 19th