原创 推薦一個學習vim的好地方,作者見解挺深,條例清晰

http://easwy.com/blog/archives/tag/vim/

原创 寫了一個jQuery滑動條插件

https://github.com/liuyanzhi08/jQuery-slider

原创 Set up professional rails3 develpment on ubuntu (part one)

(1)    Download ubuntu iso image from the official site (As recommended , I chose 32-bit )  http://www.ubuntu.org.cn/do

原创 vim map in command-line mode

As the vim wiki tells us, you cann't derectly map <ESC>,  instead you should map <C-c> Official website screenshot:

原创 [哀悼蘆山地震]把網頁變成黑白(谷歌、火狐、ie等瀏覽器兼容)

往css文件裏寫入 html{ filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: gr

原创 sublime text2中文輸入完美解決

試了網上流行的方法scim bridge, 不行。。。來回折騰了很久。。發現這個方法應該是很完美解決的: sudo add-apt-repository ppa:fcitx-team/nightlysudo apt-get update

原创 jquery的相對父元素和相對文檔定位總結

在開發jquery時候經常需要用到定位,這裏概括兩種定位: 1、相對父元素定位(相對於定於父元素的位置): $("#ele").position(),進而得到 left = $("#ele").postion().left   top= 

原创 Rails Production Server @ Nginx + Postgresql + Ubuntu 使用git遠程部署 配置

轉自linux公社 貌似Heroku在國內訪問既慢又不穩定,所以不得已需要自己搭建一臺production服務器。我們的目標是和Heroku類似,直接能夠從開發環境部署並運行。雖然貌似文檔很多,但是還是有很多問題。 ------

原创 Input Chinese in sublime text2 with ibus

Ref: http://www.tipiweb.tk/blog/2012/06/16/little-simple-way-to-use-ibus-in-sublime-text-2/ A small plugin for chinese

原创 Make Ubuntu12.04 become Mac Lion

sudo add-apt-repository ppa:tualatrix/ppa sudo add-apt-repository ppa:noobslab/themes sudo apt-get update sudo apt-g

原创 Set up professional rails3 develpment on ubuntu (part two)

This part I will lead you through the process of setting up RVM, GIT, MYSQL, VIM Above all, lett's install some useful

原创 寫了一個jQuery圖片輪轉插件

http://quchen.cau.edu.cn/jsDev/jquery-gallary/

原创 sublime text2 for ubuntu ( ppa )

Ref: http://www.webupd8.org/2011/03/sublime-text-2-ubuntu-ppa.html Add our Sublime Text 2 Ubuntu PPA using the followin

原创 jquery toggle問題

本文出自:http://blog.csdn.net/liuyanzhi08/article/details/8860042 我想用toggle來切換多個單擊事件,但是js控制檯提示錯誤如下: Uncaught TypeError: Pr