Skip to content

Instantly share code, notes, and snippets.

View huiyonghkw's full-sized avatar

会勇禾口王 huiyonghkw

View GitHub Profile
@huiyonghkw
huiyonghkw / .vimrc
Last active January 23, 2017 09:59
.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
@huiyonghkw
huiyonghkw / .alias
Last active March 26, 2017 03:14
source ~/.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"
@huiyonghkw
huiyonghkw / macOS Commands
Last active March 31, 2017 16:32
macOS/Linux commands
# brew service list
brew services list
# macOS 查看TCP端口
lsof -nP -iTCP -sTCP:LISTEN
@huiyonghkw
huiyonghkw / gist:20b9a903a4115234f36d3d081edf83c3
Created April 11, 2017 10:39
修改Sublime Text 3 的侧边栏字体大小,字体类型
http://www.gowhich.com/blog/663
@huiyonghkw
huiyonghkw / git
Created January 10, 2018 08:22
git
How to clone a specific Git branch? - Stack Overflow
git clone -b my-branch https://[email protected]/username/myproject.git
@huiyonghkw
huiyonghkw / gist:cf134bf07a550d691418b79dad8836f4
Last active August 10, 2019 08:19
laradock.env国内版本
###########################################################
###################### 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
@huiyonghkw
huiyonghkw / default.conf
Last active October 10, 2019 03:03
Nginx 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;