(Also see [remarkable][], the markdown parser created by the author of this cheatsheet)
#!/usr/bin/python | |
# Converts a Keepassx XML export to a format suitable | |
# for use with Vim and GPG as described in | |
# http://pig-monkey.com/2013/04/4/password-management-vim-gnupg/ | |
import os | |
import sys | |
import argparse | |
import yaml |
javascript:(function(){var p=document.createElement("p");p.innerHTML="<strong>Loading…</strong>";p.id="loadingp";p.style.padding="20px";p.style.background="#fff";p.style.left="20px";p.style.top=0;p.style.position="fixed";p.style.zIndex="9999999";p.style.opacity=".85";document.body.appendChild(p);document.body.appendChild(document.createElement("script")).src="https://gist.github.com/ttscoff/5834741/raw/grablinks.js?x="+(Math.random());})(); |
cd /usr/local/src | |
curl -O http://lynx.isc.org/lynx2.8.7/lynx2.8.7.tar.gz | |
tar -xzvf lynx2.8.7.tar.gz | |
cd lynx2-8-7 | |
./configure --mandir=/usr/share/man | |
make | |
sudo make install |
A lot of math grad school is reading books and papers and trying to understand what's going on. The difficulty is that reading math is not like reading a mystery thriller, and it's not even like reading a history book or a New York Times article.
The main issue is that, by the time you get to the frontiers of math, the words to describe the concepts don't really exist yet. Communicating these ideas is a bit like trying to explain a vacuum cleaner to someone who has never seen one, except you're only allowed to use words that are four letters long or shorter.
What can you say?
function! MarkdownFolds() | |
let thisline = getline(v:lnum) | |
if match(thisline, '^##') >= 0 | |
return ">2" | |
elseif match(thisline, '^#') >= 0 | |
return ">1" | |
else | |
return "=" | |
endif | |
endfunction |
This article is now published on my website: Prefer Subshells for Context.
GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
@rem Simple recursive backup script [email protected] 2011 | |
@echo off | |
rem I strongly recommend backing up to a different drive or machine | |
set sourcedir=c:\projects | |
set destdir=g:\autobackups\projects | |
for /f "tokens=1-3 delims=/ " %%g in ('date /t') do ( | |
set mm=%%g | |
set dd=%%h |