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}