Skip to content

Instantly share code, notes, and snippets.

test
boh
tr -cd '\11\12\40-\176' <filename
@mkmik
mkmik / gist:58795
Created February 5, 2009 16:19
test
testasd
xxxx
hmm
#!/bin/sh
echo "ciao"
def test?
return 'f'
end
if test?
print 'true'
else
print 'false'
end
@mkmik
mkmik / test
Created January 27, 2010 14:51
List
* a
* b
* c
List
* a
* b
* c
test
best
(ns authfile.lazy-couch
(:use couchdb.client))
(defn lazy-couch
"transforms a function which takes a couch-db parameter map into a lazy streaming function:
(defn lazy-get-all-record-ids [] (lazy-couch get-all-record-ids))
(defn lazy-get-all-jsons-raw [] (lazy-couch get-all-jsons-raw :key))
#!/bin/sh
SCALAC_CLASSPATH="/home/marko/.m2/repository/org/scala-lang/scala-compiler/2.8.0.RC1/scala-compiler-2.8.0.RC1.jar:/home/marko/.m2/repository/org/scala-lang/scala-library/2.8.0.RC1/scala-library-2.8.0.RC1.jar"
exec java -cp $SCALAC_CLASSPATH -Dscala.boot.class.path=$SCALAC_CLASSPATH scala.tools.nsc.CompileServer $@