Perl 6

RT @http://www.mail-archive.com/[email protected]/msg01462.html Parrot 是用 C 编写的面向动态类型的语言的虚拟机。在性质上,和 JVM 1 和 CLR 2 属于同一类东西,但后两者面向静态类型的语言(虽然 Python 这样的动态语言也有 JVM 的 port,但无疑是很低效很 ugly的做法),且在字节码级别上是面向栈的。Parrot 中是 和真实世界中的 x86 指令集一样面向寄存器的,当然,Par...

2010-11-30 · wuan

胎记

我一个人到了皮研所,直接挂了外科号,老医生看了以后说要做手术。我听那意思就是立 即办入院手续,当天就带我开刀。我心想这快的也太吓人籁,人家还没做好思想准备呢, 怎么也要先和家里人说一声,再向公司请个假什么的唉,这又不是割双眼皮。 跟公司请了两个礼拜的假,跟我妈一块,还是那个老医生,说的...

2010-11-08 · wuan

在脚本中使用 Vim Script [批]处理文件

RT @http://superuser.com/questions/22455/vim-what-is-the-ex-mode-for-batch-processing-for Ex-Mode is mostly for performing the same action on a number of files. Say you have 25 .html files all with: <a href="/home.html"> ... Instead of opening each one of those, you could use Ex-mode to change it all to index.html: vim -E -s bob.html <<-EOF %substitute/home.html/index.html/ update quit EOF PS @http://tinyurl.com/2f7dpgg > also, make sure that last "eof" begins at the first column. If it > doesn't, the "here doc" won't recegnize it. You should really quote some relevant text from the previous post… Also, the “eof” marker in a heredoc does NOT have to start in the first column, if you use this syntax, leading tabs will be stripped: some_command <<-eof blah blah blah eof Note the “-e” after the “«”… Kevin

2010-09-20 · wuan

s60 双向同步 Google 日历

RT @http://mooninsky.net/sync-google-calendar-with-s60-mobile-phone 创建 GooSync 账号 登陆GooSync主页,注册一个GooSync帐号; 进入自己的邮箱等待激活邮件,激活后登陆; 选择对应自己的手机型号; 确认同步日历,并且同意Goosync对于你的google 日历的访问授权; 填写手机号码,等待配置短信发过来; 接收短信,左软键选择选项->保存配置,...

2010-09-19 · wuan

村上春树

说: 我一直以为人是慢慢变老的,其实不是,人是一瞬间变老的。 说: 在某种情况下,一个人的存在本身就要伤害另一个人。 说: 突然,遇到一个百分之百的女孩。 说: 在一堵坚硬的高墙和撞向他的鸡蛋之间,我会永远站在鸡蛋这一边。 说: 希望你下辈子不要改名,这样我会好找你一点。有时失去不是忧伤,而是一种...

2010-09-17 · wuan