Last active
January 29, 2021 10:19
-
-
Save chienpm304/7fe638c414f87477873ef5cfb0efadee to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#-------------------------- | |
# Generate folder and file to take note every time I read a article | |
#-------------------------- | |
alias blog='cd /Users/foody/Documents/blogs;bash ./script.sh $1' | |
#-------------------------- | |
# Simulate notification push | |
#-------------------------- | |
alias pushnoti='xcrun simctl push 187777A4-9449-45F4-924D-0335854E8996' | |
#-------------------------- | |
# Delede derived data | |
#-------------------------- | |
alias xcdd='rm -rf ~/Library/Developer/Xcode/DerivedData/' | |
#-------------------------- | |
# Git allias | |
#-------------------------- | |
alias ga='git add' | |
alias gaa='git add .' | |
alias gss='git status --short' | |
alias gst = 'git stash' | |
alias gl='git log' | |
alias glo='git log --oneline' | |
alias glg='git log --graph --oneline --decorate --all' | |
alias gpushf='git push origin -f' | |
alias gpush='git push origin' | |
alias gcm='git commit -m' | |
#-------------------------- | |
# Git log find by commit message | |
#-------------------------- | |
function glf() { git log --all --grep="$1"; } | |
#-------------------------- | |
# Navigation | |
#-------------------------- | |
alias nmc='cd /users/foody/nowmerchant-ios' | |
alias tsf='nmc;cd scripts;ruby language.rb' | |
alias ..='cd ..' | |
alias nmcxc='nmc;open NowMerchant.xcworkspace' | |
alias bashud='source ~/.bashrc' | |
alias bashed='vim ~/.bashrc' | |
#--------------------- | |
# Open web | |
#--------------------- | |
alias gg='open https://www.google.com' | |
alias fb='open https://facebook.com' | |
alias yt='open https://youtube.com' | |
alias todo='open https://app.asana.com/0/.../list' | |
alias api='open https://docs.google.com/document/.../edit' | |
alias jenkin='open https://jenkins.prod.now.vn/...' | |
alias jr='open http://jira/.../?filter=13174' | |
alias tsfw='open https://transify.seagroup.com/resources/220' | |
alias msg='open https://www.facebook.com/messages/t/' | |
alias mr='open https://git.../merge_requests' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment