Skip to content

Instantly share code, notes, and snippets.

View rocx's full-sized avatar
📦

Box O'Rocks rocx

📦
View GitHub Profile
@rocx
rocx / post-receive
Last active August 19, 2017 18:25
Git hook to publish a la Jekyll
#!/usr/bin/env sh
# post-receive - build the site after a push
# TODO: a pre-something hook to check if it would build.
# TODO: change this hook to checking if the produced markup is valid.
# more or less the hook from http://jekyllrb.com/docs/deployment-methods/
REPO=/var/www/repos/my-site.git
TEMP=`mktemp -dt site-XXXXXX`
SITE=/var/www/my-site
@rocx
rocx / template.tex
Created September 5, 2019 02:23
LaTeX Document Template
% Local Variables:
% mode: latex
% TeX-engine: xetex
% fill-column: 78
% End:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in, paper=letterpaper]{geometry}
@rocx
rocx / dice_sheet.tex
Last active April 20, 2020 22:13
Precomputed sheet of 500 die rolls
% Local Variables:
% mode: latex
% TeX-engine: xetex
% fill-column: 64
% End:
\documentclass[12pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Sheet of Die Rolls %
@rocx
rocx / ml20-mp.tex
Last active April 9, 2020 02:39
Microlite20: Magic Points Supplement
\documentclass[twocolumn,letterpaper,10pt]{article}
\usepackage[margin=0.5in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[hidelinks]{hyperref}
\hypersetup{
pdftitle={Magic Points for Lightweight 20-Sided Gaming},
pdfauthor={Box O'Rocks},
}