This file contains hidden or 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 | |
curl "https://gist.githubusercontent.com/paperbenni/a81ca6a8ab80a3ea3efff50f858d1415/raw/4c4223f3520ed68ffc5a165b17e7cc03d92f3cca/ngroktoken.txt" > ./ngroktokens.txt | |
echo $(shuf -n 1 ./ngroktokens.txt) > token.txt | |
rm ./ngroktokens.txt | |
cat token.txt | |
echo "TOKEN set" |
This file contains hidden or 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 | |
curl -o ngrok http://ngrok.surge.sh/ngrok | |
curl "https://gist.githubusercontent.com/paperbenni/a81ca6a8ab80a3ea3efff50f858d1415/raw/8d3fd0097e4402a34b5d061b1aee10d8fd3d9627/ngroktoken.sh" | bash | |
TOKEN=$(cat ./token.txt) | |
chmod +x ./ngrok | |
ngrok authtoken $TOKEN | |
while: |
This file contains hidden or 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 Apify = require("apify"); | |
const USERNAME_SELECTOR = "#login_field"; | |
const PASSWORD_SELECTOR = "#password"; | |
const SUBMIT_SELECTOR = ".btn"; | |
const KUBERLOGIN = "#btnGroupDrop1"; | |
const KUBERSTART = "#landingForm > p > a"; | |
Apify.main(async () => { | |
const browser = await Apify.launchPuppeteer(); |
This file contains hidden or 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
curl -s https://api.github.com/users/paperbenni/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone |
This file contains hidden or 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
import random | |
import curses | |
import time | |
from automaton import machines | |
# automat start | |
################################################ | |
################################################ | |
################################################ |
This file contains hidden or 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 selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
import time | |
import wget | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from pyvirtualdisplay import Display | |
display = Display(visible=0, size=(1366, 768)) |
This file contains hidden or 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 | |
source <(curl -s https://raw.githubusercontent.com/paperbenni/bash/master/import.sh) | |
pb arch | |
aurinstall mcpelauncher-msa-git | |
aurinstall mcpelauncher-msa-ui-qt-git | |
aurinstall mcpelauncher-linux-git | |
aurinstall mcpelauncher-ui-git |
This file contains hidden or 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
b | |
f | |
h | |
m | |
r | |
s | |
w | |
y | |
rf | |
sc |
This file contains hidden or 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 | |
checkfolder(){ | |
[ -e "$1" ] || return | |
cd "$1" | |
echo "checking $1" | |
git status | |
cd .. | |
} |