Skip to content

Instantly share code, notes, and snippets.

@printminion
Created October 15, 2010 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save printminion/628085 to your computer and use it in GitHub Desktop.
Save printminion/628085 to your computer and use it in GitHub Desktop.
fun code for BootCam 2010 in Munich
package org.gtug.bootcamp;
import org.gtug.*;
import org.gtug.gtuglers.*;
import org.gtug.exceptions.FunOverloadException;
import com.google.developerday.GDD;
public class BootCamp extends GTUGEvent {
public static void main(String[] args) throws FunOverloadException {
BootCamp bootcamp =
new BootCamp("Germany/Munich").BlackBox.
.beginDate("07.11.2010")
.endDate("08.11.2010")
.addParticipants(GTUG.getGTUGlers(GTUG.MANY))
.hashtags(new String[]{ "#bootcamp", "#gtug" })
.magic();
try {
bootCampEvent.codingAndParty();
} catch (FunOverloadException e) {
System.out.println("I want to sleep!");
bootcamp.addCaffeine().hackOn();
} finally {
GDD googleDeveloperDay =
GDD.Magic.location("Germany/Munich")
.beginDate("9.11.2010")
.endDate("9.11.2010")
.hashtags(new String[] { "#gddde" })
.bazinga();
}
}
//...
}
@megglos
Copy link

megglos commented Oct 15, 2010

Wieso schmeißt das ganze Camp ne Exception wenn einer schlafen will? ;D Vll noch nen continue wenn nach den 6h sleep das Camp noch läuft? ^^
viel Spaß :)

@otw
Copy link

otw commented Oct 15, 2010

@megglos done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment