[+] Add upload script

This commit is contained in:
Azalea Gui
2023-03-04 16:32:59 -05:00
parent 905f5b4214
commit 8abbcdc5b5
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -48,3 +48,9 @@ Host caspase
Host kevin Host kevin
HostName caspase3kjq.terra-incognita.dev HostName caspase3kjq.terra-incognita.dev
User me@hydev.org User me@hydev.org
Host ut-343
HostName dbsrv1.teach.cs.toronto.edu
Host ut-cs
HostName teach.cs.toronto.edu
+5
View File
@@ -100,6 +100,11 @@ alias valgrin="valgrind \
--track-origins=yes \ --track-origins=yes \
--vgdb=no" --vgdb=no"
upload-daisy() {
file="$@"
curl -u azalea -F "path=@$file" "https://daisy-ddns.hydev.org/upload\?path\=/"
}
# Automatic sudo # Automatic sudo
alias sctl="sudo systemctl" alias sctl="sudo systemctl"
alias jctl="sudo journalctl" alias jctl="sudo journalctl"