2017-09-01 geekspeng
删除/usr/local/lib中的所有node和node_modules的文件夹 $ cd /usr/local/lib $ sudo rm -rf node $ sudo rm -rf node_modules 继续阅读 »
2015-11-06 wansong
安装 参考官网的步骤进行安装配置 使用froever-service将系统部署成服务 $cd PATH/node_modules/mongo-express $sudo forever-service install mongo-express -s app.js $sudo forever-service delete mongo-express 继续阅读 »
2015-07-31 summer
1、yum install libjpeg-devel gcc gcc-c++ zlib-devel bzip2-devel openssl-devel xz-libs 2、下载python最新版2.7.10解压缩后进行安装 ``` tar -zxvf Python-2.7.10.tgz cd Python-2.7.10/ ./configure --prefix=/usr/local make all make install make clean make distclean 继续阅读 »
2013-11-14 blademainer
建立项目-Repository 首先在 GitHub 上建立自己库,例如一个 test 库; 接着在本地建立 test 库的连接: Global Setup: Set up git git config --global user.name "yourname" git config --global user.email "yourmail" Next steps: mkdir Test cd Test git init touch README git add README git commit -m 'first commit' git remote add origin git@github.com 继续阅读 »
2016-07-16 ruki
首先我们通过内置的工程模板创建一个空工程: ```bash $ xmake create -P ./hello create hello ... create ok!👌 ``` 这个时候xmake将会产生一些工程文件,如下: ```bash $ cd ./hello $ tree . . ├── src │   └── main.c └── xmake.lua ``` 这个简单的程序仅仅只是为了打印输出: hello xmake! ```bash $ cat ./src/main.c include int main(int argc, char** argv) { printf("hello xmak 继续阅读 »
2016-07-16 ruki
We create an empty console project first: ```bash $ xmake create -P ./hello create hello ... create ok!👌 ``` And xmake will generate some files: ```bash $ cd ./hello $ tree . . ├── src │   └── main.c └── xmake.lua ``` It is a simple console program only for printing hello xmake! ```bash $ cat ./src/main.c incl 继续阅读 »
2015-07-17 YongHao Hu
git
活用git rebase -i 就可以解决绝大部分补丁整理的问题。 假如我们有以下补丁: ========= commit 03bb9a14f5ea00d51d2edc14587b37b1ab9ccf5d Author: YongHao Hu christopherwuy@gmail.com Date: Fri Jul 10 17:23:02 2015 +0800 msvcp110: Add tr2_sys__Unlink implementation and test. commit 24137cd93c783ced61ca152cb4384287e6859ba4 Author: YongHao 继续阅读 »
2016-07-19 ruki
Install on windows Download xmake source codes Enter the source code directory Run install.bat Select the installed directory and enter into this directory Please wait some mintues Install from source codes on linux and macosx bash $ git clone git@github.com:waruqi/xmake.git $ cd ./xmake $ sudo ./install Install us 继续阅读 »
2016-03-22 AnnatarHe
想做SPA就快上车! init 首先要起一个项目,推荐用vue-cli安装 $ npm install -g vue-cli $ vue init webpack demo $ cd demo $ npm install 继续阅读 »
2015-10-22 demon7452
Redis服务器搭建 安装 在命令行执行下面的命令: $ wget http://download.redis.io/releases/redis-3.0.5.tar.gz $ tar xzf redis-3.0.5.tar.gz $ cd redis-3.0.5 $ make 继续阅读 »