I'm always updating .bashrc and forgetting to commit

This commit is contained in:
Zergling_man 2024-12-21 16:14:48 +11:00
parent 9a9515fb10
commit 143f4ef3c7
2 changed files with 13 additions and 1 deletions

12
.bashrc
View File

@ -38,9 +38,19 @@ alias wpfx2='WINEPREFIX="$(pwd)/wpfx2" wine'
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" "src/$(basename "$a")"/*.tar.zst; makepkg -${1:-R}; cp *.tar.zst "$a"; cd "$a"; rm -rf /tmp/negros/; }
#image shitposting
function catbox { curl -F fileToUpload="@$*" -F reqtype=fileupload https://catbox.moe/user/api.php; echo ""; }
function catbox
{
if [ "$1" = '-t' ]; then
shift
curl https://litterbox.catbox.moe/resources/internals/api.php -F time=12h -F reqtype="@$*"
else
curl -F fileToUpload="@$*" -F reqtype=fileupload https://catbox.moe/user/api.php
fi
echo ""
}
alias shitpost="~/tinker/tinyscripts/shitpost.sh"
function cheat { curl "cheat.sh/$*"; }
function unroll { magick $1 -layers CompareAny blah.png; }
#fun
function space { python -c "print(\" \".join(\"$*\"))"; }

View File

@ -12,6 +12,8 @@ sources[wiby]="http://wiby.me/?q="
sources[arch]="https://wiki.archlinux.org/index.php?go=Go&search="
sources[mal]="https://myanimelist.net/anime.php?cat=anime&type=0&score=0&status=0&p=0&r=0&sm=0&sd=0&sy=0&em=0&ed=0&ey=0&c%5B%5D=a&c%5B%5D=b&c%5B%5D=c&c%5B%5D=f&q="
sources[meta]="https://metager.org/meta/meta.ger3?eingabe="
sources[jaded]="http://thejadednetwork.com/sfx/search/?submitSearch=Search+SFX&x=&keyword="
sources[vndb]="https://vndb.org/v?sq="
#https://apibay.org/q.php?cat=&q=
#https://apibay.org/t.php?id=
mag() { echo "magnet:?xt=urn:btih:$1&dn=${*:2}&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.bittor.pw%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Fbt.xxx-tracker.com%3A2710%2Fannounce&tr=udp%3A%2F%2Fpublic.popcorn-tracker.org%3A6969%2Fannounce&tr=udp%3A%2F%2Feddie4.nl%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce"; }