- make a partition for arch in macos with disk utilities
- filesystem doesn't matter
- launch live system
setfont latarcyrheb-sun32
- run
cgdisk
- wipe the partition you made in macos
- create a partition for root
/
(~25G)- type
+128M
for the first sector
- type
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 | |
# search for your driver in /sys/class/backlight | |
# usage: backlight intel_backlight inc 10 | |
# this will increase your backlight by 10 % (5 is default) | |
rootpath='/sys/class/backlight/' | |
driver=$1 | |
brightness_file=$rootpath$driver'/brightness' |
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 | |
owner="breuerfelix" | |
repos=" | |
instapy-gui | |
jinsta | |
" | |
for repo in $repos | |
do |
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
import RPi.GPIO as board | |
import time | |
import json | |
# bewegungssensor plus ist rechts wenn man auf die rueckseite guckt und die kontakte oben sind | |
board.setwarnings(False) | |
board.setmode(board.BCM) | |
data_path = './data.json' |
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
import RPi.GPIO as board | |
import time | |
import os | |
import datetime | |
# setup | |
board.setwarnings(False) | |
board.setmode(board.BCM) | |
pin = 17 |
I hereby claim:
- I am breuerfelix on github.
- I am felixbreuer (https://keybase.io/felixbreuer) on keybase.
- I have a public key ASAmTUqDAcRiOiOZTIXtRLRhTloUbLntsS9pqD4xKEuNZAo
To claim this, I am signing this object:
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
import sys | |
import random | |
from statistics import mean, median | |
from collections import Counter | |
from tflearn.layers.core import input_data, dropout, fully_connected | |
from tflearn.layers.estimator import regression | |
import numpy as np | |
import tflearn | |
import gym |
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
import requests | |
import time | |
s = requests.Session() | |
username = 'scriptworld' | |
password = 'apitest123' | |
gameworld = 'en104' | |
s.headers['User-Agent'] = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:63.0) Gecko/20100101 Firefox/63.0" |
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
# constants | |
CHROME_DL_URL = 'https://chromedriver.storage.googleapis.com' | |
CHROME_URL = 'http://chromedriver.chromium.org/downloads' | |
REPO_PATH = './GitHub/chromedriver-py/' | |
VERSION_FILE = './GitHub/chromedriver-py/version.txt' | |
DOWNLOAD_DIR = './' | |
CURRENT_VERSION = [] | |
UPDATE_SCRIPT = './update_chromedriver.sh' | |
# chromedriver versions for downloading only |
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 off | |
set to=15 | |
:loop | |
rem moves to execution directory | |
cd %~dp0 | |
rem executes devcon.exe with rescan | |
devcon.exe rescan |
NewerOlder