Nginx设置反向代理内网服务器/内部端口

7月 26, 2015

Nginx 是一个很强大的高性能Web和反向代理服务器,它具有很多非常优越的特性,本次主要解决Nginx反向代 […]

Read the full article →

Javascript 计算二维数组重复值

6月 24, 2015

有个二维数组 [[\’error\’,3],[\’error\’,5],[\’error\’,6],[\’tr […]

Read the full article →

Vesta使用技巧

5月 27, 2015

Vesta开启文件管理 cat >>/usr/local/vesta/conf/vesta.con […]

Read the full article →

Mac OS 连接SSH自动超时断开

5月 25, 2015

平时我们通过终端连接服务器时,当鼠标和键盘长时间不操作,服务器就会自动断开连接,需要重新连接ssh,解决这问题 […]

Read the full article →

Mac键盘映射工具:karabiner

5月 12, 2015

karabiner可以在普通PC键盘映射mac的按键 实现功能: PC键盘 VS Mac键盘 左 ctrl+w […]

Read the full article →

Git checkout remote branch

4月 27, 2015

/To fetch a branch, you simply need to: git fetch origi […]

Read the full article →

英文Ubuntu系统安装中文支持

4月 9, 2015

安装中文包 sudo apt-get install language-pack-zh-hant langua […]

Read the full article →

Git基础命令整理

4月 4, 2015

安装Git 下载 git OSX 版 下载 git Windows 版 下载 git Linux 版 创建新仓 […]

Read the full article →

已存在文件的项目设置远程Git

3月 24, 2015

场景:已存在的项目目录,设置git信息 方法一: git clone https://myrepo.com/g […]

Read the full article →

git取消修改并恢复版本

3月 22, 2015

#取消对文件的修改。还原到最近的版本,废弃本地做的修改。 git checkout — #取消已经暂存的文件 […]

Read the full article →