mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-04-19 17:52:27 +00:00
Compare commits
3 commits
07d85ad240
...
2113835e41
Author | SHA1 | Date | |
---|---|---|---|
2113835e41 | |||
ee6f059647 | |||
ddbfc640fa |
2 changed files with 5 additions and 1 deletions
|
@ -141,7 +141,9 @@ alias ufw-log='journalctl -f -n 100 -g ufw' # Show UFW log entries in system jou
|
||||||
alias sv='systemctl'
|
alias sv='systemctl'
|
||||||
alias pacnew="find / -name '*.pacnew' 2>/dev/null" # Search for all new configurations after pacman update
|
alias pacnew="find / -name '*.pacnew' 2>/dev/null" # Search for all new configurations after pacman update
|
||||||
alias backup="rsync -avHAXS --delete --filter='dir-merge /.rsync-filter'" # Make full rsync backup, respecting .rsync-filter files for exclusions
|
alias backup="rsync -avHAXS --delete --filter='dir-merge /.rsync-filter'" # Make full rsync backup, respecting .rsync-filter files for exclusions
|
||||||
alias upload='curl -F "f:1=<-" ix.io'
|
#alias upload='curl -F "f:1=<-" ix.io' # ix.io was offline for about 10 months now...
|
||||||
|
#alias upload='curl -F "sprunge=<-" http://sprunge.us' # sprunge.us was offline for a few weeks now, not sure why
|
||||||
|
alias upload='curl -F "file=@-" https://hardfiles.org' # hardfiles.org works, but has 24-hour expiry
|
||||||
alias upload-journal='sudo journalctl -b -1 | upload' # Upload journalctl from last boot to ix.io
|
alias upload-journal='sudo journalctl -b -1 | upload' # Upload journalctl from last boot to ix.io
|
||||||
alias auth-log='journalctl SYSLOG_FACILITY=10 -r'
|
alias auth-log='journalctl SYSLOG_FACILITY=10 -r'
|
||||||
alias cpu-stress='for i in $(seq $(getconf _NPROCESSORS_ONLN)); do yes > /dev/null & done' # Run `yes > /dev/null` on all cores as stress test
|
alias cpu-stress='for i in $(seq $(getconf _NPROCESSORS_ONLN)); do yes > /dev/null & done' # Run `yes > /dev/null` on all cores as stress test
|
||||||
|
@ -201,6 +203,7 @@ alias gd='git diff'
|
||||||
alias gdc='git diff --cached'
|
alias gdc='git diff --cached'
|
||||||
alias gundo='git reset --soft HEAD~'
|
alias gundo='git reset --soft HEAD~'
|
||||||
alias gredo="git reset 'HEAD@{1}'"
|
alias gredo="git reset 'HEAD@{1}'"
|
||||||
|
alias gpr="gh pr checkout"
|
||||||
|
|
||||||
# Youtube-dl aliases
|
# Youtube-dl aliases
|
||||||
alias ytv-best='youtube-dl -f bestvideo+bestaudio'
|
alias ytv-best='youtube-dl -f bestvideo+bestaudio'
|
||||||
|
|
|
@ -6,6 +6,7 @@ PartOf=graphical-session.target
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnUnitActiveSec=1m
|
OnUnitActiveSec=1m
|
||||||
|
Unit=gh-notification.service
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target
|
WantedBy=graphical-session.target
|
||||||
|
|
Loading…
Add table
Reference in a new issue