Skip to content

Instantly share code, notes, and snippets.

@merlincorey
merlincorey / ansi2unicode.pl
Created July 8, 2017 21:09 — forked from revmischa/ansi2unicode.pl
Convert raw ANSI to IRC or HTML
#!/usr/bin/perl
# ansi2unicode.pl
# 4/18/2007
#
# convert an ANSI file to unicode, suitable for display in irssi/mirc or html
# usage: ansi2unicode.pl inputfile [-tc] [-o outputmode] [outputfile]
# -t = terminal output, no color
# -o = output mode, currently only html and irc supported, default is irc
# outputfile = filename to output to if html specified
@merlincorey
merlincorey / emacsconf2013-sacha.org
Created May 14, 2016 08:31 — forked from sachac/emacsconf2013-sacha.org
Source code for my Emacs conference talk

Comments? sacha@sachachua.com

  • Emacs learning curve?

Meta information

Assumptions

  • Mix of Emacs geeks skewed towards people who’ve been using this for a while (after all, takes a certain commitment to come all the way to an Emacs conference!)

Outcomes

#!/usr/bin/python2.7
import virtualenv
import os
extra_text = """
def after_install(options, home_dir):
# Install dependencies
subprocess.call([join(home_dir, 'bin', 'pip'),
'install', 'mock'])