Skip to content

Instantly share code, notes, and snippets.

View danthegoodman's full-sized avatar
™️

Danny Kirchmeier danthegoodman

™️
View GitHub Profile
@danthegoodman
danthegoodman / printECS.sh
Created May 8, 2013 04:16
Shell command to print a file to a room in the ECS building at Baylor University. It hasn't been tested since 2011, so room numbers may be out of sync or the command may not work. Use at your own risk.
#!/bin/bash
# Usage: printECS ROOM FILE
# Prints to a room in the Rodgers building
ECS_LOGIN=bobbybear@wind.ecs.baylor.edu
case $1 in
214);;
113);;
112);;
@danthegoodman
danthegoodman / _Events.groovy
Last active September 14, 2016 13:35
Desktop Notification on Grails Start, Test Complete
// Save in ~/.grails/scripts/_Events.groovy
def start = new Date();
eventStatusFinal = { msg ->
if(msg.startsWith("Server running.")) {
println 'Startup time = ' + timeDiff(start)
notification("Grails Started")
}
}
eventTestPhasesEnd = {