Skip to content

Instantly share code, notes, and snippets.

@bhyde
bhyde / gist:5383182
Last active December 16, 2015 05:18
# Quick start script for heroku-buildpack-ccl64-example1
# Pipe this into bash.
function LOG(){
cat <<EOF
=== LOG: $* ===
EOF
}
@bhyde
bhyde / gist:5355435
Last active December 16, 2015 01:29
Load this into your lisp, and then goto http://localhost:8081/SyntaxHighlighter-1 for an example of using Alexgor Batchev javascript, client side, syntax highlighter via Common Lisp, Hunchentoot, cl-who, and parenscript
; -*- Mode: Common-Lisp -*
;;; A stand alone example of using Alex Batchev's javascript, client side,
;;; syntax highlighter <http://alexgorbatchev.com/SyntaxHighlighter/>
;;; via Common Lisp, Hunchentoot, cl-who, and parenscript.
(ql:quickload '(hunchentoot cl-who parenscript))
(defpackage #:script-highlighter-example
(:use #:common-lisp #:hunchentoot #:cl-who #:parenscript))
#!/usr/bin/env python
# With luck this illustrates 2 things r. keyczar
# 1. How to convert an RSA private key into a RSA public key.
# 2. How to convert RSA keys of either kind into their PEM
# equivaletn.
import sys
try:
import simplejson as json
Freetype yearns for /opt/local/lib/libz.dylib , but (No such file or directory)
bash-3.2# uname -a
Darwin d72.cozy.org 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
bash-3.2# port selfupgrade
Unrecognized action "selfupgrade"
bash-3.2# port selfupdate
---> Updating the ports tree
---> Updating MacPorts base sources using rsync
MacPorts base version 1.8.1 installed,