Skip to content

Instantly share code, notes, and snippets.

@tomaslin
tomaslin / Pivotal CSV to Trello.groovy
Created October 4, 2011 15:56
This is a groovy file ( http://groovy.codehaus.org/ ) that will import your Pivotal Tracker stories into your Trello board. It works with an empty board and will add stories to the first list.
@Grapes([
@Grab("org.codehaus.geb:geb-core:0.6.0"),
@Grab("org.seleniumhq.selenium:selenium-firefox-driver:2.4.0"),
@Grab("net.sf.opencsv:opencsv:2.0")
])
import geb.Browser
import au.com.bytecode.opencsv.*
def fileLocation = 'secret_escapes_20111004_1436.csv' // the location of your csv file. You can go to your pivotal board and do an export to CSV.
@tomaslin
tomaslin / gist:1028037
Created June 15, 2011 20:33
Cloud Foundry deployment hell
blah:se tomaslin$ grails -Dgrails.env=cf cf-update
...
Updating Application:
Checking for available resources:
Error: 500 Internal Server Error
blah:se tomaslin$ grails -Dgrails.env=cf cf-update
...
Updating Application:
Checking for available resources: OK
@tomaslin
tomaslin / gist:1011989
Created June 7, 2011 10:15
A simple payment app
A simple payment app.
Your task is to implement a simple payment tracking system in Grails or your preferred framework.
Requirements:
- Accounts have a balance, name, email.
- Every user starts off with £200.
- We would like to see proper use of tests, gsp tags and clean code.
- Don't worry about putting in a proper user management or security layer.