Skip to content

Instantly share code, notes, and snippets.

View skid9000's full-sized avatar
🏠
Working from home

Skid skid9000

🏠
Working from home
View GitHub Profile
@aeris
aeris / kitten.ino
Last active February 17, 2018 00:17
Kitten laser tower
// License: AGPLv3
#include <Servo.h>
#define MIN_DURATION 200
#define MAX_DURATION 500
#define MIN_FREEZE 100
#define MAX_FREEZE 200
#define LASER_PIN 9
class PanTilt {
@inks007
inks007 / crunchyflare_premium.py
Last active September 4, 2018 21:12 — forked from kaithar/crunchyflare.py
Cloudflare is a lovely thing when I'm not trying to work around it...
import cfscrape
import http.cookiejar
from bs4 import BeautifulSoup
scraper = cfscrape.create_scraper()
try:
import config
scraper.headers["User-Agent"] = config.UA
except:
#!/bin/bash
modprobe -r ec_sys
modprobe ec_sys write_support=1
on="\x8a"
off="\x0a"
led(){
echo -n -e $1 | dd of="/sys/kernel/debug/ec/ec0/io" bs=1 seek=12 count=1 conv=notrunc 2> /dev/null