原创 Apache與nginx

http://www.cnblogs.com/huangye-dream/p/3550328.html

原创 expect遠程登錄

#!/usr/bin/expect -f   set user root   set host 192.168.2.186   set passwo

原创 gin中的斷言寫法

函數定義 func assert1(guard bool, text string) { if !guard {panic(text)}} 調用 assert1(path[0] == '/', "path must begin with

原创 php依賴注入相關理解

https://phphub.org/topics/789 laravel容器 點贊 收藏 分享 文章舉報 slimshadyy 發佈了80 篇原創文章 · 獲贊 7 · 訪問

原创 restful

http://www.ruanyifeng.com/blog/2011/09/restful

原创 golang post取參數的一些問題

在成熟的語言java、python、php要獲取這些參數應該來講都非常簡單,過較新的語言golang用獲取這些個參數還是費了不少勁,特此記錄一下。 golang版本:1.3.1 在貼代碼之前如果能先理解一下golang http.

原创 php閉包相關理解

http://www.cnblogs.com/yjf512/archive/2012/10/29/2744702.html

原创 java bridge

nohup /usr/bin/java -jar /usr/java/jdk1.7.0_80/lib/JavaBridge.jar SERVLET:1234 >/tmp/java.log 2>&1 & /usr/java/jdk1.7.

原创 Mac寫c、編譯運行

test.c #include<stdio.h> #include<ctype.h> int main(){char s;printf("input plz\n");scanf("%c",&s);if(!isspace(s)){prin

原创 jquery阻止子元素觸發父級事件的傳播

e.stopPropagation(); 點贊 收藏

原创 java bridge相關

java -verbose 查看java jdk路徑 ps aux|grep java 結束原有進程 jar包位置 /usr/java/jdk1.7.0_80/jre/lib/ext/cmb.jar nohup /usr/bin/ja

原创 mamp裝swoole擴展

需要pcre http://sourceforge.net/projects/pcre/files/pcre/8.36/ brew安裝無效 需要手動下載 然後 ./configure make sudo make install 下載s

原创 git強行換分支 gitpull問題解決

強行: git fetch --all git reset --hard origin/master 出現的問題: You asked me to pull without telling me which branch you w

原创 innodb與myisam

http://www.cnblogs.com/zhangchaoyang/articles/4214237.html

原创 select poll epoll

http://www.cnblogs.com/Anker/p/3265058.html