Skip to content

Instantly share code, notes, and snippets.

View smmr0's full-sized avatar

Summer ☀️ smmr0

View GitHub Profile
@smmr0
smmr0 / logid.cfg
Last active April 11, 2025 01:26
logiops config
devices: (
{
name: "MX Master 3S";
hiresscroll: {
hires: true;
invert: false;
target: false;
};
buttons: (
{
@smmr0
smmr0 / .gitconfig-organization.local
Last active August 8, 2024 20:26
Git: Organization config
[user]
name = …
email = …
signingkey =
@smmr0
smmr0 / userChrome.css
Last active July 23, 2023 19:02
Firefox: User chrome
/* Moved to https://gist.github.com/smmr0/2463f83c858f7af7ba018a19e8fa07df#file-userchrome-css */
@smmr0
smmr0 / autoconfig.js
Last active March 31, 2025 01:29
Firefox Developer Edition/Betterbird: Desktop friendlier
// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
pref('general.config.filename', 'firefox.cfg');
pref('general.config.obscure_value', 0);
@smmr0
smmr0 / do-app-update
Last active October 4, 2021 00:26
do-app-update
#!/usr/bin/env sh
set -e
app_name="$1"
app_id="$(doctl apps list --format 'Spec.Name,ID' | tail -n +2 | awk -v "app_name=$app_name" '$1 = $app_name { print $2 }')"
tempfile="$(mktemp --tmpdir "do-$app_name-XXXXXXXXXX.yaml")"
trap 'rm -f "$tempfile"' EXIT