Skip to content

Instantly share code, notes, and snippets.

View diiigle's full-sized avatar

Tobias Rittig, Ph.D. diiigle

View GitHub Profile
@diiigle
diiigle / acronym-workaround.tex
Created May 19, 2020 08:30
Acronym incompatibility hotfix for old TeX versions before 2019
% old TeX distributions (<2019) don't contain the capitalization feature yet
% provide a workaround here for the new acronym commands
\usepackage{acronym} % acronyms
\makeatletter
\@ifpackagelater{acronym}{2020/01/01}
{%
% Do nothing for the newer version
}
{%
\renewcommand{\Acl}[1]{\acl{#1}(\textbf{properly capitalized})}
@diiigle
diiigle / Google Chrome always incognito on Windows
Last active November 27, 2018 09:10
Enable default incognito mode for Google Chrome on Windows even when clicking on a link!
.
@diiigle
diiigle / setOps.js
Last active September 1, 2015 11:59 — forked from jabney/setOps.js
Async JavaScript set operations: union, intersection, difference, complement, and equals. Includes support for objects.
// setOps.js MIT License © 2014 James Abney http://github.com/jabney
// async.js modification © 2015 Tobias Rittig http://github.com/diiigle
// Set operations union, intersection, symmetric difference,
// relative complement, equals. Set operations are fast.
(function() {
'use strict';
var so = {};
// global on the server, window in the browser