silly bash
This commit is contained in:
parent
aa5d33b636
commit
9848769ac6
1 changed files with 2 additions and 2 deletions
4
u.php
4
u.php
|
@ -85,11 +85,11 @@ if ($uploadOk == 0) {
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
# upload function
|
# upload function
|
||||||
upload(){ curl -F"file=@$1" https://xfnw.ttm.sh/u.php }
|
upload(){ curl -F"file=@$1" https://xfnw.ttm.sh/u.php ; }
|
||||||
upload file.png
|
upload file.png
|
||||||
|
|
||||||
# paste function
|
# paste function
|
||||||
paste(){ curl -F"file=@-" https://xfnw.ttm.sh/u.php }
|
paste(){ curl -F"file=@-" https://xfnw.ttm.sh/u.php ; }
|
||||||
cat something.txt | paste
|
cat something.txt | paste
|
||||||
|
|
||||||
# auto upload your screenshots
|
# auto upload your screenshots
|
||||||
|
|
Loading…
Reference in a new issue