The Code

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    The Code - Presentation Transcript

    1. THE CODE Gary Barber - Information Architect, User Interaction Designer radharc.com.au manwithnoblog.com WebJam9
    2. WebJam9
    3. WORKING-STORAGE SECTION. 77 WS-NAME-ERROR-FLAG 77 WS-NAME COPY NAMEW.COB. PROCEDURE DIVISION. PIC 9(01) COMP VALUE 0. PIC X(30) VALUE SPACES. Cobol 000000-CONTROL. PERFORM 000100-PROCESS-NAME THRU 000100-EXIT UNTIL (WS-NAME = \"END\"). 000000-EXIT. STOP RUN. 000100-PROCESS-NAME. DISPLAY \" \". DISPLAY \"ENTER NAME (UP TO 30 CHARACTERS)\". DISPLAY \"123456789012345678901234567890 ('END' TO STOP)\". MOVE SPACES TO WS-NAME. ACCEPT WS-NAME. IF WS-NAME = \"END\" GO TO 000100-EXIT. MOVE WS-NAME TO NAW-NAME-WORK. PERFORM 006000-NAME-EDIT THRU 006000-EXIT IF (WS-NAME-ERROR-FLAG = 1) DISPLAY \"NAME INVALID\" GO TO 000100-EXIT. MOVE WS-NAME TO NAW-NAME-WORK. PERFORM 006100-NAME-REVERSE THRU 006100-EXIT DISPLAY NAW-NAME-WORK. DISPLAY \"LAST: \" NAW-SPLIT-LAST. DISPLAY \"FIRST: \" NAW-SPLIT-FIRST. DISPLAY \"PRE: \" NAW-SPLIT-PRE. DISPLAY \"POST: \" NAW-SPLIT-POST. 000100-EXIT. EXIT. COPY NAMEP.COB. WebJam9
    4. HAI CAN HAS STDIO? I HAS A PET Lolcode GIMMEH PET, OBTW This is the beginning of a long comment block, or actually, \"OBTW\" was the beginning. And to end it... TLDR BOTH SAEM PET AN \"CAT\", O RLY? YA RLY,VISIBLE \"JOO HAS A CAT\" NO WAI, VISIBLE \"JOO NEEDS CAT\" OIC I HAS A VAR GIMMEH VAR IZ VAR BIGGER THAN 10? YARLY BTW this is true VISIBLE \"BIG NUMBER!\" NOWAI BTW this is false VISIBLE \"LITTLE NUMBER!\" KTHX KTHXBAI WebJam9
    5. Coldfusion <cfloop LIST = \"#Server.Coldfusion.SupportedLocales#\" index = \"locale\" delimiters = \",\"> <cfset oldlocale = SetLocale(\"#locale#\")> <cfoutput><p>#locale#<br /> Local: #LSEuroCurrencyFormat(123456, \"local\")#<br /> Currency Number: #LSParseEuroCurrency(\"EUR123456\")#<br /> International: #LSEuroCurrencyFormat(123456, \"international\")#<br /> None: #LSEuroCurrencyFormat(123456, \"none\")#<br /> <hr noshade> </p></cfoutput> </cfloop> WebJam9
    6. Ruby require 'rubygems' require 'httparty' class Ebay include HTTParty end begin item = Ebay.get('http://rorbuilder.info/cgi-bin/ebay.cgi)['ebay'] item.each do |key, value| puts key + ': ' + value end rescue p 'oops that product doesn\\'t exist' end WebJam9
    7. WebJam9
    8. WebJam9
    9. F ingerversitive U niversial C ompiled K nowledge I ntegration T ranslator WebJam9
    10. 2 x 5 elements 11 = optiumal base5 WebJam9
    11. function() WebJam9
    12. pointer [x] WebJam9
    13. pointer.pink.hair [x] WebJam9
    14. loop() WebJam9
    15. loop.2() WebJam9
    16. loop.x() WebJam9
    17. loop.(oops) WebJam9
    18. flag.x = declare() WebJam9
    19. flag.x = .maybe. WebJam9
    20. flag.x = .wtf. WebJam9
    21. if(x is .true.) WebJam9
    22. case (this | that) WebJam9
    23. case (this only!) WebJam9
    24. blind.panic(!purplehair) WebJam9
    25. just.crazy(horns) WebJam9
    26. pray() WebJam9
    27. flip() WebJam9
    28. flip.2() WebJam9
    29. flip.2x() WebJam9
    30. flip.x() WebJam9
    31. HAPPY BIRTHDAY LACHLAN WebJam9

    + Gary BarberGary Barber, 2 years ago

    custom

    426 views, 1 favs, 0 embeds more stats

    Presentation at WebJam 9. A Tongue in Cheek look a more

    More info about this document

    CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

    Go to text version

    • Total Views 426
      • 426 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories