aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-03-30 11:15:34 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-03-30 11:15:34 +0800
commit5c850f90272d9b1845d878e2026292b8137801d5 (patch)
tree2c21ba2aa427bd0a5fc8823566003a244efaea59
parent12564116825f95e05083c1810d9010e9a530bf4d (diff)
update
-rw-r--r--alias5
1 files changed, 4 insertions, 1 deletions
diff --git a/alias b/alias
index 7862f15..21aaa77 100644
--- a/alias
+++ b/alias
@@ -454,9 +454,12 @@ up() {
454 curl -F"file=@${1}" http://0x0.st 454 curl -F"file=@${1}" http://0x0.st
455 #curl -F "file=@${1}" https://api.anonfiles.com/upload 455 #curl -F "file=@${1}" https://api.anonfiles.com/upload
456} 456}
457sshup() { 457ssh.up() {
458 scp "$1" topo:~/public 458 scp "$1" topo:~/public
459} 459}
460ssh.down() {
461 ssh topo rm ~/public/"$1"
462}
460short() { 463short() {
461 curl -F"shorten=${1}" http://0x0.st 464 curl -F"shorten=${1}" http://0x0.st
462} 465}