Skip to content

Instantly share code, notes, and snippets.

View paperbenni's full-sized avatar

paperbenni

View GitHub Profile
@paperbenni
paperbenni / a
Last active March 24, 2022 16:38
a
a
hello world
a
a
a
a
a
a
@paperbenni
paperbenni / fix.sh
Created July 22, 2021 12:00
instantOS iso beta 6 installer fix
#!/bin/bash
# fix default mirrors for the beta 6 installation iso
curl -s 'https://archlinux.org/mirrorlist/?country=all&protocol=http&protocol=https&ip_version=4&use_mirror_status=on' | sed 's/^#//g' | sudo tee /etc/pacman.d/mirrorlist
#!/bin/bash
echo "$0"
SCRIPTPATH="$(
cd "$(dirname "$0")" >/dev/null 2>&1
pwd -P
)"
echo "$SCRIPTPATH"
#!/bin/bash
checkfolder(){
[ -e "$1" ] || return
cd "$1"
echo "checking $1"
git status
cd ..
}
b
f
h
m
r
s
w
y
rf
sc
#!/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
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))
@paperbenni
paperbenni / snake.py
Last active September 30, 2019 11:49
import random
import curses
import time
from automaton import machines
# automat start
################################################
################################################
################################################
@paperbenni
paperbenni / README.md
Last active March 12, 2019 15:34
asciinema test
... <script src="/asciinema-player.js"></script>
@paperbenni
paperbenni / clone.bash
Last active October 13, 2018 11:27 — forked from milanboers/clone.bash
Clone all repositories of a Github user
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