原创 one command to delete all files with name "filename" in current dir and all its sub-dirs

find  path_name  -namefile_name | xargs rm -rf such as, remove all the .git folders in current directory and all its s

原创 config ether (mac) address using ifconfig

ifconfig eth0 hw ether 00:0C:29:36:97:20

原创 How to untar a tar file or gzip-bz2 tar file

from: http://how-to.wikia.com/wiki/How_to_untar_a_tar_file_or_gzip-bz2_tar_file Tar file can come compressed or uncomp

原创 [openflow] openflow source code download

git clone git://gitosis.stanford.edu/openflow.git Note: above is the original openflow implementation by Stanford Unive

原创 grep multiple strings

grep -E 'string|other_string'

原创 Install Haskell on Ubuntu

one command: sudo apt-get install ghc

原创 linux源代碼 net文件夾

1. 6lowpan 6LoWPAN是一種基於IPv6的低速無線個域網標準,即IPv6 over IEEE 802.15.4。 2. 9p 9P (or the Plan 9 Filesystem Protocol or Styx) i

原创 linux profiling tools

Perf -- Linux下的系統性能調優工具,第 1 , 2部分 http://www.ibm.com/developerworks/cn/linux/l-cn-perf1/ http://www.ibm.com/developerw

原创 vim 常用快捷鍵

轉自: http://sundful.iteye.com/blog/1767233 鍵盤移動 (Move) 一切都從鍵盤的移動k -> 上 upj -> 下 downh -> 左 leftl -> 右 rightz -> 重畫屏幕,

原创 config arp reply with sysctl

show sysctl info  sysctl -a config:  sysctl -w net.ipv4.conf.all.proxy_arp=0 sysctl -w net.ipv4.conf.all.arp_announc

原创 Linux Tips every geek should know

ps aux | grep -v `whoami`  列舉出系統中所有不是由你運行的程序 ps aux--sort=-%cpu | grep -m 11 -v `whoami` 列出最佔用時間的前十個程序 ls -lSrh

原创 linux 命令行快捷鍵

http://blog.chinaunix.net/uid-361890-id-342066.html

原创 clojure resources

1. Introductory 1.1 Programming Clojure Authors: Stuart Halloway, Aaron Bedra,  forwarded by Rich Hickey, the creator o

原创 Generate a quick and easy custom pcap file using Python

original article: http://www.codeproject.com/Tips/612847/Generate-a-quick-and-easy-custom-pcap-file-using-P i did a li

原创 十年學會程序設計

頗有切膚之感觸,故轉之 轉自:http://blog.youxu.info/21-days/ 爲何大家如此匆忙? 走進任何一家書店,你會看到書架上一排不見盡頭的放着如 <7天自學Java語言> 以及幾天或者幾小時學會Window