Skip to content

Instantly share code, notes, and snippets.

View tdhsmith's full-sized avatar

t d h smith tdhsmith

View GitHub Profile
@tdhsmith
tdhsmith / OLGS_CA_game_inventory_hack.user.js
Created October 18, 2017 16:53
Very rough userscript to expose exact inventory data on Canadian games retailers BGB and 401G
// ==UserScript==
// @match https://store.401games.ca/*
// @match https://www.boardgamebliss.com/*
// ==/UserScript==
const is401 = document.location.host.indexOf("401") > -1;
function getProduct() {
try {
if (is401) {
const wrapper = document.getElementById("ProductJson-product-template");
@tdhsmith
tdhsmith / chronicle_template.tex
Created September 16, 2020 23:32
Pathfinder 2e Chronicle Generator
\documentclass[]{article}
\usepackage{wallpaper, array}
\usepackage{calc}
\usepackage{etoolbox}
\usepackage{tikz}
\usetikzlibrary{patterns}
\usetikzlibrary{calc}
\usepackage[absolute,overlay]{textpos}
@tdhsmith
tdhsmith / botc_fsa.json
Created April 12, 2026 16:54
BOTC Foul Selene's Ascension
[
{
"id": "_meta",
"author": "darvey",
"name": "Foul Selene's Ascension (v0.2.2)",
"firstNight": [
"darvonics_intern",
"dusk",
"darvonics_notary",
"reddit_caretaker",
@tdhsmith
tdhsmith / botc_sandp.json
Created April 12, 2026 16:55
BOTC Schismsand Pansies
[
{
"id": "_meta",
"author": "Darvey",
"name": "Schisms and Pansies (v0.4.2)",
"firstNight": [
"dusk",
"minioninfo",
"bootleggersanthology_insysns",
"demoninfo",
@tdhsmith
tdhsmith / botc_sv_subbed.json
Created April 12, 2026 18:07
BOTC S&V subs
[
{
"id": "potatopatch_groundskeeper",
"name": "Groundskeeper",
"image": "https://www.bloodstar.xyz/p/Gobinator/The_Potato_Patch_Part_1/groundskeeper_the_potato_patch_part_1.png",
"team": "townsfolk",
"ability": "The Grimoire is arranged according to a pattern. [+Gardener]",
"flavor": "Eyy Orp! Mahnd the graass wou'd'n yer! I'v'n jus' plaanter'd that this mornan'!",
"firstNight": 0,
"otherNight": 0,