Skip to content

Instantly share code, notes, and snippets.

View i386's full-sized avatar

James William Dumay i386

View GitHub Profile
@i386
i386 / bamboo_broker.py
Created November 28, 2011 22:51
Bitbucket Broker for Triggering Bamboo Jobs
#!/usr/bin/env python
#
# Copyright 2011 Calico Cube Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
Java 6 on Mac OS X 10.5 Leopard
===============================
Apparently Java 6 (that is, 1.6) has been available on Mac OS X for
quite some time (ie. almost a year.) I was entirely unaware of this;
I'm probably not the only one. To enable Java 6, simply run
`/Applications/Utilities/Java Preferences.app`, and drag the available
JVMs into the order you prefer.
This will swap the default 'java', 'javac' etc to point to your first
@i386
i386 / gist:70641
Created February 26, 2009 03:50 — forked from DylanFM/gist:70625
//Excuse me while I get all enterprise in here...
class JamesInjectorBean {
//Obviously I wont be charging for this
}