Last active
February 8, 2020 14:01
-
-
Save amin3mej/99ed3764a6062843ce82a3c341053e3a to your computer and use it in GitHub Desktop.
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
cdp () { | |
cd ~/Projects && cd $1 | |
} | |
dl (){ | |
aria2c -c -x16 -s16 $1 | |
} | |
alias c='sudo openconnect --cafile ~/cert/ca.crt --certificate ~/cert/dinner-loop.p12 --key-password 'confirm.traffic.jacket' --pfs 94.130.39.16:4443 -b --pid-file=$HOME/.openconnect.pid' | |
function dc() { | |
sudo kill -2 `cat "$HOME/.openconnect.pid"` && rm -f "$HOME/.openconnect.pid" | |
sleep 3 | |
sudo ifconfig en7 down | |
networksetup -setairportpower en0 off | |
sudo ifconfig en7 up | |
networksetup -setairportpower en0 on | |
} | |
alias ud='docker-compose -f docker-compose.dev.yml up -d' | |
alias rud='docker kill $(docker ps -q) && docker-compose -f docker-compose.dev.yml up -d' | |
alias ed='docker-compose -f docker-compose.dev.yml exec app bash -l' | |
alias sd='docker-compose -f docker-compose.dev.yml stop' | |
alias rl='react-native log-android' | |
alias rr='react-native run-android' | |
alias ri='react-native run-ios' | |
alias adbrev='adb reverse tcp:8081 tcp:8081' | |
alias code.="code ." | |
export PATH=$PATH:/Users/amin/java/maven/bin | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/Contents/Home | |
export ANDROID_HOME=$HOME/Library/Android/sdk | |
export PATH=$PATH:$ANDROID_HOME/emulator | |
export PATH=$PATH:$ANDROID_HOME/tools | |
export PATH=$PATH:$ANDROID_HOME/tools/bin | |
export PATH=$PATH:$ANDROID_HOME/platform-tools | |
export PATH=$PATH:/Users/amin/development/flutter/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment