yii1 获取 SQL

2019-02-22 18:02:18 xhs
$db = Yii::app()->sjbdb; $ids = $db->createCommand() ->select('uid, crmid') ...

bash support 快捷键

2019-02-02 15:43:33 xhs
\sc – case in … esac (n, i) \sei – elif then (n, i) \sf – for in do done (n, i, v) \sfo – for ((…)) do ...

java 内存溢出排查

2019-05-15 17:51:00 xhs
在开发环境把运行内存调小 -XX:NativeMemoryTracking=summary -Xms128m -Xmx128m -XX:MaxDirectMemorySize=64M 让它溢出,根据报错的调用...

scp传输报错

2019-05-15 10:17:01 xhs
The authenticity of host '[192.168.1.154]:10086 ([192.168.1.154]:10086)' can't be established. RSA key fi...

openssl生成证书

2019-03-21 16:33:09 xhs
[root@to8to cert]# openssl genrsa -des3 -out pc_xiaohuasheng_com.key 1024 Generating RSA private key, 102...

centos 改网络配置

2019-02-22 10:55:10 xhs
/etc/sysconfig/network-scripts/ifcfg-enp0s3 #换成固定IP TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no ...

vimium快捷键

2019-05-21 10:55:49 xhs
书签搜索,b 书签,历史记录搜索, o, O 刷新页面, r

git fetch 和 pull 区别

2019-05-14 15:06:12 xhs
git pull == git fetch + git merge git fetch origin master git log -p master..origin/master git merge or...

安装 es head

2019-04-09 16:28:33 xhs
git clone git://github.com/mobz/elasticsearch-head.git cd elasticsearch-head 在windows的cmd窗口运行 npm ins...