Skip to content

Instantly share code, notes, and snippets.

View crab.txt
pay no attention to this
ejmg / bash-BNF-grammar.txt
Last active October 28, 2018 21:46
don't ask
View bash-BNF-grammar.txt
<letter> ::= a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|
<digit> ::= 0|1|2|3|4|5|6|7|8|9
<number> ::= <digit>
| <number> <digit>
<word> ::= <letter>
| <word> <letter>
ejmg /
Created October 13, 2018 18:40
"The best way to store your dotfiles: A bare Git repository" tutorial ripped directly from for posterity and because I haven't documented it my org file yet and I don't want to lose it.
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 2 column 43
link: null
title: The best way to store your dotfiles: A bare Git repository
description: Recently I read about this amazing technique in an Hacker News thread on people's solutions to store their dotfiles. User StreakyCobra showed his elegant setup and ... It made so much sense! I am in the process of switching my own system to the same technique. The only pre-requisite is to install Git.
keywords: null
author: null
date: null
publisher: Atlassian Developers
stats: paragraph=37 sentences=63, words=860
ejmg /
Last active September 12, 2018 06:02
how to hack nice footnotes into github flavored markdown using manual html superscripts and github's built in hyperlinks for backreferences.

wutang clan ain't nothing to frick with1


ejmg /
Created April 29, 2018 04:39 — forked from pylover/
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3.5
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5.
Workaround for bug:
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
ejmg / unfavorite.js
Created April 11, 2018 03:13 — forked from ashander/unfavorite.js
Delete all your favorites (unfavorite or unlike every tweet) on (thx to @JamieMason and @b44rd for inspiring this)
View unfavorite.js
// 1. Go to
// 2. Keep scrolling to the bottom repeatedly until all your favs are loaded.
// 3. Run this in your console (open in chrome by View > Developer > JavaScript Console)
// Notes: this may take a while if you have a lot of favs/likes
// you can only access your most recent ~2000 likes.
// inspired by
ejmg / he-warned-every-single-one-of-us.txt
Created November 1, 2017 13:27
html placeholder friendly version of Baudrillard's seminal non-fiction work of how we all will achieve utopian happiness via technology
View he-warned-every-single-one-of-us.txt
"Everything begain with objects, yet there is no longer a system of objects. The critique of objects was based on signs saturated with meaning, along with their phantasies and unconscious logic as well as their prestigious differential logic. Behind this dual logic lies the anthropological dream: the dream of the object as existing beyond and above exchange and use, above and beyond equivalence; the dream of a sacrificial logic, of gift, expenditure, potlatch, &quotdevil's share&quot consumption, symbolic exchange.1
All this still exists, and simultaneously it is disappearing. The description of this projective imaginary and symbolic universe was still the one of the obect as the mirror of the subject. The opposition of the subject and the object was still significant, as was the profound imaginary of the mirror and the scene.2 The scene of history as well as the scene of the everyday emerge in the shadow of history as it is progressively divested of po
ejmg / two-figures.tex
Created October 19, 2017 23:37
how to put two figures, side by side proportionally, in a latex file
View two-figures.tex
% in combination with floatrow for properly adjusted figures, placeins ensures said figures appear
% where they are declared within the latex code, i.e. in subsection Part I of this paper. For proper
% usage with subsections, MUST use \FloatBarrier command after done with a figure
% ensures captions are properly centered under their respective figures
% special command for table captions