Skip to content

Instantly share code, notes, and snippets.

View fatlazycat's full-sized avatar

Graham Berks fatlazycat

View GitHub Profile
@fatlazycat
fatlazycat / gist:2199288
Created March 25, 2012 19:41
attempt at a gui built seesaw app
(ns finance.core
(:use [seesaw.core])
(:require [seesaw.selector :as selector]))
(defn identify
"Given a root widget, find all the named widgets and set their Seesaw :id
so they can play nicely with select and everything."
[root]
(doseq [w (select root [:*])]
(if-let [n (.getName w)]
@fatlazycat
fatlazycat / report.js
Created January 22, 2012 17:33
HTML Reports
$(document).ready(function() {var formatter = new CucumberHTML.DOMFormatter($('.cucumber-report'));formatter.uri('src/test/resources/basic_arithmetic.feature');
formatter.feature({
"id": "basic-arithmetic",
"tags": [
{
"name": "@foo",
"line": 1
}
],
"description": "",