原创 tcmalloc使用說明
http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools TC Malloc: gcc [...] -ltcmalloc Heap Checke
原创 shell編程中使用數組
聲明 declare -a arr 賦值 arr[1]=one arr['a']=1 引用 val=${arr['a']} 刪除 unset arr['a'] 求長 len=${#arr[*]} 拷貝 newarr=
原创 使用pycurl上傳文件
import pycurl url = "http://www.xxxxx.com/upload.php" field = "uploadFile" file = "/home/rare/tmp/a.py" c = pycurl.Cu
原创 Foreign function interface
http://en.wikipedia.org/wiki/Foreign_function_interface http://sourceware.org/libffi/
原创 web測試工具--HTTP LOAD
http://www.acme.com/software/http_load/ http_load runs multiple http fetches in parallel, to test the throughput of
原创 Scalable System Design Patterns
http://horicky.blogspot.com/2010/10/scalable-system-design-patterns.html Looking back after 2.5 years since my previo
原创 chrome瀏覽器設計文檔
https://sites.google.com/a/chromium.org/dev/developers/design-documents Multi-process Architecture This documen
原创 The Full Stack
http://calendar.perfplanet.com/2010/the-full-stack/ Dec 2010 The Full Stack by Carlos Bueno One of my most vi
原创 web測試工具--Apache AB
http://httpd.apache.org/docs/2.0/programs/ab.html ab - Apache HTTP server benchmarking tool Available Languages: e
原创 編程刷新explorer
from win32com.shell import shell, shellcon def notify(f): shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM, shellcon
原创 bash自動補全定製
_known_host() { local cur prev hosts COMPREPLY=() cmd="${COMP_WORDS[0]}" cur="${COMP_WORDS[COMP_CWORD]
原创 php拓展開發-教程
http://docstore.mik.ua/orelly/webprog/php/ch14_01.htm
原创 gprof使用說明
http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html gcc使用 -pg 參數編譯程序 gcc -o test test.c -g -pg 編譯成功後運行程序,會在當前目錄下生
原创 python調用第三方模塊
http://docs.python.org/library/ctypes
原创 php使用curl上傳文件
http://dtbaker.com.au/random-bits/uploading-a-file-using-curl-in-php.html Uploading a file using Curl in PHP Here's h