Skip to content

Instantly share code, notes, and snippets.

@mmmaisel
mmmaisel / firefox.js
Created April 3, 2023 19:56
Firefox about:config settings
// IMPORTANT: Start your code on the 2nd line
// Disable experiments
pref("app.normandy.enabled", false);
pref("app.normandy.first_run", false);
pref("app.normandy.api_url", "");
pref("app.normandy.migrationsApplied", 2);
pref("app.normandy.shieldLearnMoreUrl", "");
pref("app.normandy.user_id", "");
pref("app.shield.optoutstudies.enabled", false);
@mmmaisel
mmmaisel / timetrack.py
Last active April 2, 2023 16:29
Utility script to calculate worktime.
#!/usr/bin/env python3
import argparse
import csv
from datetime import datetime, timedelta
FREE = "free"
VACATION = "vac"
COLOR_RED = "\033[91m"
@mmmaisel
mmmaisel / bash_profile
Last active April 7, 2026 18:29
dotfiles
source ~/.bashrc
umask 027
#export GTK_THEME=
@mmmaisel
mmmaisel / loudness.m
Created July 20, 2018 14:56
EBU R128 loudness script
#!/usr/bin/octave -qf
## Copyright (C) 2018 Max Maisel
##
## This program is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of