This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; -*- 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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Quick start script for heroku-buildpack-ccl64-example1 | |
# Pipe this into bash. | |
function LOG(){ | |
cat <<EOF | |
=== LOG: $* === | |
EOF | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in-package "CL-USER") | |
(let ((*print-case* :upcase)) | |
(ql:quickload '(#:fare-memoization #:parse-number | |
#:optima #:optima.ppcre #:fare-quasiquote-optima | |
#:drakma #:closure-html))) | |
(defpackage #:eb | |
(:use #:common-lisp #:fare-memoization #:parse-number | |
#:optima #:optima.ppcre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun slime-hyperspec-plus-l1sp-lookup (symbol-name) | |
"The usual hyperspec lookup, but with a prefix arg uses l1sp.org instead" | |
(interactive (list (let* ((symbol-at-point (slime-symbol-at-point)) | |
(stripped-symbol | |
(and symbol-at-point | |
(downcase | |
(common-lisp-hyperspec-strip-cl-package | |
symbol-at-point))))) | |
(if (and stripped-symbol | |
(or current-prefix-arg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; -*- lexical-binding: t -*- | |
(define-slime-contrib slime-documentation-search | |
"Hand off a documenation search to a web site." | |
(:authors "Ben Hyde <[email protected]>") | |
(:license "GPL") | |
(:on-load | |
(define-key slime-doc-map "\C-s" 'slime-documention-search) | |
(define-key slime-doc-map "s" 'slime-documention-search))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in-package #:cl-user) | |
(defun display-doc-of-package-exports (package) | |
"Simple code to display the documenation for a package's exports." | |
(flet ((arglist (sym) | |
#+ccl (ccl:arglist sym) | |
#-ccl ())) | |
(let ((*package* (find-package package))) | |
(do-external-symbols (s *package*) | |
(loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; elisp that instructs slime/swank to use the ASDF cache for fasl files. | |
;;; add this to your emacs init file; and the magic happens. | |
(defun setup-to-save-swank-fasls-in-asdf-cache () | |
;; based on http://article.gmane.org/gmane.lisp.slime.devel/11080 | |
(slime-eval-print " | |
(flet ((find-fasl (path options) | |
(declare (ignore options)) | |
(let ((fasl-path | |
(asdf:apply-output-translations | |
(compile-file-pathname path)))) |
OlderNewer