From 8abbcdc5b52af5bef3a287948bf57150ef95d19b Mon Sep 17 00:00:00 2001 From: Azalea Gui Date: Sat, 4 Mar 2023 16:32:59 -0500 Subject: [PATCH] [+] Add upload script --- config-sync/ssh-config | 6 ++++++ scripts/zshrc.sh | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/config-sync/ssh-config b/config-sync/ssh-config index 039127e..871cc4a 100644 --- a/config-sync/ssh-config +++ b/config-sync/ssh-config @@ -48,3 +48,9 @@ Host caspase Host kevin HostName caspase3kjq.terra-incognita.dev User me@hydev.org + +Host ut-343 + HostName dbsrv1.teach.cs.toronto.edu + +Host ut-cs + HostName teach.cs.toronto.edu \ No newline at end of file diff --git a/scripts/zshrc.sh b/scripts/zshrc.sh index c4e5ef9..3694e73 100755 --- a/scripts/zshrc.sh +++ b/scripts/zshrc.sh @@ -100,6 +100,11 @@ alias valgrin="valgrind \ --track-origins=yes \ --vgdb=no" +upload-daisy() { + file="$@" + curl -u azalea -F "path=@$file" "https://daisy-ddns.hydev.org/upload\?path\=/" +} + # Automatic sudo alias sctl="sudo systemctl" alias jctl="sudo journalctl"