Skip to content

Instantly share code, notes, and snippets.

View glektarssza's full-sized avatar
🐍
Hisssssss!

G'lek Tarssza glektarssza

🐍
Hisssssss!
View GitHub Profile
@glektarssza
glektarssza / .gitconfig
Last active April 22, 2025 10:59
Git Prune Branches (w/ alias version)
[alias]
prune-branches = "!f() { git fetch --prune && for BRANCH in $(git for-each-ref --format '%(refname) %(upstream:track)' refs/heads | awk '$2 == \"[gone]\" {sub(\"refs/heads/\", \"\", $1); print $1}'); do git branch $([[ $@ =~ --force ]] && echo \"-D\" || echo \"-d\") $BRANCH; done };f"
@glektarssza
glektarssza / anti-youtube-birthday-gm.js
Last active April 24, 2025 21:54
YouTube Anti-20th Birthday Changes Greasemonkey Script
// ==UserScript==
// @name YouTube Anti-20th Birthday Limited Item Per Row Script
// @version 0.0.3
// @description Increase the number of videos per row on the YouTube home page in opposition to their 20th birthday changes.
// @author G'lek Tarssza
// @copyright Copyright (c) 2025 G'lek Tarssza
// @namespace https://glektarssza.com/
// @source https://gist.github.com/glektarssza/4ad84d315260adae6649d46ebbcd7852
// @updateURL https://gist.github.com/glektarssza/4ad84d315260adae6649d46ebbcd7852/raw/anti-youtube-birthday-gm.js
// @downloadURL https://gist.github.com/glektarssza/4ad84d315260adae6649d46ebbcd7852/raw/anti-youtube-birthday-gm.js