Skip to content

Instantly share code, notes, and snippets.

@markokocic
markokocic / binarytrees.go
Created November 22, 2010 12:24
Paralel version of shootout binarytrees benchmark
/* The Computer Language Benchmarks Game
* http://shootout.alioth.debian.org/
*
* contributed by The Go Authors.
* based on C program by Kevin Carson
* flag.Arg hack by Isaac Gouy
*/
package main
@markokocic
markokocic / etoolkit.user.js
Created June 28, 2010 13:26
Fixes erep toolkit company page in latest erepublik
// ==UserScript==
// @name eToolkit
// @version 0.2.5
// @description eRepublik Toolkit
// @author eToolkit
// @namespace eToolkit
// @include http://*.erepublik.com/*
// @include http://erepublik.com/*
// @exclude http://ads*.erepublik.com/*
// @exclude http://www.erepublik.com/xd_receiver*
;; First fetch CVS version of slime, git version of clojure, swank-clojure, clojure-contrib and clojure-mode
;; Create ~/bin/clojure script which starts clojure repl and adds clojure-contrib src dir and swank-clojure src dir to classpath. I used clj-env helper from clojure-contrib
(pushnew '("\.clj$" . clojure-mode) auto-mode-alist)
(require 'clojure-mode)
;;;; Slime configuration stuff
(setf slime-lisp-implementations
'((ecl("~/bin/ecl" "--heap-size" "1024000000") :coding-system utf-8-unix)