This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# brew service list | |
brew services list | |
# macOS 查看TCP端口 | |
lsof -nP -iTCP -sTCP:LISTEN | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.gowhich.com/blog/663 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to clone a specific Git branch? - Stack Overflow | |
git clone -b my-branch https://[email protected]/username/myproject.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################### | |
###################### 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |