{"id":607,"date":"2009-05-26T23:51:40","date_gmt":"2009-05-27T04:51:40","guid":{"rendered":"http:\/\/www.juixe.com\/techknow\/?p=607"},"modified":"2009-05-26T23:51:40","modified_gmt":"2009-05-27T04:51:40","slug":"twitcode","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2009\/05\/26\/twitcode\/","title":{"rendered":"Twitcode: A Program in 130 Characters"},"content":{"rendered":"<p>I came across the Twitter hashcode #twitcode that folks where using to tweet code that fit under 130 characters.  After searching for more twitcode here are the ones I thought where the best, as of this writing.<\/p>\n<ul>\n<li>@gsale: if(apathetic){System.out.print(&#8220;Don&#8217;t care.&#8221;)}elseif(ignorant){System.out.print(&#8220;Don&#8217;t Know.&#8221;)}else{(System.out.print(&#8220;tweet&#8221;))}<\/li>\n<li>@bifethewise: $madness ? $this.is = MADNESS : $this.is = SPARTAAAA;<\/li>\n<li>@eggsy84: function dance(year) { if (year == 1990) { stop(); hammertime(); } }<\/li>\n<li>@fhussains: On Error GoTo HELL<\/li>\n<li>@TurkoAmericano: if (you.AreHappy &#038;&#038; you.KnowIt) you.ClapHands();<\/li>\n<li>@longhorn2005: \/\/ TODO: Don&#8217;t forget to write something funny&#8230;like oh my GOD somebody is trying to use me.!! CODE RED, I REPEAT CODE RED!<\/li>\n<li>@misspentlife: double evil = 666; double money = Math.Sqrt(evil);<\/li>\n<li>@mmetzger: Little late to the game but &#8211; public bool got(baby b) { return b.contains(&#8220;back&#8221;) ? true : false; }<\/li>\n<li>@dbutscher: if (we.WantTo) {we.CanDance() &#038;&#038; we.CanLeaveYourFriendsBehind()}<\/li>\n<li>@yboyacigil: to.be() || !to.be()<\/li>\n<li>@purpig: if ((drinking)); then cat \/productivity > \/dev\/null 2>&#038;1 fi<\/li>\n<li>@Iggyhopper: if (onGrass) Yell(&#8220;GET OFF MY GRASS&#8221;); else Sleep()<\/li>\n<li>@dbutscher: if (you.Want(this.Body) &#038;&#038; you.Think(this.IsSexy)) {baby.Notify(this);}<\/li>\n<li>@dbutscher: if (!atFirst.Succeed) {try {again} }<\/li>\n<li>@captaincrash80: if (drinking) { drive = false; } else { you.inJail = true; }<\/li>\n<li>@Tchovis: while(!drunk){ if(party.start){drink(beer)}else{drink(vodka)}if(vomiting) drunk = true; )<\/li>\n<li>@kronius: SELECT thoughts, dreams, ideas FROM head WHERE allThis LIKE &#8216;work related&#8217; ORDER BY quality;<\/li>\n<li>@ltlfrari public int WhatIsTheMeaningOfLifeTheUniverseAndEveryThing() { return 42; }<\/li>\n<li>@TurkoAmericano: public int GimmeFive() { return 5; }<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I came across the Twitter hashcode #twitcode that folks where using to tweet code that fit under 130 characters. After searching for more twitcode here are the ones I thought where the best, as of this writing. @gsale: if(apathetic){System.out.print(&#8220;Don&#8217;t care.&#8221;)}elseif(ignorant){System.out.print(&#8220;Don&#8217;t Know.&#8221;)}else{(System.out.print(&#8220;tweet&#8221;))} @bifethewise: $madness ? $this.is = MADNESS : $this.is = SPARTAAAA; @eggsy84: function dance(year) { [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[3],"tags":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/s902K-twitcode","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/607"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=607"}],"version-history":[{"count":0,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/607\/revisions"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=607"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}