Skip to content

Instantly share code, notes, and snippets.

Aku Kotkavuo eagleflo

Block or report user

Report or block eagleflo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
eagleflo / gist:bdef3dede053016a1818f58a27cc9d9c
Created Apr 15, 2017
Running boot-clj for the first time
View gist:bdef3dede053016a1818f58a27cc9d9c
~ $ boot -u
Running for the first time, BOOT_VERSION not set: updating to latest.
Retrieving boot-2.7.1.jar from
#Sat Apr 15 17:48:00 EEST 2017
~ $ lein version
eagleflo / gist:e5285ee55d21aa01787c
Created Dec 22, 2015
const & Object.freeze in ES
View gist:e5285ee55d21aa01787c
$ babel-node
> const foo = []
'use strict'
> foo.push(1, 2, 3)
> foo
[ 1, 2, 3 ]
> Object.freeze(foo)
[ 1, 2, 3 ]
> foo.push(4, 5, 6)
View lein-new-reagent.txt
$ lein new reagent test
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at clojure.lang.RT.loadClassForName(
at clojure.lang.RT.load(
at clojure.lang.RT.load(
at clojure.core$load$fn__5066.invoke(core.clj:5641)
at clojure.core$load.doInvoke(core.clj:5640)
at clojure.lang.RestFn.invoke(
eagleflo / evdev.lst
Last active Aug 29, 2015
Finnish (programmer) xkb keymap
View evdev.lst
programmer fi: Finnish (programmer)
eagleflo / gist:d6d7f446a66ed37d7869
Created Jan 3, 2015
error: multiple dylib candidates for `std` found
View gist:d6d7f446a66ed37d7869
$ cargo build --verbose
Fresh pkg-config v0.1.2
Compiling sdl2-sys v0.0.0 (file:///Users/akotkavu/src/rust-sdl2)
Running `rustc /Users/akotkavu/src/rust-sdl2/sdl2-sys/src/ --crate-name sdl2-sys --crate-type lib -g -C metadata=8c1af9e4e302d67b -C extra-filename=-8c1af9e4e302d67b --out-dir /Users/akotkavu/src/rust-sdl2/target/deps --emit=dep-info,link -L /Users/akotkavu/src/rust-sdl2/target/deps -L /Users/akotkavu/src/rust-sdl2/target/deps -L /usr/local/lib -l SDL2`
/Users/akotkavu/src/rust-sdl2/sdl2-sys/src/ 1:1 error: multiple dylib candidates for `std` found
/Users/akotkavu/src/rust-sdl2/sdl2-sys/src/ #![allow(non_camel_case_types)]
/Users/akotkavu/src/rust-sdl2/sdl2-sys/src/ 1:1 note: candidate #1: /usr/local/lib/libstd-4e7c5e5c.dylib
/Users/akotkavu/src/rust-sdl2/sdl2-sys/src/ #![allow(non_camel_case_types)]
View gist:be73b175e52c8ee1a79c
Process: mooneye-gb [60045]
Path: /Users/USER/*/mooneye-gb
Identifier: mooneye-gb
Version: 0
Code Type: X86-64 (Native)
Parent Process: zsh [46215]
Responsible: iTerm [46210]
User ID: 501
Date/Time: 2014-12-27 01:38:19.684 +0200
View gist:f9588d3fde43ecadd2b3
$ npm install -g wscat
$ wscat -c ws:// -p 8
connected (press CTRL+C to quit)
> hi there
< hi there
> are you a happy parrot?
< are you a happy parrot?

Keybase proof

I hereby claim:

  • I am eagleflo on github.
  • I am eagleflo ( on keybase.
  • I have a public key whose fingerprint is BB68 7DB7 4A4D 13A3 93C3 AD8E E496 3242 172A 95E1

To claim this, I am signing this object:

eagleflo / posts.clj
Created Aug 13, 2014
Simple templating with Clojure using enlive
View posts.clj
(ns eagleflow.posts
(:require [markdown.core :refer [md-to-html-string]]
[net.cgrand.enlive-html :as html]))
(defn single
"Return a single post from the file system as HTML."
[date title]
(md-to-html-string (slurp (str "posts/" date "-" title ".md"))))
(html/deftemplate post ( "public/index.html")
eagleflo /
Created Jul 20, 2014
Hearthstone cards.xml extraction script
#!/usr/bin/env python
Place this script in the same directory as cardxml0.unity3d, which can be
found under Hearthstone data files. Then chmod a+x and run it.
See for more details.
import re
You can’t perform that action at this time.