Skip to content

Instantly share code, notes, and snippets.

Baohua Yang yeasy

Block or report user

Report or block yeasy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Bash scripts
## Check params number is 1
if [ "$#" -ne 1 ]; then
echo "Number of parameters is not one"
## Check a variable is empty
View .zshrc
export GOPATH=$HOME/Workspace/Go
export PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin"
plugins=(brew catimg colored-man colorize cp d extract git osx pip python sudo virtualenv z zsh-autosuggestions)
You can’t perform that action at this time.