原创 The State of Web Performance Optimization

http://calendar.perfplanet.com/2010/the-state-of-web-performance-optimization-2010/     1st Dec 2010 The State of W

原创 如何重置mysql root密碼

http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix Resetting the Root P

原创 shell 單元測試庫shunit

http://shunit.sourceforge.net/index.php

原创 windows圖標疊加

  http://timgolden.me.uk/python/win32_how_do_i/add-my-own-icon-overlays.html#asterisk 需要注意,運行程序註冊完之後,需要重啓explorer IsM

原创 Seven habits for writing secure PHP applications

from http://www.ibm.com/developerworks/opensource/library/os-php-secure-apps/index.html When it comes to security,

原创 php如何匹配反斜槓

from http://www.developwebsites.net/match-backslash-preg_match-php/ What is preg_match()? The preg_match() functio

原创 php array的實現

php的array變量在源碼實現中使用的是其實像的HashTable數據結構。   具體步驟大致如下:   對key做hash,得到hash code之後與HashTable的nTableMask字段做&操作,得到bucket的index

原创 carp協議

http://icp.ircache.net/carp.txt   對url做hash   For (each char in URL): URL_Hash += _rotl(URL_Hash, 19) + char ; 對pr

原创 Android開發環境安裝

from: http://yahaitt.iteye.com/blog/453023       創建avd(Android Virtual Device)           在android  sdk 1.5 版本以後的開

原创 php自定義session存儲方式

php session默認是存儲在服務器本地文件中的。當應用的規模大到需要多臺web server支撐時,不同web server之間需要共享session數據,默認的session方案行不通了。php提供了接口可以重寫session的存

原创 data protocol

http://www.ietf.org/rfc/rfc2397.txt     <html> <IMG SRC="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw

原创 php的autoprepend和autoload功能

php提供了auto prepend功能,在php,ini中配置auto_prepend_file選項(全路徑),指定一個php文件,那麼在執行每個php請求之前都會先加載該php文件,相當於在每個php文件前面require了那個文件。

原创 流式計算介紹

MapReduce Hold不住? 作者: baiyuzhong分類:雲計算  閱讀:12,312 次添加評論 文/楊棟 本文系統地介紹和分析比較了業界主流的Yahoo! S4、StreamBase和Borealis三種流式計算系統,希

原创 一個php session 實現的問題

php可以通過session_set_save_handler函數設置回調,通過應用層來實現session數據的存儲和管理。   使用此函數時,有一點需要注意,設置的鉤子函數並不是一次設置,一直有效。在請求結束或者調用session_de

原创 svn快速參考手冊

http://www.cs.put.poznan.pl/csobaniec/Papers/svn-refcard.pdf