Skip to content

Instantly share code, notes, and snippets.

View minils's full-sized avatar

minils

View GitHub Profile
#!/bin/bash
# in /etc/ddclient.conf:
# postscript=/opt/scripts/update_ipv6.sh
function update_domain() {
DOMAIN=$1
USERNAME=$2
PASSWORD=$3
SERVER=$4
#DEVICE="dev eth0"
@trent2
trent2 / unob_spiegelplus.user.js
Last active February 22, 2022 06:47
Unobfuscate SPIEGEL plus articles with greasemonkey
// ==UserScript==
// @name unobfuscate spiegel plus
// @namespace obfuscate
// @include http://www.spiegel.de/*
// @version 1
// @grant none
// ==/UserScript==
if(document.getElementsByClassName('obfuscated-content')[0] != undefined) {
document.getElementsByClassName('obfuscated-content')[0].setAttribute("class", "");
var elems = document.getElementsByClassName('obfuscated'), t, or, c, i, cc;