mirror of
https://github.com/notwa/rc
synced 2025-02-04 23:33:23 -08:00
remove cockfile from notice
yeah rip
This commit is contained in:
parent
b761967f95
commit
9cafbf44e7
1 changed files with 0 additions and 13 deletions
13
sh/notice
13
sh/notice
|
@ -98,7 +98,6 @@ __notice_log() {
|
|||
}
|
||||
|
||||
# __notice_upload_to_...
|
||||
# (SLOW) com_cockfile 134217728+??? or 128 MiB (wtf is going on here)
|
||||
# (slow) io_file 2000000000-200-4-x or 1907 MiB (untested)
|
||||
# sh_envs 536870912-200-4-x or 512 MiB (untested)
|
||||
# se_uguu 67108864-200-7-x or 64 MiB (tested)
|
||||
|
@ -216,18 +215,6 @@ __notice_upload_to_se_uguu() {
|
|||
aux="$normal"
|
||||
}
|
||||
|
||||
__notice_upload_to_com_cockfile() {
|
||||
target=cockfile.com
|
||||
# defaults: 12 hours, permanent
|
||||
# filenames are randomized. cannot manually delete nor specify expiry.
|
||||
# must have a file extension or it gets rejected (415), so use `.bin`.
|
||||
__notice_compute_form_limit "files[]" ".bin" "${bytes:-0}" 999999999 || return 128
|
||||
__notice_escape "$1" '\\"'
|
||||
raw="$(__notice_curl -F "files[]=@$\"$REPLY\";filename=.bin" "https://$target/upload.php?output=text")" || return
|
||||
normal="$raw"
|
||||
aux="$normal"
|
||||
}
|
||||
|
||||
__notice_upload_to_sh_envs() {
|
||||
target=envs.sh
|
||||
# configured: 14 days, permanent (TODO: add "defaults" to match other docs)
|
||||
|
|
Loading…
Add table
Reference in a new issue