I always forget to update this
This commit is contained in:
parent
ca76215a61
commit
88e0992d38
14
.bashrc
14
.bashrc
|
@ -18,13 +18,14 @@ function vid { mpv "https://inv.riverside.rocks/latest_version?id=$1&itag=22&loc
|
|||
function nts { yt-dlp --get-title --get-duration --get-id nicosearch10:"$*"; }
|
||||
|
||||
#manga
|
||||
function md { echo https://mangadex.org/title/$1; }
|
||||
function mds { curl -s "https://api.mangadex.org/manga?contentRating[]=safe&contentRating[]=suggestive&contentRating[]=erotica&contentRating[]=pornographic&title=$(sed s/\ /+/g <<< $*)" | jq ".data | .[] | .id,.attributes.title.en?,.attributes.description.en?,\"\""; }
|
||||
function mdi { curl -s "https://api.mangadex.org/manga/$1" | jq ".data | .id,.attributes.title.en?,.attributes.description.en?,\"\""; }
|
||||
function mdc { inf=$(curl -s "https://api.mangadex.org/chapter/$1"); jq '.data.attributes | .volume+" "+.chapter' <<< "$inf"; mdi $(jq -r '.data.relationships[] | select (.type=="manga").id' <<< "$inf"); }
|
||||
alias mdesu='/home/wisknort/tinker/md/mdesu/mdesu'
|
||||
alias mdl="~/tinker/md/dler.py"
|
||||
function mdu { curl -si https://mangadex.org/title/$1 | grep -i location; }
|
||||
alias mangadex='~tinker/tinyscripts/md.sh'
|
||||
alias md='mangadex generate_link'
|
||||
alias mds='mangadex search'
|
||||
alias mdi='mangadex information'
|
||||
alias mdc='mangadex chapter_information'
|
||||
alias mdl='mangadex download'
|
||||
alias mdu='mangadex update_from_v3_to_v5'
|
||||
|
||||
#strong utils
|
||||
source ~/tinker/tinyscripts/creds_getter.sh
|
||||
|
@ -39,6 +40,7 @@ function makepkgi { a="$(pwd)"; mkdir -p "/tmp/negros/src/$(basename "$a")"; cp
|
|||
#image shitposting
|
||||
function catbox { curl -F fileToUpload="@$*" -F reqtype=fileupload https://catbox.moe/user/api.php; echo ""; }
|
||||
alias shitpost="~/tinker/tinyscripts/shitpost.sh"
|
||||
function cheat { curl "cheat.sh/$*"; }
|
||||
|
||||
#fun
|
||||
function space { python -c "print(\" \".join(\"$*\"))"; }
|
||||
|
|
|
@ -13,6 +13,6 @@ sp_targ="/static/pics/$sp_porn$sp_path"
|
|||
scp "$sp_file" jasmine:"/srv/http$sp_targ"
|
||||
ssh jasmine chown http:http "'/srv/http$sp_targ'"
|
||||
ssh jasmine chmod 664 "'/srv/http$sp_targ'"
|
||||
echo "http://rakka.au$sp_targ"
|
||||
echo "http://rakka.au$sp_targ" | sed 's/ /%20/g' - -
|
||||
|
||||
#desu.si, catbox.moe
|
||||
|
|
Loading…
Reference in New Issue
Block a user