点击打开链接http://code.openark.org/blog/mysql/mysql-joins-on-vs-using-vs-theta-style Read More
// create a virtual host>mkdir -p /var/www/layne.com/document_root>cd /etc/apache2/sites-avaliable>pico -w layne.com 或者 随便建一个文件,用gedit打开,save as layne... Read More
RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] SetHandler php5-script SetHandler ph... Read More
1994 年,由Erich Gamma,Richard Helm,Ralph Johnson和 John Vlissides(即所谓的“四人帮’,GoF:Gang of Four)合作的以《设计模式:可复用的面向对象软件的基本原理》为题目的书藉出版了。这本书解释了模式的用处,同时也使得设计模式得到广... Read More
python-magic点击打开链接https://github.com/ahupp/python-magic/ Read More
Fork a Repo, it's your own.Feel free to commit codes to your own Repo.While everything is done, Pull request from your own Repo to base Repo.The owner... Read More
git update-index --assume-unchanged -- path/to/file# 启用忽略git update-index --no-assume-unchanged -- path/to/file# 停用忽略点击打开链接https://help.github.com/art... Read More
sample :点击打开链接http://www.yihaomen.com/article/python/221.htm如果出现怎么切换语言都不翻译的情况,要确保在settings里设置了LOCALE_PATHS = ( '/home/lein/git/paaam/locale',)不然的话,... Read More
点击打开链接http://www.williamlong.info/archives/837.html点击打开链接http://www.williamlong.info/archives/823.html点击打开链接http://blog.csdn.net/yjflinchong/article/d... Read More
密码认证 和 公私钥 只是2种不同的方式而已。但是每次pull or push 代码的 时候 都要输入密码,让人很头疼。所以还是用公钥私钥的验证方便。2台机器:local & remote//在local上生成公钥私钥对:cd ~/.ssh && ssh-keygen//在.ssh目录下建一个文件夹... Read More