Skip to content

Instantly share code, notes, and snippets.

View greghendershott's full-sized avatar

Greg Hendershott greghendershott

View GitHub Profile
@greghendershott
greghendershott / gist:4233480
Created December 7, 2012 14:09
A gist to check if Github has deployed the Racket lexer

Before Github deploys the Racket lexer from pygments-main via pygments.rb, the following will appear as plain, black monospace. After they deploy, this will appear color-coded:

(let ([x 0])
  x)

Then it will look similar to the Scheme lexer (below) but, as the most glaring example, brackets will not be colored as errors:

@areina
areina / emacs-email-setup.md
Created October 12, 2012 15:00
Manage your email in emacs with mu4e

Manage your gmail account in emacs with mu4e

There're a lot of combinations to manage your email with emacs, but this works for me. I've a backup and I can manage my daily email.

The stack:

  • emacs
  • offlineimap
  • mu
  • mu4e
@takikawa
takikawa / gist:3723651
Created September 14, 2012 18:13
define/match
#lang racket
;; added something like `where` clauses
(require (for-syntax syntax/parse
syntax/parse/experimental/template))
(provide define/match)
(begin-for-syntax
$ sudo yum update
$ sudo yum install openssl-devel
$ sudo yum install gcc-c++
$ wget -c http://znc.in/releases/znc-latest.tar.gz
$ tar -xzvf znc-latest.tar.gz
$ cd znc*
$ ./configure
$ make
$ sudo make install