Skip to content

Instantly share code, notes, and snippets.

@suhailshergill
suhailshergill / gist.el
Created July 16, 2012 02:33
gnutls voodoo for gist.el
(eval-after-load 'gist
'(progn
(defadvice gh-api-run-request (around
su/advice/gist/gh-api-run-request/around/set-tls-program a c pre)
"Set `tls-program' to favor openssl, otherwise url-retrieve-synchronously
hangs"
(let ((tls-program '(
"openssl s_client -connect %h:%p -no_ssl2 -ign_eof"
"gnutls-cli --insecure -p %p %h"
@suhailshergill
suhailshergill / update-emacs-ppa.sh
Created June 29, 2012 14:51 — forked from DamienCassou/update-emacs-ppa.sh
Emacs-snapshot build script for Ubuntu PPA
#!/bin/bash
# Author: Damien Cassou
#
# This is the script I use to build https://launchpad.net/~cassou/+archive/emacs/
# from http://emacs.naquadah.org/.
MAIN_VERSION=20120410
SUB_VERSION=1