Skip to content

Instantly share code, notes, and snippets.

@momu
momu / Reload-At-Wallclock.user.js
Created December 1, 2023 10:31 — forked from mschmitt/Reload-At-Wallclock.user.js
Reload-At-Wallclock.user.js
// ==UserScript==
// @name Reload at Wallclock
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Reload at Wallclock
// @author You
// @match http://worldtimeapi.org/api/timezone/Europe/Berlin.txt
// @match https://tickets.events.ccc.de/*
// @grant none
// ==/UserScript==
@momu
momu / diff
Created November 24, 2016 09:22
diff -w reghack.c reghack2.c
1,2c1
< /*
< * reghack - Utility to binary-patch the embedded mac80211 regulatory rules.
---
> /* reghack - Utility to binary-patch the embedded mac80211 regulatory rules.
123a123,126
> }, {
> /* March 2016 addition */
> .desc = "core world8(?) regdomain in cfg80211/reg.o (new rule)",
> .reg = REG_MATCH("00", 8, NL80211_DFS_UNSET, REG_RULE(2402, 2472, 40, 6, 20, 0))