Skip to content

Instantly share code, notes, and snippets.

Avatar
😞
Losing it

Box O'Rocks rocx

😞
Losing it
View GitHub Profile
@rocx
rocx / ml20-mp.tex
Last active Apr 9, 2020
Microlite20: Magic Points Supplement
View ml20-mp.tex
\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},
}
@rocx
rocx / dice_sheet.tex
Last active Apr 20, 2020
Precomputed sheet of 500 die rolls
View dice_sheet.tex
% Local Variables:
% mode: latex
% TeX-engine: xetex
% fill-column: 64
% End:
\documentclass[12pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Sheet of Die Rolls %
@rocx
rocx / template.tex
Created Sep 5, 2019
LaTeX Document Template
View template.tex
% Local Variables:
% mode: latex
% TeX-engine: xetex
% fill-column: 78
% End:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in, paper=letterpaper]{geometry}
@rocx
rocx / post-receive
Last active Aug 19, 2017
Git hook to publish a la Jekyll
View post-receive
#!/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
You can’t perform that action at this time.