Skip to content

Commit

Permalink
Backup before qtile
Browse files Browse the repository at this point in the history
  • Loading branch information
keystroke3 committed Aug 22, 2022
1 parent 123ef82 commit c9cf690
Show file tree
Hide file tree
Showing 12 changed files with 2,134 additions and 1,514 deletions.
11 changes: 7 additions & 4 deletions .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ localip(){
ip a | grep 192.168 | cut -d ' ' -f6 | cut -d '/' -f1
}
ignore() {
curl -sLw "\n" "https://www.toptal.com/developers/gitignore/api/$@" ;
curl -sLw "\n" "https://www.toptal.com/developers/gitignore/api/$@" |
sed 's/^#.*$//g' |
sed '/^$/d' > .gitignore &&
echo ".gitignore" >> .gitignore;
}

# end functions
Expand Down Expand Up @@ -295,9 +298,9 @@ alias crontab="export VISUAL=nvim; crontab"
alias myip="wget http://ipecho.net/plain -O - -q ; echo"
alias lorem="lazylorem"
alias batt="upower -i `upower -e | grep 'BAT'` | grep percentage | awk -F ' ' '{print $2}'"
alias migrate="python manage.py migrate"
alias mm="python manage.py makemigrations"
alias runserver="export DEBUG=True;python manage.py runserver"
alias migrate="/usr/bin/env python manage.py migrate"
alias mm="/usr/bin/env python manage.py makemigrations"
alias rs="export DEBUG=True;/usr/bin/env python manage.py runserver"
alias xp="xprop | grep WM_CLASS"
alias status="sudo systemctl status"
alias enable="sudo systemctl enable"
Expand Down
Loading

0 comments on commit c9cf690

Please sign in to comment.