Skip to content

Instantly share code, notes, and snippets.

View EvanEdwards's full-sized avatar

Evan Edwards EvanEdwards

View GitHub Profile
@EvanEdwards
EvanEdwards / Claude Desktop Man Page .md
Last active September 30, 2025 16:01
Claude Desktop Man Page

Stash this in ~/.local/share/man/man1 and you're good. This is unofficial and generated by Claude. I was trying to figure out a "launch to system tray" for KDE, so it has a bit of a focus on that.

@EvanEdwards
EvanEdwards / README.md
Last active September 18, 2025 06:21
Youtube Playlist Height Toggle

This adds an extra button to the Youtube playlist. Clicking it will remove the max-height limitation on the playlist. This allows easier browsing and dragging and dropping to reorder the videos in the playlist.

image

The arrow is the new button, which toggles the height from unlimited to 600px.

Use the inject.js in any JS injection tool for Youtube.com. I personally like "User JS and CSS Script and Style Manager Extension for chrome".

@EvanEdwards
EvanEdwards / README.md
Created December 20, 2024 09:51
Was Mr. Cheddar really fondue?

Was Mr. Cheddar really fondue?

To answer the run-dmg skit, where in episode 9 of "When the Rules Lawyer wants to build a nuke" the DM calculates the D&D 5e damage for a Little Boy nuclear weapon to settle a question for a player.

Link to the episode in question: https://www.youtube.com/shorts/3axQJ834AdQ

It usually spits out about 347 million and change HP in damage.

@EvanEdwards
EvanEdwards / Example.md
Last active June 10, 2024 05:31
Obsidian folder navbar.
await dv.view();

The content goes here, and a navigation appears above, with all files in the current directory or tagged with a tag that matches the name of the directory. It works great with Obsidian Folder Notes.

You can also manually specify it with dv.view("ShrimpFashion") and all files in /StrimpFashion or tagged #ShrimpFashion will be displayed.

This is a quick and dirty dump of this for a friend. It is possible the css is missing something, as it's out of my snippets directory and may have dependencies I did not include here. If he uses it and it fails, I'll have a bug report and will update it.

@EvanEdwards
EvanEdwards / pandoc2handlebars.sh
Last active January 27, 2024 01:43
Convert pandoc template to handlebars (partial)
#!/bin/bash
if [ $# -lt 1 ] || [ "$1" == "--help" ] || [ "$1" == "-h" ]
then
echo "pandoc2handlebars.sh FILE [FILE...]
Converts (partially) the given Pandoc templates to Handlebars files.
Hand edit the \$for(var)\$ and other unconverted bits.
"