摘要: 1 使用git format-patch生成所需要的patch:当前分支所有超前master的提交:git format-patch -M master某次提交以后的所有patch:git format-patch 4e16 --4e16指的是commit名从根到指定提交的所有patch:git f 阅读全文
posted @ 2018-12-22 23:56 betachen 阅读(4418) 评论(0) 推荐(0) 编辑
摘要: wget qO https://get.docker.com/ | sh 阅读全文
posted @ 2018-01-16 19:26 betachen 阅读(92) 评论(0) 推荐(0) 编辑
摘要: https://gist.github.com/nathanielove/40c1dcac777e64ceeb63d8296d263d6d 阅读全文
posted @ 2017-12-15 12:49 betachen 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 普通用户(非全局)安装nodejs和npm 安装hexo 在库的路径下 ... 这里生成目标html 在库的路径下,配置好主题以后,安装deployer 阅读全文
posted @ 2017-11-15 17:34 betachen 阅读(280) 评论(0) 推荐(0) 编辑
摘要: cx_Freeze for Windows, Linux, and Mac OS X (Python 2.7, 3.x) pyinstaller for Windows, Linux, and Mac OS X (Python 2.7, 3.3-3.5) bbfreeze for Windows a 阅读全文
posted @ 2017-03-16 11:10 betachen 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 填写: 生成公私钥: 填写公钥到github 阅读全文
posted @ 2017-03-14 16:23 betachen 阅读(433) 评论(1) 推荐(0) 编辑
摘要: sudo apt-get update #更新软件源 sudo apt-get clang #安装clang sudo apt-get cmake #安装cmake sudo apt-get install vim #安装vim sudo apt-get install python python-dev #安装Python相关... 阅读全文
posted @ 2017-03-11 17:09 betachen 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 善用 Homebrew 神器啊,少年!Homebrew — The missing package manager for OS X安装完成后打开终端输入: brew install vim --with-lua --with-override-system-vi 啊,你说不习惯用终端 vim,要用 阅读全文
posted @ 2016-12-21 17:04 betachen 阅读(843) 评论(0) 推荐(0) 编辑
摘要: # 手动更新ubuntu的gcc版本方案 add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update apt-get install gcc-5 g++5 ln -s /usr/bin/gcc-5 /usr/bin/gcc -f 阅读全文
posted @ 2016-11-21 12:02 betachen 阅读(3887) 评论(0) 推荐(0) 编辑
摘要: wget https://github.com/xxx/yyy/archive/${commit_hash}.zip 阅读全文
posted @ 2016-10-04 21:12 betachen 阅读(468) 评论(0) 推荐(0) 编辑