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
#!/usr/bin/env bash | |
# For format of 64 chars without 0x at the start | |
# Source script from: https://github.com/grondilu/bitcoin-bash-tools.git | |
source ./bitcoin.sh | |
while read k; do | |
PUBLIC=$(newBitcoinKey 0x$k \ | |
| grep bitcoin\ address \ | |
| head -1 \ |
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
#!/usr/bin/env bash | |
# For keys in format of 66 chars starting with 0x | |
# Source script from: https://github.com/grondilu/bitcoin-bash-tools.git | |
source ./bitcoin.sh | |
while read k; do | |
WALLET=$(newBitcoinKey $k \ | |
| grep bitcoin\ address \ | |
| cut -f 2 -d ":" \ |
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
# run command below in the folder of Telegram Chat Export | |
lynx -dump -listonly *.html \ | |
| grep http \ | |
| uniq > /tmp/links \ | |
&& sed -i.bak '/t.me/d' /tmp/links | |
# Once links extracted, you can download all YouTube videos with | |
cat /tmp/links | grep youtu | xargs -L1 youtube-dl |
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
#!/usr/bin/env bash | |
echo "" | |
while IFS=, read -r CARD_NUMBER CARD_PIN | |
do | |
printf "$CARD_NUMBER " | |
wget -O - -o /dev/null https://www.starbucks.com/card/guestbalance --post-data="Card.Number=$CARD_NUMBER&Card.Pin=$CARD_PIN" \ | |
| grep fetch_balance_value \ | |
| grep -oP '\>\K[^</]+' | |
done < cards.csv |
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
wget -O - -o /dev/null https://www.starbucks.com/card/guestbalance --post-data="Card.Number=$CARD_NUMBER&Card.Pin=$CARD_PIN" | grep fetch_balance_value |
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
range = $(if $(filter $1,$(lastword $3)),$3,$(call range,$1,$2,$3 $(words $3))) | |
make_range = $(foreach i,$(call range,$1),$(call range,$2)) | |
equal = $(if $(filter-out $1,$2),,$1) | |
limit := 101 | |
numbers := $(wordlist 2,$(limit),$(call range,$(limit))) | |
threes := $(wordlist 2,$(limit),$(call make_range,$(limit),2)) | |
fives := $(wordlist 2,$(limit),$(call make_range,$(limit),4)) | |
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 botBuilder = require('claudia-bot-builder'); | |
const AIMLInterpreter = require('aimlinterpreter'); | |
var aimlInterpreter = new AIMLInterpreter({name:'Philip', age:'42'}); | |
aimlInterpreter.loadAIMLFilesIntoArray(["aiml/bot.aiml"]); | |
module.exports = botBuilder(function (request) { | |
}); | |
module.exports = botBuilder(message => { | |
aimlInterpreter.findAnswerInLoadedAIMLFiles("how do you work?", function(answer, wildCardArray, input){ |
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
Verifying my identity on Peepeth.com 0xe07e487d5a5e1098bbb4d259dac5ef83ae273f4e |
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
# command to remove all deployments, services, and pods, with y/N prompt | |
cleankube() { | |
read -r -p "Are you sure you want to delete all deployments, services, and pods? [y/N] " response | |
case "$response" in | |
[yY][eE][sS]|[yY]) | |
kubectl delete deployment --all && kubectl delete pods --all && kubectl delete services --all | |
;; | |
*) | |
esac | |
} |
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
FROM alpine | |
MAINTAINER [email protected] | |
# Checks if a port is open every 15 seconds | |
# Set the following variables | |
ENV WEBSITE google.com | |
ENV PORT 777 | |
ENV PORT_DOWN_MSG 'Port is down send this message via email/text/ect' |