Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

会勇禾口王 huiyonghkw

🎯
Focusing
View GitHub Profile
@huiyonghkw
huiyonghkw / default.conf
Last active Oct 10, 2019
Nginx Default Conf
View default.conf
server {
listen 80;
server_name localhost;
root /var/www/localhost;
index index.html index.htm index.php;
access_log /var/log/nginx/log/localhost.access.log main;
View gist:cf134bf07a550d691418b79dad8836f4
###########################################################
###################### General Setup ######################
###########################################################
### Paths #################################################
# Point to the path of your applications code on your host
APP_CODE_PATH_HOST=../
# Point to where the `APP_CODE_PATH_HOST` should be in the container
View git
How to clone a specific Git branch? - Stack Overflow
git clone -b my-branch https://git@github.com/username/myproject.git
@huiyonghkw
huiyonghkw / gist:20b9a903a4115234f36d3d081edf83c3
Created Apr 11, 2017
修改Sublime Text 3 的侧边栏字体大小,字体类型
View gist:20b9a903a4115234f36d3d081edf83c3
http://www.gowhich.com/blog/663
@huiyonghkw
huiyonghkw / macOS Commands
Last active Mar 31, 2017
macOS/Linux commands
View macOS Commands
# brew service list
brew services list
# macOS 查看TCP端口
lsof -nP -iTCP -sTCP:LISTEN
@huiyonghkw
huiyonghkw / .alias
Last active Mar 26, 2017
source ~/.alias
View .alias
alias gs="git status"
alias gpd="git push origin develop"
alias gpm="git push origin master"
alias gcom="git checkout master"
alias gcod="git checkout develop"
alias gb="git branch"
alias gc="git commit -m"
alias gaa="git add ."
alias gpd="git pull origin develop"
alias gpm="git pull origin master"
View .vimrc
syntax enable
colorscheme laravel
"-------------General Settings--------------"
set backspace=indent,eol,start
let mapleader=','
set number
set guifont=Fira_Code_Light:h15
set encoding=utf8
set showcmd
set visualbell