Skip to content

Instantly share code, notes, and snippets.

@aaronfeng
aaronfeng / .editrc
Created May 29, 2011 17:06
readline style recursive search for editline
# Add the following lines to ~/.editrc
bind "^R" em-inc-search-prev
Making all in man
make[1]: Nothing to be done for `all'.
Making all in src
Making all in libeio
make all-am
Making all in libev
make all-am
make[3]: Nothing to be done for `all-am'.
Making all in libmanos
make all-am
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization. ##
@aaronfeng
aaronfeng / gist:922888
Created April 16, 2011 05:09
./autogen.sh --prefix=...
Running glibtoolize ...
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
@aaronfeng
aaronfeng / configure.ac
Created April 16, 2011 04:48
manos configure.ac
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(manos, 0.1.3)
AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_LIBTOOL
dnl pkg-config
@aaronfeng
aaronfeng / firsts.clj
Created August 30, 2009 21:17
Little Schemer to Clojure translation
(defn firsts [l]
(cond (empty? l) '()
:else (cons (ffirst l) (firsts (rest l)))))