Twitter: raymondcamden


Address: Lafayette, LA, USA

CFUNITED T-Shirt Contest!

06-29-2010 5,975 views 73 Comments

Let's be honest. The most important aspect of a conference isn't location, speakers, sessions, or dare I say it, food, but rather the t-shirt you go home with. This year CFUNITED is looking to the community for help in designing the 2010 conference tee shirt. All you need to do is come up with a snazzy, funny, coy, etc bit of CFML code to put on the front of the shirt. As an example, a few years back a company produced a set of beer glasses with some code printed on it. Your code should be similar. Remember it has to fit on the front of a shirt so keep it short and sweet.

There will be a first, second, and third place winner. The first place winner will get 50% off their ticket to CFUNITED and their code printed on the official conference tee shirt. The second and third place winner will both get $200 off the ticket price.

To enter, simply post your entry as a comment below. I'll be picking winners Friday at the end of business.

As a reminder, CFUNITED is coming soon. You have 28 days left to register. Myself, and many other community members, will be speaking on a variety of topics. Register now!

73 Comments

  • Commented on 06-29-2010 at 12:20 PM
    <cfloop collection="#cfUnitedActivities#" item="activity">
    <cfswitch expression="#activity#">
    <cfdefaultcase>
    <cfset doDrinkBeer() />
    </cfdefaultcase>
    </cfswitch>
    </cfloop>
  • Commented on 06-29-2010 at 12:44 PM
    <cfif #cgi.HTTPUSERAGENT# neq "iPhone">
       <!-- embed SuperAwesomeWelcomeMessageThatWillBlowYourMind.swf here---->
    <cfelse>
       <!-- dull welcome message here---->
       Welcome.
    </cfif>
  • Steve #
    Commented on 06-29-2010 at 12:45 PM
    Ray, does this have to be true legit code? Or can it be something made up (no, I don't really have a custom tag for this), for example, <cf_united> ?
  • Misty #
    Commented on 06-29-2010 at 12:45 PM
    My First Submission:

    <cfimage source="images/j0439239.jpg" name="myImage">
    <!--- Set the background color to green. --->
    <cfset ImageSetBackgroundColor(myImage,"green")>
    <!--- Draw four rectangles in the background color. --->
    <cfoutput>
    <cfloop from="1" to="100" index="i" step="9">
    <cfset ImageClearRect(myImage,#i#,#i#,#i#,#i#)>
    </cfloop>
    </cfoutput>
    <!--- Save the modified ColdFusion image to a file. --->
    <cfimage source="#myImage#" action="write" destination="testmyImage.jpeg" overwrite="yes">
    <!--- Display the source image and the new image. --->
    <img src="images/j0439239.jpg">
    <img src="test
    myImage.jpeg">
  • Jenni B. #
    Commented on 06-29-2010 at 12:48 PM
    <cfscript>
    SpaDay = StructNew();
    StructInsert(SpaDay, "massage", FORM.massagetime);
    StructInsert(SpaDay, "hottub", FORM.soaktime);
    StructInsert(SpaDay, "drink", FORM.drink);
    </cfscript>
  • Commented on 06-29-2010 at 12:51 PM
    @Steve: It can be made up.
  • Gary #
    Commented on 06-29-2010 at 12:51 PM
    <cfif CGI.HTTPUSERAGENT CONTAINS ListFindNoCase('iphone,Windows CE,NetFront,Palm OS,Blazer,Elaine,WAP,Plucker,Avantgo')>
       <!---Mobile Browsers! Disable any Javascript or if using any Frames Break Out from Frames--->
    <cfelse>
       <!---Move On--->
    </cfif>
  • Commented on 06-29-2010 at 12:51 PM
    <cffunction method="gotoCFUnited">
       <cfargument name="learnMuch" default="true">
       <cfargument name="haveFun" default="true">
       <cfif learnMuch AND haveFun>
          <cfset session.start = "7/28/2010">
          <cfset session.end = "7/31/2010">
          <cflocation url="LansdowneResort.cfm">
       </cfif>
    </cffunction>
  • Commented on 06-29-2010 at 12:53 PM
    <CFUNITED
       rev = 2010
       what = "A ColdFusion, Flex & AIR Conference"
       where = "Lansdowne Resort & Conference Center"
       when = "Wednesday 7/28/2010, Thursday 7/29/2010, Friday 7/30/2010, Saturday 7/31/2010"
       />
  • Commented on 06-29-2010 at 12:56 PM
    <cfif application is CF>
    coding="efficient,rapid"
    <cfelse>
    coding.time = coding.time * 2
    </cfif>
  • MikeG #
    Commented on 06-29-2010 at 1:07 PM
    function cfObjective(me) {
       var betterMe=arrayNew(1);
       arrayappend(betterMe,getSessions(me));
       arrayappend(betterMe,getSocial(me));
       return betterMe;
    }
  • Commented on 06-29-2010 at 1:09 PM
    request.setEvent('CFUnited 2010');
  • Commented on 06-29-2010 at 1:11 PM
    CFUnited.get2010().isAttendee(true);
  • Jonah Chanticleer #
    Commented on 06-29-2010 at 1:12 PM
    <cfif you.said="Coldfusion is dead">
    <cfset my.response = mid("COLDFUSION", 5, 2)>
    </cfif>
  • Gurpreet #
    Commented on 06-29-2010 at 1:13 PM
    <cfset submission = "The Bad Programming Language! All the way PHP Coding. Try CFM">
    <cfif FindNoCase("PHP",submission)>
    <cfoutput>
    Project Completion date: <strong>Never</strong>
    </cfoutput>
    <cfelseif FindNoCase("CFM",submission)>
    <cfoutput>
    Project Completed: <strong>Just Now</strong>
    </cfoutput>
    </cfif>
  • Commented on 06-29-2010 at 1:34 PM
    <cfset lyric = "">
    <cfloop condition="lyric neq 'Never gonna tell a lie and hurt you'">
       <cfswitch expression="#lyric#">
          <cfcase value="">
             <cfset lyric = "Never gonna give you up">
          </cfcase>
          <cfcase value="Never gonna give you up">
             <cfset lyric = "Never gonna let you down">
          </cfcase>
          <cfcase value="Never gonna let you down">
             <cfset lyric = "Never gonna run around and desert you">
          </cfcase>
          <cfcase value="Never gonna run around and desert you">
             <cfset lyric = "Never gonna make you cry">
          </cfcase>
          <cfcase value="Never gonna make you cry">
             <cfset lyric = "Never gonna say goodbye">
          </cfcase>
          <cfcase value="Never gonna say goodbye">
             <cfset lyric = "Never gonna tell a lie and hurt you">
          </cfcase>
       </cfswitch>
       <cfoutput>#lyric#<br /></cfoutput>
    </cfloop>
  • Commented on 06-29-2010 at 1:34 PM
    Jonah, nice!
  • Commented on 06-29-2010 at 1:37 PM
    <cfset shirt = structNew()>
    <cfset shirt.mainContents = "CF Geek">
    <cfif hour(now()) gt 8 AND hour(now()) lt 17>
    <cfset shirt.additionalContents = "Knowledge">
    <cfelse>
    <cfset shirt.additionalContents = "Beer">
    </cfif>
    <cfdump var="#shirt#">
  • Commented on 06-29-2010 at 1:42 PM
    Like Zach's but less code:

    <cfset Lyric = "give you up, let you down, run around and desert you, make you cry, say goodbye, tell a lie and hurt you" />
    <cfoutput>
    <cfloop list="#Lyric#" index="i">
       Never gonna #i#<br />
    </cfloop>
    </cfoutput>
  • Commented on 06-29-2010 at 1:52 PM
    Ryan,
    The list will defiantly fit on a shirt better.

    I was going for the over programmed approach... LOL
  • Jenni B. #
    Commented on 06-29-2010 at 1:53 PM
    <CF_highFive(Jonah)>
  • Commented on 06-29-2010 at 2:16 PM
    Sadly, I may not be able to make the conference, but I hope it's OK to submit my made up code anyway.

    <cfunited year="2010" result="awesome">
    <cfset who = setCoolPeople("me") />
    <cfset what = "CF" + "Flex" + "AIR"/>
    <cfset where = "Virginia"/>
    </cfunited>

    ... or some variation of the above that fits on a shirt.
  • Commented on 06-29-2010 at 2:19 PM
    A second entry (is that allowed?)

    <cfUnited action="learn" list="ColdFusion,Flex,AIR" />

    <cf
    United action="meet" list="Ray,Bob,Joe,Dan,Dee,etc" />

    <cfUnited action="consume" list="knowledge,food,beer" />

    <cf
    United action="leave" list="prepared,smarter,connected" />
  • Commented on 06-29-2010 at 2:50 PM
    <cfif isUnited() EQ TRUE>
    <cfreturn awesome />
    <cfelse>
    <cfreturn epic.fail() />
    </cfif>
  • Commented on 06-29-2010 at 3:03 PM
    Ok, here's my submission. The first tag should go at the top of the shirt just under the collar. The second tag should go at the very bottom of the shirt.

    <cffeed>




    <cfflush>


    *You can also have an optional <cfdump> tag on the back at the bottom.

    :)
  • Commented on 06-29-2010 at 4:20 PM
    Submission A)
    <cfif (do)>
       <!--- You either do... --->
    <cfelseif (Not(do))>
       <!--- or don't do... --->
    <cfelse>
       <cfthrow detail="There is no CFTRY" />
    </cfif>

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Submission B)
    There's no place like <cflocation url="/home.cfm" />

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Submission C)
    <cfloop condition="myKnowledge LT 'proficient'">
       attendMoreCFUnitedSessions();
    </cfloop>

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Submission D)
    <cfif (myLanguage EQ CF) AND (amAttendingCFUNited EQ true)>
       <cfoutput>I'm a CFGenius!</cfoutput>
    </cfif>
  • shakti #
    Commented on 06-29-2010 at 4:29 PM
    <cfloop list="brainstorm,learn,eat,drinkBeer" index="i">
    <cfif NOT idontLikeThisPart(i)>
    <cfset doAction(i)/>
    </cfif>
    </cfloop>
  • Matt Gersting #
    Commented on 06-29-2010 at 4:32 PM
    <cfexecute> or <cfabort>. There is no <cftry>.

    http://images9.cpcache.com/product/38497379v0480x480Front_Color-BlackWhite.jpg
  • MikeG #
    Commented on 06-29-2010 at 4:53 PM
    Second submission. Consider this a 50,000 ft view of code
    Top of shirt: <CFDOES>
    Bottom of shirt: </CFDOES>, but crossed out (indicating thre is no end to what CF Does.

    Then between the tags, find that page from Mike Nimer's? Presentation from years back that has the little clouds in it with every protocol, service, API and Stub you can think of in it (updated for today)
  • Commented on 06-29-2010 at 4:55 PM
    <cfset cfunited = EntityLoad('me') />
    <cfset cfunited.setLearning('100%') />
    <cfset cfunited.setNetworking('True') />
    <cfset cfunited.setFun('Always') />
    <cfset EntitySave(cfunited) />

    optional:
    <cfset cfunited.setBeer('consumed') />
  • Commented on 06-29-2010 at 8:04 PM
    <cfset CFUnited2010 = StructNew() />
    <cfset CFUnited2010.trackCF = "Kewl" />
    <cfset CFUnited2010.track
    Flex = "Also Kewl" />
    <cfset CFUnited2010.trackAIR = "Also Also Kewl" />
    <cfset CFUnited2010.sciFi
    BOF = "Rocks!" />
    <cfset CFUnited2010.meAttending = "Awesome!" />
    <cfset CFUnited2010.whereHeld = "The Lansdowne" />
    <cfset CFUnited2010.startDate = "07/28/2010" />
    <cfset CFUnited2010.endDate = "07/31/2010" />
  • Commented on 06-29-2010 at 8:13 PM
    I swear I thought of this one before Joshua Cyr posted his!

    conference = entityNew( "Conference" );
    conference.setName( "CFUnited" );
    conference.setLearning( true );
    conference.setNetworking( true );
    conference.setFun( "Hell Yeah!" );
    entitySave( conference );
  • Brian FitzGerald #
    Commented on 06-29-2010 at 8:35 PM
    <cfif event.conference eq "cfunited">
    <cftransaction>
    <cfset money = "well spent" />
    </cftransaction>
    <cfelse>
    <cfreturn tickets />
    </cfif>
  • Commented on 06-29-2010 at 9:37 PM
    <cfquery name="CFUnited2010">
    SELECT *
    FROM Knowledge
    WHERE greatIdea IS NULL
    </cfquery>

    0 records returned
  • Commented on 06-29-2010 at 9:51 PM
    A mock up of what the t-shirt would look like:
    http://tinyurl.com/24sgcb3
  • Commented on 06-29-2010 at 10:18 PM
    Here is one that is more CFML general:

    <cfquery datasource="CFML">
    SELECT *
    FROM CF, Others
    WHERE Others.easy > CF.easy
    OR Others.power > CF.power
    </cfquery>

    0 records returned

    Image of proposed t-shirt: http://tinyurl.com/283q69m
  • Commented on 06-29-2010 at 10:29 PM
    I just realized I really need one more join in the above query to make it valid..

    Too much <CF_ALE> oh well.
  • Bob Bosron #
    Commented on 06-30-2010 at 7:39 AM
    <awesome>
    CFUnited 2010
    </awesome>
  • Chuck S #
    Commented on 06-30-2010 at 8:07 AM
    Nice Jonah.
  • Paul Denato #
    Commented on 06-30-2010 at 9:47 AM
    <!--- lame code here --->
  • Commented on 06-30-2010 at 10:12 AM
    <!--- Set your awesomenesss --->
    <cfset CFUNITED2010="Awesome">
    <!--- Check to see if your awesomeness matches that of CFUNITED --->
    <cfif IsDefined("URL.CFUNITED
    2010Attendance")
       AND CFUNITED
    2010 IS URL.CFUNITED2010Attendance>
       <!--- You are attending, Awesome! You Rock! --->
       \m/ (>.<) \m/
    <cfelse>
       <!--- You are not attending. Your loss! --->
       .!. (0_0) .!.
    </cfif>
  • Commented on 06-30-2010 at 10:55 AM
    <cf_zombie
    action="create"
    method="raiseDead"
    count="1000"
    say="Brrrraaainnnssss!"
    />
  • Commented on 06-30-2010 at 11:13 AM
    CFUNITED 2010

    <cffinal />
  • Commented on 06-30-2010 at 11:14 AM
    Or, alternately:

    <cffinal>
    CFUNITED 2010
    </cffinal>
  • Tim Leach #
    Commented on 06-30-2010 at 12:04 PM
    Could do something simple like:
    </cfisdead>

    though, I see more people clinging to the fact CF is still alive, then claiming it was ever dead.
    Or you could do something like:
    <cfcomponent
    extends="Adobe.Education.ColdFusion"
    displayname="CFUnited 2010"
    hint="A ColdFusion, Flex & AIR Conference"
    output="Yes">
    <cffunction name="Attend" returntype="Geek" access="public">
    ...
    </cffunction>
    </cfcomponent>

    ---
  • Commented on 06-30-2010 at 12:31 PM
    <cfset CFUNITED_2010="Your Destination">
  • Brian Fescoe #
    Commented on 06-30-2010 at 12:56 PM
    <cfif lang eq 'PHP'>
       <cfoutput>ID10T</cfoutput>
    </cfif>
  • Craig #
    Commented on 06-30-2010 at 1:13 PM
    Short for a shirt. Tried to make it legible. Correct any syntax:)

    component hint="ColdFusion" {

    public CFUnited function init (

    Year = 2010,
    Status = "Better than ever.",
    Tags = Optional,
    Speed = Fast,
    Future = Strong
    ) }
  • craig #
    Commented on 06-30-2010 at 1:14 PM
    Darn image wrap!
  • Commented on 06-30-2010 at 4:06 PM
    <cffunction name="CFUnited"
    Hint="July 27-30 2010 Lansdowne VA">
    <cfset GrandFinale(true)>
    <cfreturn "Smarter" >
    </cffunction/>
  • Ryan Nowak #
    Commented on 06-30-2010 at 4:28 PM
    <CFUNITED>
    WORLD DOMINATION
    </CFUNITED>
  • Commented on 07-01-2010 at 5:58 AM
    In light of this being the last CFUnited, and the fact that people who disappeared long before this want to convince people that this means ColdFusion is dead [again ho hum], I want a t-shirt that says

    "WE are the new <cfdawn>!"
  • Commented on 07-01-2010 at 4:34 PM
    <cfscript>
    while ( not isDead() ) { codeWithColdFusion(); };
    </cfscript>
  • Commented on 07-01-2010 at 4:37 PM
    Since this is the last one, maybe just

    </cfunited>
  • Daniel Fredericks #
    Commented on 07-02-2010 at 6:27 AM
    <cfunited>
    "CFUnited is the premier ColdFusion specific conference"
    <B.Forta>
    -- 1999-2010 --
    </cfunited>
  • Commented on 07-02-2010 at 10:03 AM
    <cfinvokeargument name="ColdFusion" value="Rocks!" />
  • Commented on 07-02-2010 at 10:05 AM
    <cflocation url="http://cfunited.com/"; />

    You should really addtoken="false" so you don't send your session id's but that might not be necessary for the tshirt ;-)
  • Commented on 07-02-2010 at 10:14 AM
    I know this won't win...but kinda had to do it...

    <cfif findNoCase('halhelms.com', cgi.http_referer)>
    <cflocation url="http://www.rubyonrails.com"; addtoken="false" />
    <cfelse>
    <cflocation url="http://www.cfunited.com"; addtoken="false" />
    </cfif>
  • Commented on 07-02-2010 at 10:15 AM
    Don't ask where that semicolon came from...I couldn't tell you.
  • Susan Brun #
    Commented on 07-02-2010 at 2:40 PM
    <cfunited 2010>
    <cfset memories = "friends, laughing, learning, coding,
    teaching, sharing, CF Never Ending" />
    </cfunited 2010>
  • Commented on 07-02-2010 at 3:12 PM
    <cfunited from="1999" to="2010" />
  • Roger Austin #
    Commented on 07-02-2010 at 4:23 PM
    I like #25 from Eric. Filed for future use.
  • Commented on 07-02-2010 at 5:08 PM
    And we have our winners. Remember this was purely my decision, and I'm sure folks will disagree. However, as this is a dictatorship, there isn't much you can do about it. ;)

    So for 2nd and 3rd place, I pick both Ryan V and Zach B for their Rick Astley inspired submissions.

    However - I could not pass up #28 from Matt G:

    <cfexecute> or <cfabort>. There is no <cftry>.

    Gigi had one similar - but I preferred Matt G.

    So... that's our winner! Thank you everyone!
  • Commented on 07-02-2010 at 5:16 PM
    Fun contest, thanks!!! And a good winner, congrats!
  • Commented on 07-02-2010 at 5:21 PM
    Thank you Ray for offering the fun contest. Congratulations to Matt G and the other winners ;)
  • Commented on 07-02-2010 at 5:28 PM
    LOL - it figures THAT one would be the one that appealed to you most, O CF JediMaster! Congrats to Matt and the other winners!
  • Commented on 07-02-2010 at 8:06 PM
    I totally want that t-shirt.
  • Commented on 07-02-2010 at 10:31 PM
    What does second place win? Maybe a copy of your CF anthology signed ;)
  • Commented on 07-03-2010 at 8:01 AM
    2nd and 3rd get 200 off the ticket price. You'd have to talk to Dinowitz to get a copy of the Anthology. :)
  • Commented on 07-03-2010 at 2:26 PM
    Thanks, Ray and everyone! I knew that t-shirt idea would come in handy one of these years!!
  • Jason Durham #
    Commented on 07-07-2010 at 2:02 PM
    It's a late entry...

    <cfset Joke.fail() />
  • pbaylis #
    Commented on 07-07-2010 at 8:04 PM
    <cf_uknighted> in 2010

    King Arthur theme. "knighted" in italics to distinguish.
    Perhaps include a pic of a shield with the ColdFusion bolt on it.
  • Nick #
    Commented on 01-05-2011 at 11:23 AM
    My toilet app:
    <cfdump>
    <cflog>
    <cfflush>

    (CF, the most intuitive language on the planet)

Post Reply

Please refrain from posting large blocks of code as a comment. Use Pastebin or Gists instead. Text wrapped in asterisks (*) will be bold and text wrapped in underscores (_) will be italicized.

Leave this field empty