Skip to content

Commit db05717

Browse files
committed
updated alias
1 parent 036db36 commit db05717

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

alias.txt

+9-3
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@ alias gmps="git push --recurse-submodules=on-demand"
2727
alias gmpl="git pull --recurse-submodules"
2828
alias gitclone="git clone"
2929
alias git-drop-commit="git_drop_commit"
30+
alias grbi="git rebase -i"
31+
alias gfall="git fetch --all"
32+
alias gitchk="git checkout"
3033

34+
# language aliases
35+
36+
alias python="python3"
3137

3238
#machine aliases
3339
alias updateMachine="sudo apt update -y && sudo apt upgrade -y && sudo apt full-upgrade -y"
3440
alias myjupyter="cd && cd learning/my_jupyter_works/ && source my_jupyter_works/bin/activate && jupyter notebook"
35-
alias mvnCleanInstallSkipTest="mvn clean install -DskipTests"
41+
alias mvnCleanInstallSkipTest="mvn -T 1.5C clean install -DskipTests"
3642
alias mavenRepoRemove="sudo rm -rf ~/.m2"
3743
alias netNtlp="netstat -ntlp"
3844

@@ -45,7 +51,7 @@ alias changeJavaVersionTo='bash ~/workspace/environment-setup/changeJavaVersionT
4551

4652
git_drop_commit() {
4753
if [ -z "$1" ]; then
48-
echo "Usage: git drop-commit <commit-hash-or-prefix>"
54+
echo "Usage: git-drop-commit <commit-hash-or-prefix>"
4955
return 1
5056
fi
5157

@@ -70,7 +76,7 @@ git_drop_commit() {
7076
fi
7177
}
7278

73-
killport () {
79+
killPort () {
7480
PID=$(sudo lsof -t -i:$1)
7581
sudo kill -9 ${PID}
7682
}

charlesInstall.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
wget -qO- https://www.charlesproxy.com/packages/apt/charles-repo.asc | sudo tee /etc/apt/keyrings/charles-repo.asc
2+
3+
sudo sh -c 'echo deb [signed-by=/etc/apt/keyrings/charles-repo.asc] https://www.charlesproxy.com/packages/apt/ charles-proxy main > /etc/apt/sources.list.d/charles.list'
4+
5+
sudo apt-get update && sudo apt-get install charles-proxy

0 commit comments

Comments
 (0)