From 9d9dd7157b9f6e659075cbb3c6cacc7da6bd7587 Mon Sep 17 00:00:00 2001 From: Zeon Date: Fri, 13 Sep 2024 18:46:59 +0000 Subject: [PATCH 01/10] chore(ci): automated push --- ...83faf164955a7d3358174241c99-card-database.tdb | Bin 0 -> 696 bytes ...623ab83faf164955a7d3358174241c99-default-sink | 1 + ...3ab83faf164955a7d3358174241c99-default-source | 1 + ...3faf164955a7d3358174241c99-device-volumes.tdb | Bin 0 -> 8192 bytes ...3faf164955a7d3358174241c99-stream-volumes.tdb | Bin 0 -> 696 bytes .config/pulse/cookie | Bin 0 -> 256 bytes .config/systemd/user/cron-13e35ebf5e7e.service | 7 +++++++ .config/systemd/user/cron-13e35ebf5e7e.timer | 5 +++++ .config/systemd/user/cron-53dc9761798a.service | 7 +++++++ .config/systemd/user/cron-53dc9761798a.timer | 5 +++++ .config/systemd/user/cron-d4e24025f0a5.service | 7 +++++++ .config/systemd/user/cron-d4e24025f0a5.timer | 5 +++++ .config/systemd/user/cron-db07b00ab34e.service | 7 +++++++ .config/systemd/user/cron-db07b00ab34e.timer | 5 +++++ .config/systemd/user/cron-dd543bb81b62.service | 7 +++++++ .config/systemd/user/cron-dd543bb81b62.timer | 5 +++++ .gitignore | 2 ++ .wget-hsts | 5 ----- clean.sh | 2 ++ install_cron_to_systemd.sh | 1 + 20 files changed, 67 insertions(+), 5 deletions(-) create mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-card-database.tdb create mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-default-sink create mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-default-source create mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-device-volumes.tdb create mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-stream-volumes.tdb create mode 100644 .config/pulse/cookie create mode 100644 .config/systemd/user/cron-13e35ebf5e7e.service create mode 100644 .config/systemd/user/cron-13e35ebf5e7e.timer create mode 100644 .config/systemd/user/cron-53dc9761798a.service create mode 100644 .config/systemd/user/cron-53dc9761798a.timer create mode 100644 .config/systemd/user/cron-d4e24025f0a5.service create mode 100644 .config/systemd/user/cron-d4e24025f0a5.timer create mode 100644 .config/systemd/user/cron-db07b00ab34e.service create mode 100644 .config/systemd/user/cron-db07b00ab34e.timer create mode 100644 .config/systemd/user/cron-dd543bb81b62.service create mode 100644 .config/systemd/user/cron-dd543bb81b62.timer delete mode 100644 .wget-hsts create mode 100644 install_cron_to_systemd.sh diff --git a/.config/pulse/623ab83faf164955a7d3358174241c99-card-database.tdb b/.config/pulse/623ab83faf164955a7d3358174241c99-card-database.tdb new file mode 100644 index 0000000000000000000000000000000000000000..b768866fb1223950c92953d51eccc06385cb197d GIT binary patch literal 696 rcmWG>aZ*Uj%t_^9zz%XH8P%H6qaZ*Uj%t_^9zz%XH8P%H6q8hM$qAs&N>GeUQTt zB3rWWg9*-fyTj&Z~&?Y0Rtcw24aw#%HM_Qf%RwRWg}dK-z6SE ZeINkxA|DWg-0{vTHVV@mgzY9kH2{IINu2-y literal 0 HcmV?d00001 diff --git a/.config/pulse/623ab83faf164955a7d3358174241c99-stream-volumes.tdb b/.config/pulse/623ab83faf164955a7d3358174241c99-stream-volumes.tdb new file mode 100644 index 0000000000000000000000000000000000000000..b768866fb1223950c92953d51eccc06385cb197d GIT binary patch literal 696 rcmWG>aZ*Uj%t_^9zz%XH8P%H6qJ>xlkPHVLPDXsxvd*GR3IFTnBYKicYGBL+-GuD3giqVvlwmTME% zjENDPuA{EQ%WDN;c*KrVO*;~@Iy^`rr~nK! G6?YR`mV7z@ literal 0 HcmV?d00001 diff --git a/.config/systemd/user/cron-13e35ebf5e7e.service b/.config/systemd/user/cron-13e35ebf5e7e.service new file mode 100644 index 0000000..02d75a0 --- /dev/null +++ b/.config/systemd/user/cron-13e35ebf5e7e.service @@ -0,0 +1,7 @@ +[Unit] +Description=cron-13e35ebf5e7e service unit + +[Service] +TimeoutStartSec=0 +ExecStart=nest resources >> ~/automated/resources.txt +Type=oneshot diff --git a/.config/systemd/user/cron-13e35ebf5e7e.timer b/.config/systemd/user/cron-13e35ebf5e7e.timer new file mode 100644 index 0000000..22cfb6d --- /dev/null +++ b/.config/systemd/user/cron-13e35ebf5e7e.timer @@ -0,0 +1,5 @@ +[Unit] +Description=cron-13e35ebf5e7e timer unit + +[Timer] +OnCalendar=*:0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 diff --git a/.config/systemd/user/cron-53dc9761798a.service b/.config/systemd/user/cron-53dc9761798a.service new file mode 100644 index 0000000..398e226 --- /dev/null +++ b/.config/systemd/user/cron-53dc9761798a.service @@ -0,0 +1,7 @@ +[Unit] +Description=cron-53dc9761798a service unit + +[Service] +TimeoutStartSec=0 +ExecStart=bash update_git.sh +Type=oneshot diff --git a/.config/systemd/user/cron-53dc9761798a.timer b/.config/systemd/user/cron-53dc9761798a.timer new file mode 100644 index 0000000..970310a --- /dev/null +++ b/.config/systemd/user/cron-53dc9761798a.timer @@ -0,0 +1,5 @@ +[Unit] +Description=cron-53dc9761798a timer unit + +[Timer] +OnCalendar=*:* diff --git a/.config/systemd/user/cron-d4e24025f0a5.service b/.config/systemd/user/cron-d4e24025f0a5.service new file mode 100644 index 0000000..2bd53cc --- /dev/null +++ b/.config/systemd/user/cron-d4e24025f0a5.service @@ -0,0 +1,7 @@ +[Unit] +Description=cron-d4e24025f0a5 service unit + +[Service] +TimeoutStartSec=0 +ExecStart=bash clean.sh +Type=oneshot diff --git a/.config/systemd/user/cron-d4e24025f0a5.timer b/.config/systemd/user/cron-d4e24025f0a5.timer new file mode 100644 index 0000000..eadf982 --- /dev/null +++ b/.config/systemd/user/cron-d4e24025f0a5.timer @@ -0,0 +1,5 @@ +[Unit] +Description=cron-d4e24025f0a5 timer unit + +[Timer] +OnCalendar=*:* diff --git a/.config/systemd/user/cron-db07b00ab34e.service b/.config/systemd/user/cron-db07b00ab34e.service new file mode 100644 index 0000000..5bf2860 --- /dev/null +++ b/.config/systemd/user/cron-db07b00ab34e.service @@ -0,0 +1,7 @@ +[Unit] +Description=cron-db07b00ab34e service unit + +[Service] +TimeoutStartSec=0 +ExecStart=bash mass_delete_emails_reminder.sh +Type=oneshot diff --git a/.config/systemd/user/cron-db07b00ab34e.timer b/.config/systemd/user/cron-db07b00ab34e.timer new file mode 100644 index 0000000..72a1c3d --- /dev/null +++ b/.config/systemd/user/cron-db07b00ab34e.timer @@ -0,0 +1,5 @@ +[Unit] +Description=cron-db07b00ab34e timer unit + +[Timer] +OnCalendar=1,3,5,7,9,11-1,31 0:0 diff --git a/.config/systemd/user/cron-dd543bb81b62.service b/.config/systemd/user/cron-dd543bb81b62.service new file mode 100644 index 0000000..220ec08 --- /dev/null +++ b/.config/systemd/user/cron-dd543bb81b62.service @@ -0,0 +1,7 @@ +[Unit] +Description=cron-dd543bb81b62 service unit + +[Service] +TimeoutStartSec=0 +ExecStart=curl $(cat ~/.uptime-url) +Type=oneshot diff --git a/.config/systemd/user/cron-dd543bb81b62.timer b/.config/systemd/user/cron-dd543bb81b62.timer new file mode 100644 index 0000000..9bae030 --- /dev/null +++ b/.config/systemd/user/cron-dd543bb81b62.timer @@ -0,0 +1,5 @@ +[Unit] +Description=cron-dd543bb81b62 timer unit + +[Timer] +OnCalendar=*:* diff --git a/.gitignore b/.gitignore index 38a3197..c17c45f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ sent # all sent mail is there .cache/* .env .env.* +.uptime-url +main.cron diff --git a/.wget-hsts b/.wget-hsts deleted file mode 100644 index 3c5001a..0000000 --- a/.wget-hsts +++ /dev/null @@ -1,5 +0,0 @@ -# HSTS 1.0 Known Hosts database for GNU Wget. -# Edit at your own risk. -# -raw.githubusercontent.com 0 0 1726022810 31536000 -github.com 0 1 1726250945 31536000 diff --git a/clean.sh b/clean.sh index b0f1bf5..9cda2be 100644 --- a/clean.sh +++ b/clean.sh @@ -4,3 +4,5 @@ rm .bash_history .bash_logout rm .sh_history rm .lesshst rm -rf .links2 +rm -rf .wget-hsts + diff --git a/install_cron_to_systemd.sh b/install_cron_to_systemd.sh new file mode 100644 index 0000000..e05fc3f --- /dev/null +++ b/install_cron_to_systemd.sh @@ -0,0 +1 @@ +ct2stimer -f main.cron -o ~/.config/systemd/user/ --reload From 23affc93b8d898990a3c786748796c0f1141175e Mon Sep 17 00:00:00 2001 From: Zeon Date: Fri, 13 Sep 2024 18:47:46 +0000 Subject: [PATCH 02/10] chore(ci): automated push --- .config/systemd/user/cron-dd543bb81b62.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/systemd/user/cron-dd543bb81b62.service b/.config/systemd/user/cron-dd543bb81b62.service index 220ec08..286b9a6 100644 --- a/.config/systemd/user/cron-dd543bb81b62.service +++ b/.config/systemd/user/cron-dd543bb81b62.service @@ -1,7 +1,7 @@ [Unit] -Description=cron-dd543bb81b62 service unit +Description=Uptime [Service] TimeoutStartSec=0 -ExecStart=curl $(cat ~/.uptime-url) +ExecStart=curl $(cat %h/.uptime-url) Type=oneshot From c7977bf127e6c974e89c82b243249e26647d7ddf Mon Sep 17 00:00:00 2001 From: Neon Date: Fri, 13 Sep 2024 18:51:52 +0000 Subject: [PATCH 03/10] chore: cleanup --- .../systemd/user/{cron-dd543bb81b62.service => uptime.service} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .config/systemd/user/{cron-dd543bb81b62.service => uptime.service} (60%) diff --git a/.config/systemd/user/cron-dd543bb81b62.service b/.config/systemd/user/uptime.service similarity index 60% rename from .config/systemd/user/cron-dd543bb81b62.service rename to .config/systemd/user/uptime.service index 286b9a6..4e043a3 100644 --- a/.config/systemd/user/cron-dd543bb81b62.service +++ b/.config/systemd/user/uptime.service @@ -3,5 +3,5 @@ Description=Uptime [Service] TimeoutStartSec=0 -ExecStart=curl $(cat %h/.uptime-url) +ExecStart=curl $(cat /home/neon/.uptime-url) Type=oneshot From 608a31d69d14245533cb3d36941a2192842a0364 Mon Sep 17 00:00:00 2001 From: Neon Date: Fri, 13 Sep 2024 18:52:24 +0000 Subject: [PATCH 04/10] chore: cleanup --- ...83faf164955a7d3358174241c99-card-database.tdb | Bin 696 -> 0 bytes ...623ab83faf164955a7d3358174241c99-default-sink | 1 - ...3ab83faf164955a7d3358174241c99-default-source | 1 - ...3faf164955a7d3358174241c99-device-volumes.tdb | Bin 8192 -> 0 bytes ...3faf164955a7d3358174241c99-stream-volumes.tdb | Bin 696 -> 0 bytes .config/pulse/cookie | Bin 256 -> 0 bytes .lesshst | 1 + 7 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-card-database.tdb delete mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-default-sink delete mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-default-source delete mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-device-volumes.tdb delete mode 100644 .config/pulse/623ab83faf164955a7d3358174241c99-stream-volumes.tdb delete mode 100644 .config/pulse/cookie create mode 100644 .lesshst diff --git a/.config/pulse/623ab83faf164955a7d3358174241c99-card-database.tdb b/.config/pulse/623ab83faf164955a7d3358174241c99-card-database.tdb deleted file mode 100644 index b768866fb1223950c92953d51eccc06385cb197d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 696 rcmWG>aZ*Uj%t_^9zz%XH8P%H6qaZ*Uj%t_^9zz%XH8P%H6q8hM$qAs&N>GeUQTt zB3rWWg9*-fyTj&Z~&?Y0Rtcw24aw#%HM_Qf%RwRWg}dK-z6SE ZeINkxA|DWg-0{vTHVV@mgzY9kH2{IINu2-y diff --git a/.config/pulse/623ab83faf164955a7d3358174241c99-stream-volumes.tdb b/.config/pulse/623ab83faf164955a7d3358174241c99-stream-volumes.tdb deleted file mode 100644 index b768866fb1223950c92953d51eccc06385cb197d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 696 rcmWG>aZ*Uj%t_^9zz%XH8P%H6qJ>xlkPHVLPDXsxvd*GR3IFTnBYKicYGBL+-GuD3giqVvlwmTME% zjENDPuA{EQ%WDN;c*KrVO*;~@Iy^`rr~nK! G6?YR`mV7z@ diff --git a/.lesshst b/.lesshst new file mode 100644 index 0000000..4d1c30b --- /dev/null +++ b/.lesshst @@ -0,0 +1 @@ +.less-history-file: From d0504d5da37764c960eb36f7eb159f25f142988f Mon Sep 17 00:00:00 2001 From: Zeon Date: Fri, 13 Sep 2024 19:03:08 +0000 Subject: [PATCH 05/10] chore(ci): automated push --- .config/systemd/user/cron-dd543bb81b62.timer | 5 ----- .config/systemd/user/uptime.service | 2 +- .config/systemd/user/uptime.timer | 5 +++++ 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 .config/systemd/user/cron-dd543bb81b62.timer create mode 100644 .config/systemd/user/uptime.timer diff --git a/.config/systemd/user/cron-dd543bb81b62.timer b/.config/systemd/user/cron-dd543bb81b62.timer deleted file mode 100644 index 9bae030..0000000 --- a/.config/systemd/user/cron-dd543bb81b62.timer +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=cron-dd543bb81b62 timer unit - -[Timer] -OnCalendar=*:* diff --git a/.config/systemd/user/uptime.service b/.config/systemd/user/uptime.service index 4e043a3..55b92bc 100644 --- a/.config/systemd/user/uptime.service +++ b/.config/systemd/user/uptime.service @@ -3,5 +3,5 @@ Description=Uptime [Service] TimeoutStartSec=0 -ExecStart=curl $(cat /home/neon/.uptime-url) +ExecStart=echo $(cat /home/neon/.uptime-url) Type=oneshot diff --git a/.config/systemd/user/uptime.timer b/.config/systemd/user/uptime.timer new file mode 100644 index 0000000..3c7ee4f --- /dev/null +++ b/.config/systemd/user/uptime.timer @@ -0,0 +1,5 @@ +[Unit] +Description=Uptime for 1min + +[Timer] +OnCalendar=*:* From b67a0a3914714f469de406cb69842c151b16ce2e Mon Sep 17 00:00:00 2001 From: Zeon Date: Fri, 13 Sep 2024 19:04:08 +0000 Subject: [PATCH 06/10] chore(ci): automated push --- .config/systemd/user/uptime.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/systemd/user/uptime.service b/.config/systemd/user/uptime.service index 55b92bc..7d5729d 100644 --- a/.config/systemd/user/uptime.service +++ b/.config/systemd/user/uptime.service @@ -3,5 +3,5 @@ Description=Uptime [Service] TimeoutStartSec=0 -ExecStart=echo $(cat /home/neon/.uptime-url) +ExecStart=curl -v "$(cat /home/neon/.uptime-url)" Type=oneshot From d63c1328b5e09164f2711e8efc3e55cb4f9cfbb2 Mon Sep 17 00:00:00 2001 From: Zeon Date: Fri, 13 Sep 2024 19:06:08 +0000 Subject: [PATCH 07/10] chore(ci): automated push --- .config/systemd/user/uptime.service | 2 +- .lesshst | 1 - uptime.sh | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 .lesshst create mode 100644 uptime.sh diff --git a/.config/systemd/user/uptime.service b/.config/systemd/user/uptime.service index 7d5729d..6c4dfb6 100644 --- a/.config/systemd/user/uptime.service +++ b/.config/systemd/user/uptime.service @@ -3,5 +3,5 @@ Description=Uptime [Service] TimeoutStartSec=0 -ExecStart=curl -v "$(cat /home/neon/.uptime-url)" +ExecStart=bash /home/neon/uptime.sh Type=oneshot diff --git a/.lesshst b/.lesshst deleted file mode 100644 index 4d1c30b..0000000 --- a/.lesshst +++ /dev/null @@ -1 +0,0 @@ -.less-history-file: diff --git a/uptime.sh b/uptime.sh new file mode 100644 index 0000000..4e98c1c --- /dev/null +++ b/uptime.sh @@ -0,0 +1 @@ +curl -v $(cat ~/.uptime-url) From ec5d7bfbe7236d7cb32c9ea3997788fd09415cc3 Mon Sep 17 00:00:00 2001 From: Zeon Date: Fri, 13 Sep 2024 19:08:01 +0000 Subject: [PATCH 08/10] chore(ci): automated push --- uptime.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uptime.sh b/uptime.sh index 4e98c1c..8d1b468 100644 --- a/uptime.sh +++ b/uptime.sh @@ -1 +1,2 @@ -curl -v $(cat ~/.uptime-url) +echo "$(cat ~/.uptime-url)" +curl -v "$(cat ~/.uptime-url)" From d841204f95da9deefc402a229bd1691fd789a1b3 Mon Sep 17 00:00:00 2001 From: Saahil Date: Fri, 13 Sep 2024 15:11:20 -0400 Subject: [PATCH 09/10] Create restart-systemd.yml --- .github/workflows/restart-systemd.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/restart-systemd.yml diff --git a/.github/workflows/restart-systemd.yml b/.github/workflows/restart-systemd.yml new file mode 100644 index 0000000..5416844 --- /dev/null +++ b/.github/workflows/restart-systemd.yml @@ -0,0 +1,29 @@ +name: Restart Systemd +on: + push: + branches: + - main + paths: + - ".config/systemd/user/**" + workflow_dispatch: + + +jobs: + build: + name: Restart Systemd + runs-on: ubuntu-latest + steps: + - name: is zeon + uses: zeon-neon/gh-action-no-zeon@v1 + id: zeonallowed + - name: Execute + if: ${{ steps.zeonallowed.outputs.skip == 'false' }} + uses: appleboy/ssh-action@v1.0.3 + with: + host: hackclub.app + username: neon + passphrase: ${{ secrets.PASSWORD }} + key: ${{ secrets.ZEON_KEY }} + port: 22 + script: | + systemctl --user daemon-reload From 4c8cbcd824aa29b551df7fbd5967f01fa90982d7 Mon Sep 17 00:00:00 2001 From: Zeon Date: Fri, 13 Sep 2024 19:20:10 +0000 Subject: [PATCH 10/10] chore(ci): automated push --- ssh-pgp-nest-chat/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 ssh-pgp-nest-chat/.gitkeep diff --git a/ssh-pgp-nest-chat/.gitkeep b/ssh-pgp-nest-chat/.gitkeep new file mode 100644 index 0000000..e69de29