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...

vimium快捷键

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

升级 node

2019-06-25 22:31:00 xhs
npm install -g n --registry=https://registry.npm.taobao.org /usr/local/node-v8.9.4-linux-x64/lib/node_mod...

yii1 获取 SQL

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

pr 压缩视频

2019-03-24 22:40:45 xhs
比特率-》CBR-》比特率选4

典型bash脚本

2019-03-11 14:52:06 xhs
set -o nounset # Treat unset variables as an error read -p "Enter The User...

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...

安装 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...

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 ...