Skip to content

Instantly share code, notes, and snippets.

View yo-bur's full-sized avatar
🍁
yo yo yo

Johann Burgess yo-bur

🍁
yo yo yo
View GitHub Profile
@yo-bur
yo-bur / pwa-everything.user.js
Created May 11, 2025 18:00 — forked from evanreichard/pwa-everything.user.js
pwa-everything.user.js
// ==UserScript==
// @name PWA Everything
// @author Evan Reichard
// @version 0.0.1
// @match *://*/*
// @grant none
// @run-at document-idle
// @noframes
// ==/UserScript==
// (C)2009 Willem Hengeveld [email protected]
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdint.h>
#include <string.h>
#include <algorithm>
// streaming version of the lzss algorithm, as defined in BootX-75/bootx.tproj/sl.subproj/lzss.c
// you can use lzssdec in a filter, like:
@yo-bur
yo-bur / flask_ip.py
Last active January 12, 2019 03:17
Spawn a HTTP endpoint that returns the IP address of the connecting request.
# Spawn a HTTP endpoint "/ip" that returns the IP address of the connecting
# request. Requires flask.
HOST = "0.0.0.0"
PORT = 7000
METHODS = ["GET"]
# -- nothing configurable below here -- #
from flask import request
@yo-bur
yo-bur / config.vpn
Created January 8, 2019 11:50
Mac PPTP VPN
plugin PPTP.ppp
noauth
remoteaddress "<HOST>"
user "<USERNAME>"
password "<PASSWORD>"
redialcount 1
redialtimer 5
idle 1800
# mru 1368
# mtu 1368