• 今天是中秋节,月儿更加圆,为了美好的明天,应该回头看看

    工作已来快六个月了,这半年生活丰富多彩,也做了许多事情。嗯,我该冷静冷静,回头看看。

    半年来收获最为丰硕的是加入Mingle 的四个月。也是我接触RoR 的四个月,真的很感谢小组的朋友们,包括PC,晓哥,还有QianQian。他们不但让我熟悉了RoR,更能从如何写出好的代码方面上给我提供了许多帮助。所以最近的一个月,我会逐步将一些心得总结出来,回头看看是为了将来走得更远

    在程序方面,还有最近在研究的Python 和PyGame,这要感谢我的TWU 朋友Matty 和Sanjay,他们一个多月前拉我加入一个叫PyWeek 的游戏编程竞赛,我们一起做了一个叫strlen 的游戏,我也贡献了不少代码噢,哇哈哈。这是我们放在Google Code 上的链接 strlen,你们想玩的话,可以去下载来玩玩噢,这是游戏截图

    写游戏,我可是非常感兴趣的,所以以后也会将如何用Python 写游戏的过程,以及如何写出好的游戏代码的心得写出来

    嗯,最近没事的时候还在研究战国和秦国的历史,春秋战国时代是中国文化大爆发的时代,音乐、文学、机关(工匠学)各个方面的人才辈出,只可惜汉代以后,废百家独尊儒家,使得许多值得保留的东西逐渐销声匿迹了。这是中国与西方不同的地方,西方文艺复兴后,科学和艺术大爆炸,从此强盛起来。我对这段历史一直很感兴趣,所以最近研究研究,打算重拾《史记》,再好好研读下正史。之后,也会总结总结的

    最后啦,自然就是最近在学习的钢琴了。现在可以弹一些简单的练习曲了,希望年底会有大得提高吧

    总结看似回头,实际上会让你跑得更快更远

     

  • This blog will be my first English blog, cause my friend Matty who is living in Chicago and aslo a ThoughtWorker asked me to write some blog in English that he can read.

     This blog is about my frequently used Textmate shortcuts, and I will keep adding to the list when I find something new

     Since I have joined Mingle team for more than 2 months, now I can remember some shortcuts and also shortcuts can improve your development speed. But the most import benefit of using shortcuts is that when you are used to it, you can esaily keep on thinking about how to write code instead of stopping for a little while and click mouse to find the code in your IDE project. Now the below is my summary of Textmate's shortcuts for Ruby on Rails.

    ctrl + shift + <    : input html tags
    ctrl + shift + <    : input <% %>
    cmd + ctrl + atl + p    : preview html
    ctrl + alt + cmd + v    : show the recent copies
    cmd + ctrl + r    : show file localtion
    ctrl + shift + v    : show syntax error
    ctrl + alt + cmd + d : hide / show file browser

    ctrl + shift + k    : delete one line
    ctrl + shift + a    : show context menu
    ctrl + shift + f    : search in project
    cmd + t    : find file
    cmd + shift + t    : find method
    ctrl + shift + d    : copy one line
    ctrl + cmd + w   : close all open tabs
    ctrl + l                 : input "=>" symbol (this is expecially good for RoR)

    Second part is the most frequently used shortcuts I found, and the first part is the diffcult ones that I can't remember at first. Haha, I'm slow. Enjoy ! Hoping this can be a little helpful to you