From c9dde4d10b283ff59051f4a06126e61af699ab52 Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Sun, 10 Aug 2025 20:05:11 +0000 Subject: index --- index.html | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/index.html b/index.html index 91d29f0..e5e0b91 100644 --- a/index.html +++ b/index.html @@ -24,19 +24,10 @@
You may upload files using the above form or the following command:
curl https://up.chud.cyou --upload-file 'file' -# alternatively ++
Alternatively
+
curl https://up.chud.cyou -F'file=@file'
-# as a shell function
-upload(){
-url="$1"
-shift
-if [ -z "$@" ] ; then curl "$url" -F"file=@/dev/stdin"; fi
-for i in "$@"; do
-if [ "$i" = "-" ]; then i="/dev/stdin" ; fi
-curl "$url" -F"file=@$i"
-done
-}
-chud(){ upload "https://up.chud.cyou" "$@" ; }
Files are wiped monthly and may not be larger than 100 mebibytes. @@ -44,8 +35,9 @@ chud(){ upload "https://up.chud.cyou" "$@" ; }
[Original Source]
[Deployment's Source]
- [Emacs Configuration]
-
+
+ [Shell Code]
+
[Contact & Reports]
-- cgit v1.2.3