Skip to content

Instantly share code, notes, and snippets.

View skullvalanche's full-sized avatar

Skull skullvalanche

View GitHub Profile
@skullvalanche
skullvalanche / remove custom bandcamp theme.md
Created January 6, 2026 23:28
Bandcamp Custom Theme Remover Bookmarklet

Sometimes you encounter a bandcamp.com site that has the worst custom color scheme you've ever seen. It's not just ugly, you literally can't read the text because the colors are so poorly contrasting it makes you want to weep.

Well, weep no more. This bookmarklet will remove that custom theme and leave you with a blissfully legible page instead.

javascript:(function(){var%20el=document.getElementById('custom-design-rules-style');if(el){el.remove();}})();

How to install it

@skullvalanche
skullvalanche / generate_posters.py
Last active April 16, 2025 07:41 — forked from danielfariati/generate_posters.py
Generate posters for jellyfin
"""
This script generates posters for Jellyfin collections.
It creates a mosaic cover by combining the posters of all items in a collection.
The collection name is displayed in the center of the cover.
"""
import concurrent.futures
import math
from io import BytesIO
from sys import argv
@skullvalanche
skullvalanche / .alacritty.toml
Created March 4, 2025 20:00
alacritty config
# https://alacritty.org/config-alacritty.html
[window]
padding.x = 10
padding.y = 10
dimensions = { columns = 120, lines = 30 }
option_as_alt = "Both"
[font]
normal.family = "MesloLGS NF"
@skullvalanche
skullvalanche / git-config-cheatsheet.md
Created January 11, 2025 22:46
per repo git config cheatsheet

Set local User and Email

git config set user.name Skull git config set user.email skull@skullvalanche.com

Set local ssh command to use a specific key

git config core.sshCommand 'ssh -i ~/.ssh/github_skull_rsa_personal'

@skullvalanche
skullvalanche / precision-email.md
Created April 1, 2024 17:27
precision-email.md

https://hbr.org/2016/11/how-to-write-email-with-military-precision

How to Write Email with Military Precision

  1. Subjects with keywords

    • ACTION – Compulsory for the recipient to take some action
    • SIGN – Requires the signature of the recipient
    • INFO – Informational purposes only, no action required
  • DECISION – Requires a decision by the recipient
@skullvalanche
skullvalanche / first.md
Created August 28, 2023 15:58
first blog post

First blog post

You can use standard Markdown in here.

If you specify ".md" in your filename, it will automatically detect that it's a markdown format file.

@skullvalanche
skullvalanche / mastodon2html.py
Last active July 19, 2023 20:49
Convert a Mastodon output.json file into HTML
#!/usr/bin/env python
import sys
import json
import datetime
def get_content_values_from_json(json_file_path):
with open(json_file_path, 'r', encoding='ISO-8859-1') as file:
data = json.load(file)
@skullvalanche
skullvalanche / turntable-fm-auto-awesome.user.js
Created March 18, 2021 20:10
Turntable.fm auto-awesome userscript
// ==UserScript==
// @name Auto-awesome Turntable.fm
// @version 1.0
// @namespace https://github.com/skullvalanche
// @description Automatically clicks the 👍 button every 10s
// @author skull@skullvalanche.com
// @match https://turntable.fm/*
// @grant none
// ==/UserScript==