<p>You may upload files using the above form or the following command:</p>
<pre>
curl https://up.chud.cyou --upload-file 'file'
-# alternatively
+ </pre>
+ <p>Alternatively</p>
+ <pre>
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" "$@" ; }
</pre>
<p>
Files are wiped monthly and may not be larger than 100 mebibytes.
<p>
<a href="https://git.xolatile.top/anon/upchud">[Original Source]</a>
<a href="https://git.xolatile.top/emil/up.chud.cyou">[Deployment's Source]</a>
- <a href="https://files.xolatile.top/0x0_config.el">[Emacs Configuration]</a>
- <br/>
+ <br />
+ <a href="https://files.xolatile.top/chud_upload.sh">[Shell Code]</a>
+ <br />
<a href="mailto:admin@chud.cyou">[Contact & Reports]</a>
</p>
<p>