Skip to content

Instantly share code, notes, and snippets.

pawohl /
Last active Feb 25, 2020 — forked from wikrie/
Fritzbox Fritz!Box AVM SSL Letsencrypt automatically update
set -euo pipefail
# parameters
USERNAME="maybe empty"
CERTPATH="path to cert eg /etc/letsencrypt/live/domain.tld/"
CERTPASSWORD="cert password if needed"
itod / fluid_gmail.js
Last active Jul 9, 2020
Gmail Fluid App Userscript
View fluid_gmail.js
window.fluid.dockBadge = '';
setTimeout(updateDockBadge, 1000);
setTimeout(updateDockBadge, 3000);
setInterval(updateDockBadge, 5000);
function updateDockBadge() {
var newBadge = '';
var res = findInboxAnchorMatchResult();
if (res) {
geoffgarside / cisco_config_parser.rb
Created May 25, 2011
Quick slapped together ruby class for parsing cisco router configuration files, only a start
View cisco_config_parser.rb
class CiscoConfigParser
def initialize(io)
@io = io
def parse
@io.each do |line|
if line =~ /^\!$/ # terminate current block
elsif line =~ /^\!/ # Comment
View index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="refresh" content="3600" />
<title>Scrobble Map</title>
<link rel="stylesheet" href="scrobblemap.css" type="text/css" media="screen" title="no title" charset="utf-8">
You can’t perform that action at this time.