Created
October 15, 2010 12:04
-
-
Save printminion/628085 to your computer and use it in GitHub Desktop.
fun code for BootCam 2010 in Munich
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
} | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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ß :)