Skip to content

Instantly share code, notes, and snippets.

@efortner
efortner / README.md
Created May 25, 2025 21:41
D&D 5e System Reference Document Monsters

D&D 5e System Reference Document Monsters

Description

This re-exports tkfu's srd_5e_monsters.json Gist into a more machine-readable format. This is slightly lossy from the original scrape as HTML tags have been scrubbed and some small details may be missing.

Source

The latest version of this file is available here. Attack rolls were extracted using Meta Llama 4 Scout through Ollama.

Interfaces

TypeScript interfaces for both the original and re-exported files are here.

@IslandJohn
IslandJohn / toggle_1x1_2pos.py
Created August 10, 2020 02:40
Joystick Gremlin plugin to remap the OFF/ON states of a physical toggle switch to 2 virtual buttons, simulating an ON/ON toggle switch.
import gremlin
from gremlin.user_plugin import *
mode = ModeVariable(
"Mode",
"The mode to use for this instance"
)
joy_1 = PhysicalInputVariable(
"Physical ON",
@IslandJohn
IslandJohn / toggle_1x2_3pos.py
Last active December 24, 2022 14:43
Joystick Gremlin plugin to remap the OFF/ON/ON states of a physical toggle switch to 3 virtual buttons, simulating an ON/ON/ON toggle switch.
import gremlin
from gremlin.user_plugin import *
mode = ModeVariable(
"Mode",
"The mode to use for this instance"
)
joy_1 = PhysicalInputVariable(
"Physical ON 1",
@IanColdwater
IanColdwater / twittermute.txt
Last active December 6, 2025 11:37
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@3f8wohoo
3f8wohoo / rename-torrent.sh
Created February 9, 2019 14:02
Extract name from torrent and rename .torrent file
#!/bin/bash
# Usage: rename-torrent.sh /path/to/torrents /path/to/output
#
# read-torrent must be installed
# npm install -g read-torrent
if [[ -z $1 ]]; then
echo "No input path specified!"
exit 1
else
@Chion82
Chion82 / iana_openssl_cipher_mapping.json
Created January 25, 2019 06:40
Mapping OpenSSL cipher suite names to IANA names. https://testssl.sh/openssl-iana.mapping.html
{
"TLS_RSA_WITH_NULL_MD5":"NULL-MD5",
"TLS_RSA_WITH_NULL_SHA":"NULL-SHA",
"TLS_RSA_EXPORT_WITH_RC4_40_MD5":"EXP-RC4-MD5",
"TLS_RSA_WITH_RC4_128_MD5":"RC4-MD5",
"TLS_RSA_WITH_RC4_128_SHA":"RC4-SHA",
"TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5":"EXP-RC2-CBC-MD5",
"TLS_RSA_WITH_IDEA_CBC_SHA":"IDEA-CBC-SHA",
"TLS_RSA_EXPORT_WITH_DES40_CBC_SHA":"EXP-DES-CBC-SHA",
"TLS_RSA_WITH_DES_CBC_SHA":"DES-CBC-SHA",
@tkfu
tkfu / srd_5e_monsters.json
Last active November 25, 2025 15:11
A JSON file with all the D&D 5e SRD monster data
[
{
"name": "Aboleth",
"meta": "Large aberration, lawful evil",
"Armor Class": "17 (Natural Armor)",
"Hit Points": "135 (18d10 + 36)",
"Speed": "10 ft., swim 40 ft. ",
"STR": "21",
"STR_mod": "(+5)",
"DEX": "9",
@shr00mie
shr00mie / letsencrypt_esxi.sh
Last active June 13, 2024 22:32
Let's Encrypt SSL for ESXi
#!/bin/bash
#
## -----------------------------=[ WARNING ]=-------------------------------- ##
#
# This script is now woefully out of date due to which accounts ESXi allows to
# ssh into the box as well as sticky folders/file flags.
# I've since ported the whole thing to python with a lot of bells and whistles
# and if i get around to making it public, i'll put a link here.
#
## -------------------------------=[ Info ]=--------------------------------- ##
@rueycheng
rueycheng / GNU-Make.md
Last active October 25, 2025 15:47
GNU Make cheatsheet
@hjst
hjst / Makefile
Created June 6, 2017 18:58
Makefile for use with PlantUML diagrams
PLANTUML_JAR_URL = https://sourceforge.net/projects/plantuml/files/plantuml.jar/download
DIAGRAMS_SRC := $(wildcard diagrams/*.plantuml)
DIAGRAMS_PNG := $(addsuffix .png, $(basename $(DIAGRAMS_SRC)))
DIAGRAMS_SVG := $(addsuffix .svg, $(basename $(DIAGRAMS_SRC)))
# Default target first; build PNGs, probably what we want most of the time
png: plantuml.jar $(DIAGRAMS_PNG)
# SVG are nice-to-have but don't need to build by default
svg: plantuml.jar $(DIAGRAMS_SVG)