forked from lewagon/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases
31 lines (26 loc) · 1011 Bytes
/
aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Get External IP / local IPs
alias ip="curl ipinfo.io/ip"
alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'"
alias speedtest="wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip"
# Quickly serve the current directory as HTTP
alias serve='ruby -run -e httpd . -p 8000' # Or python -m SimpleHTTPServer :)
# Foreman server
alias s="foreman start -f Procfile.dev"
# Skello
alias sk-server="bin/webpack-dev-Server"
alias sk-yarn="rm -rf node_modules && yarn install"
alias sk-linters="rubocop $(git diff --name-only) --fix && yarn run eslint --fix && yarn run stylelint"
# Github
alias ga="git add"
alias gcm="git commit -m"
alias gpl="git pull origin"
alias gp="git push origin"
alias gco="git checkout"
alias gs="gh pr status"
alias gv="gh pr view"
alias gl="gh pr list --label 'Awaiting feedback'"
alias gc="gh pr checkout"
# Skello folders path
alias sk="/Users/celo/Skello/app"
alias skm="/Users/celo/Skello/mobile"
alias skb="/Users/celo/Skello/punch-clock"