Compare commits

...

3 commits

Author SHA1 Message Date
2113835e41
Add more upload aliases 2025-04-09 23:12:07 +02:00
ee6f059647
Add quick pr checkout alias 2025-04-09 23:11:52 +02:00
ddbfc640fa
Fix gh-notify systemd timer 2025-03-11 20:07:12 +01:00
2 changed files with 5 additions and 1 deletions

View file

@ -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'

View file

@ -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