Skip to content

Instantly share code, notes, and snippets.

View kittsville's full-sized avatar
🦆
Scala? Never heard of er

Kit kittsville

🦆
Scala? Never heard of er
View GitHub Profile
@kittsville
kittsville / Useful LaTeX Stuff.tex
Last active February 20, 2017 11:39
Config/function names/general stuff I use in LaTeX. Easier than remembering the last project I used $thing in
%
% Many of things involve solutions from TeX, the LaTeX Stack Exchange
% You guys are amazing
%
% Stops ugly hyperlink box
\documentclass[11pt,hidelinks]{article}
% Custom margins using Geometry package
@kittsville
kittsville / NppGCC Makefile
Created November 24, 2015 16:16
Compiles a C project using the makefile in the same directory as the current Npp file
NPP_SAVE
cd "$(FULL_CURRENT_PATH)"
mingw32-make
@kittsville
kittsville / Steam Workshop Unsubscribe
Created September 30, 2015 16:42
A JavaScript one-liner to un-subscribe you from a page's worth of Steam workshop subscriptions
jQuery("a[id^='UnsubscribeItemBtn']").each(function(i,e){e.click();});console.log('Done!');
@kittsville
kittsville / DM of the Rings Scraper.py
Last active September 30, 2015 16:43
A small Python script to download all of the pages from DM of the Rings by Shamus Young
# DM of the Rings Scraper
# A web comic scraper that downloads all pages of Shamus Young's DM of the Rings for your offline reading pleasure
# By Kit Maywood
# @kittsville
# License: WTFPL
# Python v: 2.6
import os
import sys
import urllib