From ddbfc640fa5f388f83a2f4dfa404aa3f72b567ba Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 11 Mar 2025 20:07:12 +0100 Subject: [PATCH 1/3] Fix gh-notify systemd timer --- home/.config/systemd/user/gh-notification.timer | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.config/systemd/user/gh-notification.timer b/home/.config/systemd/user/gh-notification.timer index 8350a3c..2b59c82 100644 --- a/home/.config/systemd/user/gh-notification.timer +++ b/home/.config/systemd/user/gh-notification.timer @@ -6,6 +6,7 @@ PartOf=graphical-session.target [Timer] OnUnitActiveSec=1m +Unit=gh-notification.service [Install] WantedBy=graphical-session.target From ee6f0596471233e5beeb604d74c07ea18d344015 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 9 Apr 2025 23:11:52 +0200 Subject: [PATCH 2/3] Add quick pr checkout alias --- home/.config/shell/aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.config/shell/aliases b/home/.config/shell/aliases index b649c01..ca39447 100755 --- a/home/.config/shell/aliases +++ b/home/.config/shell/aliases @@ -201,6 +201,7 @@ alias gd='git diff' alias gdc='git diff --cached' alias gundo='git reset --soft HEAD~' alias gredo="git reset 'HEAD@{1}'" +alias gpr="gh pr checkout" # Youtube-dl aliases alias ytv-best='youtube-dl -f bestvideo+bestaudio' From 2113835e41a1506c9f8455822a7b17a3983fa26e Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 9 Apr 2025 23:12:07 +0200 Subject: [PATCH 3/3] Add more upload aliases --- home/.config/shell/aliases | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/.config/shell/aliases b/home/.config/shell/aliases index ca39447..6cd66af 100755 --- a/home/.config/shell/aliases +++ b/home/.config/shell/aliases @@ -141,7 +141,9 @@ alias ufw-log='journalctl -f -n 100 -g ufw' # Show UFW log entries in system jou alias sv='systemctl' 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 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 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