Skip to content

Instantly share code, notes, and snippets.

@tavi-vi
tavi-vi / fsed
Created July 12, 2022 19:42
fsed: Mass file renaming using sed syntax
#!/bin/sh
if [ "$1" = '-f' ]
then
fflag='1'
shift
fi
while read i
do
@tavi-vi
tavi-vi / userChrome.css
Last active February 10, 2023 06:22
My userChrome.css for firefox 97
#titlebar {
appearance: none !important;
}
#tabbrowser-tabs {
--tab-min-height: 30px;
--proton-tab-block-margin: 0;
--tab-border-radius: 0;
}
@tavi-vi
tavi-vi / Old Reddit redirect
Last active February 27, 2025 07:07
Seamlessly redirect to old.reddit.com, tampermonkey script
// ==UserScript==
// @name old reddit
// @namespace http://tampermonkey.net/
// @version 0.6
// @description seamlessly redirect to old.reddit.com
// @author Tavi
// @match https://www.reddit.com/*
// @icon https://www.google.com/s2/favicons?domain=reddit.com
// @grant none
// @run-at document-start