This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! 2024-02-23 https://www.phantomsandmonsters.com | |
www.phantomsandmonsters.com##div.separator > span > .separator | |
www.phantomsandmonsters.com##div.separator > span > div > div | |
||www.phantomsandmonsters.com/ezoimgfmt/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKOOyxs-r7qPL9LPnK1BGUAtiwqBNFp0ZzT1-Kd76B8HM9KS2d6RBuWrXSK8lWAqtXZaJQeKsiLHBPftawQa8n-Wckei2SPKXkXwQrIH3OmQCMBjGbE1DKDZGIV1jrkRleQ_08xgjxWrVmULpB-KsQw7Xa1XBZVq2_TCKD9z6LUngglcAK/w320-h91/buymeacoffee.JPG?ezimgfmt=rs:336x107/rscb1/ng:webp/ngcb1$image | |
www.phantomsandmonsters.com##div .post-body > div > div.separator | |
www.phantomsandmonsters.com##div .post-body > div > div > div.separator | |
www.phantomsandmonsters.com##div .post-body > div > center > div.separator | |
www.phantomsandmonsters.com##div > center > center > center > center | |
www.phantomsandmonsters.com##div.separator > p | |
www.phantomsandmonsters.com##div .post-body > div > span > span > div |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
let imageFile = fs.readFileSync('image.jpg', null).buffer | |
let imgArray = new Uint8Array(imageFile) | |
let text = '' | |
imgArray.forEach(n => { | |
text += String.fromCharCode(n + 256) | |
}) | |
console.table(imgArray, text, '\n') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
let imageFile = fs.readFileSync('image.jpg', null).buffer | |
let imgArray = new Uint8Array(imageFile) | |
let text = '' | |
imgArray.forEach(n => { | |
text += String.fromCharCode(n + 256) | |
}) | |
console.table(imgArray, text, '\n') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Get transmission credentials, if set | |
if [[ -n "$TRANSMISSION_USER" && -n "$TRANSMISSION_PASS" ]]; then | |
auth="${TRANSMISSION_USER:-user}:${TRANSMISSION_PASS:-password}" | |
else | |
auth= | |
fi | |
#https://gist.github.com/neuthral/3690548c19a7740a9620794bc4537568/raw/62791f6884897420c96c86c121529f1ef1671b84/alive_trackers_26_11_2022.txt | |
#https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://107.189.10.20.sslip.io:7777/announce | |
http://1337.abcvg.info:80/announce | |
http://207.241.226.111:6969/announce | |
http://207.241.231.226:6969/announce | |
http://bt.okmp3.ru:2710/announce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
# Loop through list of trackers and test if they are alive using nc | |
# nc -v -z -w 3 -u "$host" "$port" | |
## | |
usage () { | |
printf '\n%s\n' "Loop through list of trackers and test if they are alive using nc" | |
printf '\n%s\n\n' "Usage: $(basename "$0") [list-of-trackers.file]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
STRING=$1 | |
NUM=0 | |
until [[ $STRING -lt 10 ]] do; | |
foreach n in $(echo $STRING | fold -w1); do | |
echo "$NUM + $n"; | |
((NUM=NUM+n)); | |
echo " = $NUM"; | |
done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo $1 | |
echo "Removing --> time stuff" | |
sed -i '/-->/d' $1 | |
echo "Removing empty lines" | |
grep "\S" $1 > $1.txt | |
echo "wrap long lines to 96 characters" | |
fold -sw 96 $1.txt > $1.txt.fix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
youtube-get-subs() { | |
echo "getting filenames..." | |
filename=$(youtube-dl --simulate --get-title $1)-$(youtube-dl --simulate --get-id $1) | |
echo "Downloading video data" | |
youtube-dl --continue --write-auto-sub --sub-format vtt --sub-lang en --write-thumbnail --write-description --skip-download $1 | |
echo $filename | |
echo "Removing --> time stuff" | |
sed -i '/-->/d' $filename.en.vtt | |
echo "Removing empty lines" | |
grep "\S" $filename.en.vtt > $filename.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
################################################################################ | |
# Copyright (c) 2020 Plyint, LLC <contact@plyint.com>. All Rights Reserved. | |
# This file is licensed under the MIT License (MIT). | |
# Please see LICENSE.txt for more information. | |
# | |
# DESCRIPTION: | |
# This script allows a user to encrypt a password (or any other secret) at | |
# runtime and then use it, decrypted, within a script. This prevents shoulder | |
# surfing passwords and avoids storing the password in plain text, which could |
NewerOlder