From 9d7911b64da935d0670ad236e412164c77cef9f4 Mon Sep 17 00:00:00 2001 From: Neon Date: Sun, 22 Dec 2024 19:07:06 +0000 Subject: [PATCH 1/4] oops --- .bash_history | 19 ++++++++++++ .config/caddy/autosave.json | 61 +------------------------------------ .gitignore | 2 ++ .wget-hsts | 4 +++ .yarnrc | 5 +++ pub/.well-known/atproto-did | 1 + 6 files changed, 32 insertions(+), 60 deletions(-) create mode 100644 .bash_history create mode 100644 .wget-hsts create mode 100644 .yarnrc create mode 100644 pub/.well-known/atproto-did diff --git a/.bash_history b/.bash_history new file mode 100644 index 0000000..fadda2f --- /dev/null +++ b/.bash_history @@ -0,0 +1,19 @@ +tar -xzf tailscale_amd64.tgz +curl https://tailscale.com/install.sh +curl https://tailscale.com/install.sh +curl https://tailscale.com/install.sh | grep amd64 +uname -a +neofetch +ls +pwd +tailscale up +systemctl --user start tailscaled +ls +tailscale +tailscale login +tailscaled +tailscale +tailscale up +systemctl start --user tailscaled +exir +exit diff --git a/.config/caddy/autosave.json b/.config/caddy/autosave.json index 37939fc..d957d2f 100644 --- a/.config/caddy/autosave.json +++ b/.config/caddy/autosave.json @@ -1,60 +1 @@ -{ - "admin": { "listen": "unix//home/neon/caddy-admin.sock" }, - "apps": { - "http": { - "servers": { - "srv0": { - "automatic_https": { "skip": ["spotify.hackclub.app"] }, - "listen": ["unix/.spotify.neon.hackclub.app.webserver.sock|777"], - "routes": [ - { - "handle": [ - { - "handler": "subroute", - "routes": [ - { - "handle": [ - { - "handler": "reverse_proxy", - "upstreams": [{ "dial": "localhost:38275" }] - } - ] - } - ] - } - ], - "match": [{ "host": ["spotify.hackclub.app"] }], - "terminal": true - } - ] - }, - "srv1": { - "automatic_https": { "skip": ["neon.hackclub.app"] }, - "listen": ["unix/.webserver.sock|777"], - "routes": [ - { - "handle": [ - { - "handler": "subroute", - "routes": [ - { - "handle": [ - { "handler": "vars", "root": "/home/neon/pub" }, - { - "handler": "file_server", - "hide": [".git", ".env", "/home/neon/Caddyfile"] - } - ] - } - ] - } - ], - "match": [{ "host": ["neon.hackclub.app"] }], - "terminal": true - } - ] - } - } - } - } -} +{"admin":{"listen":"unix//home/neon/caddy-admin.sock"},"apps":{"http":{"servers":{"srv0":{"automatic_https":{"skip":["spotify.neon.hackclub.app"]},"listen":["unix/.spotify.sock|777"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"localhost:37935"}]}]}]}],"match":[{"host":["spotify.neon.hackclub.app"]}],"terminal":true}]},"srv1":{"automatic_https":{"skip":["neon.hackclub.app"]},"listen":["unix/.webserver.sock|777"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/neon/pub"},{"handler":"file_server","hide":[".git",".env","/home/neon/Caddyfile"]}]}]}],"match":[{"host":["neon.hackclub.app"]}],"terminal":true}]}}}}} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 3cdbf3d..f223848 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ sent/* # all sent mail is there .uptime-url main.cron .bolt-js-* +tailscale +.pm2 diff --git a/.wget-hsts b/.wget-hsts new file mode 100644 index 0000000..846d065 --- /dev/null +++ b/.wget-hsts @@ -0,0 +1,4 @@ +# HSTS 1.0 Known Hosts database for GNU Wget. +# Edit at your own risk. +# +pkgs.tailscale.com 0 0 1734197669 31536000 diff --git a/.yarnrc b/.yarnrc new file mode 100644 index 0000000..ed4c352 --- /dev/null +++ b/.yarnrc @@ -0,0 +1,5 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +lastUpdateCheck 1730675336652 diff --git a/pub/.well-known/atproto-did b/pub/.well-known/atproto-did new file mode 100644 index 0000000..0f0a7b9 --- /dev/null +++ b/pub/.well-known/atproto-did @@ -0,0 +1 @@ +did:plc:cxbavhtmcmu6ssravgtvf274 From 18b4556943671fe7ee5c5e70a7dfd3ae0a37f4c6 Mon Sep 17 00:00:00 2001 From: "zeon-neon[bot]" <136533918+zeon-neon[bot]@users.noreply.github.com> Date: Sun, 22 Dec 2024 19:07:22 +0000 Subject: [PATCH 2/4] enhancement(lint): Fix lint errors for .bash_history Co-authored-by: NeonGamerBot-QK Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com> --- .bash_history | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.bash_history b/.bash_history index fadda2f..0c26f82 100644 --- a/.bash_history +++ b/.bash_history @@ -1,7 +1,7 @@ tar -xzf tailscale_amd64.tgz -curl https://tailscale.com/install.sh -curl https://tailscale.com/install.sh -curl https://tailscale.com/install.sh | grep amd64 +curl https://tailscale.com/install.sh +curl https://tailscale.com/install.sh +curl https://tailscale.com/install.sh | grep amd64 uname -a neofetch ls @@ -12,7 +12,7 @@ ls tailscale tailscale login tailscaled -tailscale +tailscale tailscale up systemctl start --user tailscaled exir From 3ead4ceafc462e55e5d19ea6f3923dc4bc2b646c Mon Sep 17 00:00:00 2001 From: "zeon-neon[bot]" <136533918+zeon-neon[bot]@users.noreply.github.com> Date: Sun, 22 Dec 2024 19:07:23 +0000 Subject: [PATCH 3/4] enhancement(lint): Fix lint errors for .config/caddy/autosave.json Co-authored-by: NeonGamerBot-QK Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com> --- .config/caddy/autosave.json | 61 ++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/.config/caddy/autosave.json b/.config/caddy/autosave.json index d957d2f..eeca4ba 100644 --- a/.config/caddy/autosave.json +++ b/.config/caddy/autosave.json @@ -1 +1,60 @@ -{"admin":{"listen":"unix//home/neon/caddy-admin.sock"},"apps":{"http":{"servers":{"srv0":{"automatic_https":{"skip":["spotify.neon.hackclub.app"]},"listen":["unix/.spotify.sock|777"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"localhost:37935"}]}]}]}],"match":[{"host":["spotify.neon.hackclub.app"]}],"terminal":true}]},"srv1":{"automatic_https":{"skip":["neon.hackclub.app"]},"listen":["unix/.webserver.sock|777"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/neon/pub"},{"handler":"file_server","hide":[".git",".env","/home/neon/Caddyfile"]}]}]}],"match":[{"host":["neon.hackclub.app"]}],"terminal":true}]}}}}} \ No newline at end of file +{ + "admin": { "listen": "unix//home/neon/caddy-admin.sock" }, + "apps": { + "http": { + "servers": { + "srv0": { + "automatic_https": { "skip": ["spotify.neon.hackclub.app"] }, + "listen": ["unix/.spotify.sock|777"], + "routes": [ + { + "handle": [ + { + "handler": "subroute", + "routes": [ + { + "handle": [ + { + "handler": "reverse_proxy", + "upstreams": [{ "dial": "localhost:37935" }] + } + ] + } + ] + } + ], + "match": [{ "host": ["spotify.neon.hackclub.app"] }], + "terminal": true + } + ] + }, + "srv1": { + "automatic_https": { "skip": ["neon.hackclub.app"] }, + "listen": ["unix/.webserver.sock|777"], + "routes": [ + { + "handle": [ + { + "handler": "subroute", + "routes": [ + { + "handle": [ + { "handler": "vars", "root": "/home/neon/pub" }, + { + "handler": "file_server", + "hide": [".git", ".env", "/home/neon/Caddyfile"] + } + ] + } + ] + } + ], + "match": [{ "host": ["neon.hackclub.app"] }], + "terminal": true + } + ] + } + } + } + } +} From bbecdbbecd1d1de2f5d645f55abc32bba9ebb7af Mon Sep 17 00:00:00 2001 From: "zeon-neon[bot]" <136533918+zeon-neon[bot]@users.noreply.github.com> Date: Sun, 22 Dec 2024 19:07:24 +0000 Subject: [PATCH 4/4] enhancement(lint): Fix lint errors for .gitignore Co-authored-by: NeonGamerBot-QK Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>