Skip to content

Instantly share code, notes, and snippets.

@evpo
evpo / bash.log
Created February 10, 2018 13:01
GnuPG: Sample commands to store master key offline and use subkeys
##############################
# In your underground bunker:
##############################
ubuntu@sign-key-owner:~$ gpg2 --list-secret-keys
/home/ubuntu/.gnupg/pubring.gpg
-------------------------------
sec rsa2048/26AD9CA6 2018-02-10 [SC] [expires: 2018-02-20]
uid [ultimate] Shelling Point <nowhere@north.pole>
ssb rsa2048/4CC51AF4 2018-02-10 [E] [expires: 2018-02-20]
@jalavik
jalavik / unicode_to_latex.py
Created May 17, 2011 11:04 — forked from beniwohli/unicode_to_latex.py
Map to convert unicode characters to their respective LaTeX representation
# original XML at http://www.w3.org/Math/characters/unicode.xml
# XSL for conversion: https://gist.github.com/798546
unicode_to_latex = {
u"\u0020": "\\space ",
u"\u0023": "\\#",
u"\u0024": "\\textdollar ",
u"\u0025": "\\%",
u"\u0026": "\\&amp;",