I don't know what I've done in a while
This commit is contained in:
parent
55619d3ebb
commit
b69d64aa26
5
.bashrc
5
.bashrc
|
@ -21,6 +21,7 @@ function nts { yt-dlp --get-title --get-duration --get-id nicosearch10:"$*"; }
|
||||||
function md { echo https://mangadex.org/title/$1; }
|
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 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 mdi { curl -s "https://api.mangadex.org/manga/$1" | jq ".data | .id,.attributes.title.en?,.attributes.description.en?,\"\""; }
|
||||||
|
function mdc { mdi $(curl -s "https://api.mangadex.org/chapter/$1" | jq -r '.data.relationships[] | select (.type=="manga").id'); }
|
||||||
alias mdesu='/home/wisknort/tinker/md/mdesu/mdesu'
|
alias mdesu='/home/wisknort/tinker/md/mdesu/mdesu'
|
||||||
alias mdl="~/tinker/md/dler.py"
|
alias mdl="~/tinker/md/dler.py"
|
||||||
function mdu { curl -si https://mangadex.org/title/$1 | grep -i location; }
|
function mdu { curl -si https://mangadex.org/title/$1 | grep -i location; }
|
||||||
|
@ -31,9 +32,9 @@ function lyrics { python ~/tinker/lyrics-fetcher/getlyrics.py $@; }
|
||||||
function pulsemagix { ~/pulsemagix.sh $*; }
|
function pulsemagix { ~/pulsemagix.sh $*; }
|
||||||
alias search=~/tinker/tinyscripts/search.sh
|
alias search=~/tinker/tinyscripts/search.sh
|
||||||
alias gitmk="git push -o repo.private=false -u master master"
|
alias gitmk="git push -o repo.private=false -u master master"
|
||||||
alias wpfx="WINEPREFIX='$(pwd)/wpfx' wine"
|
alias wpfx='WINEPREFIX="$(pwd)/wpfx" wine'
|
||||||
function update { scp -r * root@jasmine:"$(cat .update)"; }
|
function update { scp -r * root@jasmine:"$(cat .update)"; }
|
||||||
function makepkgi { a="$(pwd)"; mkdir -p "/tmp/negros/src/$(basename "$a")"; cp PKGBUILD /tmp/negros/; cp -r * "/tmp/negros/src/$(basename "$a")/"; cd /tmp/negros/; rm "src/$(basename "$a")/PKGBUILD"; makepkg -${1:-R}; cp *.tar.zst "$a"; cd "$a"; rm -r /tmp/negros/; }
|
function makepkgi { a="$(pwd)"; mkdir -p "/tmp/negros/src/$(basename "$a")"; cp PKGBUILD /tmp/negros/; cp -r ./. "/tmp/negros/src/$(basename "$a")/"; cd /tmp/negros/; rm "src/$(basename "$a")/PKGBUILD"; makepkg -${1:-R}; cp *.tar.zst "$a"; cd "$a"; rm -rf /tmp/negros/; }
|
||||||
#image shitposting
|
#image shitposting
|
||||||
function catbox { curl -F fileToUpload="@$*" -F reqtype=fileupload https://catbox.moe/user/api.php; echo ""; }
|
function catbox { curl -F fileToUpload="@$*" -F reqtype=fileupload https://catbox.moe/user/api.php; echo ""; }
|
||||||
alias shitpost="~/tinker/tinyscripts/shitpost.sh"
|
alias shitpost="~/tinker/tinyscripts/shitpost.sh"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
function _scan_config
|
function _scan_config
|
||||||
{
|
{
|
||||||
c="$HOME/.config/"; i=0 # for funny wc -l
|
c="$HOME/.config/"
|
||||||
|
i=0 # funny wc -l
|
||||||
while read dirname; do
|
while read dirname; do
|
||||||
if [ -d "$c$dirname" -a -a "$c$dirname/accounts" ]; then
|
if [ -d "$c$dirname" -a -a "$c$dirname/accounts" ]; then
|
||||||
dirs[$i]="$dirname"
|
dirs[$i]="$dirname"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user