<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>RSS feed for InstantSpot site think-lab.net</title><link>http://think.instantspot.com</link><language>en-us</language><copyright>This work is Copyright &#xA9; 2009 by think-lab.net</copyright><generator>RSSVille ColdFusion FeedMaker, version 1.0</generator><pubDate>Sat, 21 Nov 2009 04:29:07 GMT</pubDate><item><title>ColdFusion Config Settings</title><link>http://think.instantspot.com/blog/2008/05/27/ColdFusion-Config-Settings</link><description>&lt;p&gt;Here is the problem I needed to come up with a way to allow my client admins to set alias&apos;s for entry forms and report headers. So I started looking at localization and quickly found that, that was not a good Idea at all so then I started looking at using ini files since ColdFusion has functions for reading and setting config keys. I also found that I didn&apos;t like using the config file for this so I created a table to store the infromation. Then I decided to do some test to see if the was some benefit to using a DB verses the ini file low and behold there is.&lt;br /&gt; This code block took [58ms] &lt;em&gt;to run&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cftimer label=&amp;quot;iniSettings&amp;quot; type=&amp;quot;debug&amp;quot;&amp;gt;  &amp;lt;cfscript&amp;gt;   iniFile = expandPath(&apos;config_1234_12.ini.cfm&apos;);   clientStruct  ={    clientNameLabel = getProfileString(iniFile, &amp;quot;client&amp;quot;, &apos;clientNameLabel&apos;),    clientNameHasValidation = getProfileString(iniFile, &amp;quot;client&amp;quot;, &apos;clientNameHasValidation&apos;),    clientNameValidation = getProfileString(iniFile, &amp;quot;client&amp;quot;, &apos;clientNameValidation&apos;)   };  &amp;lt;/cfscript&amp;gt;  &amp;lt;cfoutput&amp;gt;   &amp;lt;label&amp;gt;#clientStruct[&apos;clientNameLabel&apos;]#&amp;lt;/label&amp;gt;   &amp;lt;input type=&amp;quot;input&amp;quot; name=&amp;quot;clientName&amp;quot;&amp;gt;   &amp;lt;input type=&amp;quot;button&amp;quot; value=&amp;quot;Click Me!&amp;quot; onclick=&amp;quot;validate()&amp;quot;&amp;gt;   &amp;lt;script&amp;gt;    function validate(){     &amp;lt;cfif IsBoolean(clientStruct[&amp;quot;clientNameHasValidation&amp;quot;]) AND clientStruct[&amp;quot;clientNameHasValidation&amp;quot;] is true&amp;gt;      #ReReplaceNoCase(clientStruct[&amp;quot;clientNameValidation&amp;quot;],&apos;~clientname~&apos;, clientStruct[&amp;quot;clientNameLabel&amp;quot;])#     &amp;lt;/cfif&amp;gt;    }   &amp;lt;/script&amp;gt;    &amp;lt;/cfoutput&amp;gt; &amp;lt;/cftimer&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;This code block took [2ms] &lt;em&gt;to run&lt;/em&gt;&lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cftimer label=&amp;quot;DBSettings&amp;quot; type=&amp;quot;debug&amp;quot;&amp;gt;  &amp;lt;cfscript&amp;gt;   args = {    cfSection = &amp;quot;client&amp;quot;   };      clientStruct=application.configSettingsService.queryToPropStruct(application.configSettingsService.getByAttributesQuery(argumentcollection=args));   if(StructKeyExists(clientStruct,&apos;&apos;)){      }  &amp;lt;/cfscript&amp;gt;  &amp;lt;cfoutput&amp;gt;   &amp;lt;label&amp;gt;#clientStruct[&apos;clientNameLabel&apos;]#&amp;lt;/label&amp;gt;   &amp;lt;input type=&amp;quot;input&amp;quot; name=&amp;quot;clientName&amp;quot;&amp;gt;   &amp;lt;input type=&amp;quot;button&amp;quot; value=&amp;quot;Click Me!&amp;quot; onclick=&amp;quot;validate()&amp;quot;&amp;gt;   &amp;lt;script&amp;gt;    function validate(){     &amp;lt;cfif IsBoolean(clientStruct[&amp;quot;clientNameHasValidation&amp;quot;]) AND clientStruct[&amp;quot;clientNameHasValidation&amp;quot;] is true&amp;gt;      #ReReplaceNoCase(clientStruct[&amp;quot;clientNameValidation&amp;quot;],&apos;~clientname~&apos;, clientStruct[&amp;quot;clientNameLabel&amp;quot;])#     &amp;lt;/cfif&amp;gt;    }   &amp;lt;/script&amp;gt;    &amp;lt;/cfoutput&amp;gt; &amp;lt;/cftimer&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt; &lt;p&gt;I know 58ms doesn&apos;t seem like much but remeber in this example its only one field and I have pages the have 50 fields that a client might alias.&lt;/p&gt;</description><pubDate>Wed, 28 May 2008 01:02:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/05/27/ColdFusion-Config-Settings</guid><category>code,design,ColdFusion,CFC</category></item><item><title>Happy Easter</title><link>http://think.instantspot.com/blog/2008/03/22/Happy-Easter</link><description>&lt;p&gt;&lt;br /&gt; &lt;object width=&quot;464&quot; height=&quot;388&quot; classid=&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot;&gt; &lt;param value=&quot;http://www2.funnyordie.com/public/flash/fodplayer.swf?1203120643&quot; name=&quot;movie&quot; /&gt; &lt;param value=&quot;key=dab275bedc&quot; name=&quot;flashvars&quot; /&gt; &lt;param value=&quot;true&quot; name=&quot;allowfullscreen&quot; /&gt;&lt;embed width=&quot;464&quot; height=&quot;388&quot; type=&quot;application/x-shockwave-flash&quot; src=&quot;http://www2.funnyordie.com/public/flash/fodplayer.swf?1203120643&quot; quality=&quot;high&quot; allowfullscreen=&quot;true&quot; flashvars=&quot;key=dab275bedc&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt; &lt;noscript&gt;&amp;lt;a href=&amp;quot;http://www.funnyordie.com/videos/dab275bedc&amp;quot;&amp;gt;Easter Jesus&amp;lt;/a&amp;gt; on &amp;lt;a href=&amp;quot;http://www.funnyordie.com/&amp;quot;&amp;gt;FunnyOrDie.com&amp;lt;/a&amp;gt;&lt;/noscript&gt;</description><pubDate>Sun, 23 Mar 2008 01:14:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/22/Happy-Easter</guid><category>funny</category></item><item><title>ColdFusion Test</title><link>http://think.instantspot.com/blog/2008/03/11/ColdFusion-Test</link><description>&lt;p&gt;Here is a ColdFusion test that I found see how you do.&lt;/p&gt; &lt;p&gt;1.    Which of these are NOT legal variable names?&lt;br /&gt; a.    $myVar&lt;br /&gt; b.    my-Var&lt;br /&gt; c.    _true&lt;br /&gt; d.    my$Var&lt;br /&gt; e.    false &lt;br /&gt; &lt;br /&gt; 2.    What will this code produce? &lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cfset test = RandRange(0, 1)&amp;gt; &amp;lt;cfif NOT test&amp;gt;     &amp;lt;cfset x = Val(100/test)&amp;gt; &amp;lt;cfelse&amp;gt;     &amp;lt;cfset x = Val(100/(test*0))&amp;gt; &amp;lt;/cfif&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt; 3.    Write code to output 1 to 1000, comma-delimited, (stepping by 1) without using the &lt;cfloop&gt; tag (e.g., 1,2,3,4,5&amp;hellip; etc):&lt;/cfloop&gt;&lt;/p&gt; &lt;p&gt;4.    List as many ColdFusion application scopes as possible and explain each briefly.&lt;br /&gt; &lt;br /&gt; 5.    Given a query &amp;ldquo;myQuery&amp;rdquo;, how would you get the column names that are returned by this query?&lt;br /&gt; &lt;br /&gt; 15. Given a query &amp;ldquo;myQuery&amp;rdquo;, how would you find out the total records returned by this query?&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; 6.    This is a query returned called &amp;ldquo;myQuery&amp;rdquo;:&lt;br /&gt; Row    Name        Company&lt;br /&gt; 1    Jeff    widget1&lt;br /&gt; 2    David    Solisys&lt;br /&gt; 3    Darryl    Adobe&lt;br /&gt; 4    Jim    widget1&lt;br /&gt; 5    Marie    Adobe&lt;br /&gt; &lt;br /&gt; Write code to return the following output given the query above:&lt;br /&gt; widget1&lt;br /&gt; Jeff    &lt;br /&gt; Jim    &lt;br /&gt; Solisys&lt;br /&gt; David&lt;br /&gt; Adobe&lt;br /&gt; Darryl&lt;br /&gt; Marie&lt;br /&gt; &lt;br /&gt; 7.    Given a query, &amp;quot;Products&amp;quot;, with the fields: &amp;quot;id&amp;quot;, &amp;quot;price&amp;quot;, and &amp;quot;description&amp;quot;, how can you output the price of the LAST row in the query without using either a loop or another query? &lt;br /&gt; &lt;br /&gt; 8.    Given a custom tag, &amp;quot;ListNoDupes&amp;quot;, that accepts the variables: &amp;quot;list&amp;quot; and &amp;quot;returnAs&amp;quot;. The last line of the tag is this: &lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cfset SetVariable(&apos;caller.&apos; &amp;amp; attributes.returnAs, newList) /&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt; What will happen on the page that calls this custom tag?&lt;br /&gt; a.    Nothing&lt;br /&gt; b.    A variable called &amp;quot;caller.returnAs&amp;quot; will be set as a local variable on the calling page&lt;br /&gt; c.    A request-scoped variable called &amp;quot;newList&amp;quot; will be created&lt;br /&gt; d.    A local variable will be set on the calling page with the same name as the value of the &amp;quot;returnAs&amp;quot; parameter passed into the custom tag.&lt;br /&gt; e.    If no variable called &amp;quot;returnAs&amp;quot; exists on the calling page, it will be created. If such a variable does exist, nothing will happen. &lt;br /&gt; &lt;br /&gt; 9.    Given this CFC: &lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cfcomponent displayname=&amp;quot;Classroom&amp;quot;&amp;gt;     &amp;lt;cfset variables.students = ArrayNew() /&amp;gt;     &amp;lt;cfset variables.teacher = &amp;quot;&amp;quot; /&amp;gt;      &amp;lt;cffunction name=&amp;quot;addStudent&amp;quot; returntype=&amp;quot;void&amp;quot;&amp;gt;   &amp;lt;cfargument name=&amp;quot;student&amp;quot; type=&amp;quot;Student&amp;quot; required=&amp;quot;true&amp;quot;&amp;gt;   &amp;lt;cfset ArrayAppend(getStudents(), arguments.student) /&amp;gt;     &amp;lt;/cffunction&amp;gt;      &amp;lt;cffunction name=&amp;quot;getStudents&amp;quot; returntype=&amp;quot;array&amp;quot;&amp;gt;   &amp;lt;cfreturn variables.students /&amp;gt;     &amp;lt;/cffunction&amp;gt; &amp;lt;/cfcomponent&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt; You create 1 &amp;quot;Classroom&amp;quot; object, &amp;quot;classroom&amp;quot;, and 3 Student objects. You call the &amp;quot;addStudent()&amp;quot; method, passing in each of the three new students. At the end of this, what will this code produce?&lt;br /&gt; #ArrayLen(classroom.getStudents())#&lt;br /&gt; &lt;br /&gt; 10.    You&apos;ve been given a text file, &amp;quot;CityTemperatures.txt&amp;quot;. Each line in the file contains the temperatures for each day in the same week for different cities. &lt;br /&gt; Atlanta:   54,57,52,34,45,49,53&lt;br /&gt; Baltimore: 67,72,69,77,79,71,74&lt;br /&gt; Chicago:   81,72,79,74,76,67,72&lt;br /&gt; Denver:    68,64,75,69,72,63,68&lt;br /&gt; Can you read and display the low, high, and average temperatures for each city in 10 lines of code or less? &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; 11.    You have a query, &amp;quot;Products&amp;quot;, with the following columns: &amp;quot;id&amp;quot;, &amp;quot;price&amp;quot;, &amp;quot;description&amp;quot;, and &amp;quot;quantityOnHand&amp;quot;. You need to create a form with a checkbox for each row in the Products query, all using the name, &amp;quot;selectedProducts&amp;quot;. The problem is that you need to send information about both the id of the product chosen AND the quantity on hand. At first, you think of putting a hidden form field for each query row that would contain this info, but your co-worker casually remarks that she always does this without using any more form inputs than there are rows. What&apos;s her secret?&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; 12.    Look at this code: &lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cfset susie = StructNew() /&amp;gt; &amp;lt;cfset susie.employer = &amp;quot;ibm&amp;quot; /&amp;gt;  &amp;lt;cfset me = StructNew() /&amp;gt; &amp;lt;cfset me.spouse = susie /&amp;gt;  &amp;lt;cfset me.spouse.employer = &amp;quot;self-employed&amp;quot; /&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt; What&apos;s the value of susie.employer? &lt;br /&gt; &lt;br /&gt; 13.    You&apos;ve produced a two-dimensional array, &amp;quot;arr&amp;quot;, that you need to save as a client variable. What&apos;s the code for this? &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; 14.    Explain this code:&lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt; &amp;lt;cfdirectory action=&amp;quot;list&amp;quot; directory=&amp;quot;#ExpandPath(&apos;./images/mainpic/#ATTRIBUTES.MainPicDir#&apos;)#&amp;quot; sort=&amp;quot;ASC&amp;quot; name=&amp;quot;ImageList&amp;quot; filter=&amp;quot;*.*&amp;quot;&amp;gt;  &amp;lt;cfif ImageList.recordcount eq 1&amp;gt;      &amp;lt;cfoutput query=&amp;quot;ImageList&amp;quot;&amp;gt;         &amp;lt;img src=&amp;quot;./images/mainpic/#ATTRIBUTES.MainPicDir#/#ImageList.name /&amp;gt;     &amp;lt;/cfoutput&amp;gt;  &amp;lt;cfelseif ImageList.recordcount&amp;gt;      &amp;lt;cfset randImageNum = randrange(1,#ImageList.recordcount#)&amp;gt;     &amp;lt;cfoutput query=&amp;quot;ImageList&amp;quot; startrow=&amp;quot;#randImageNum#&amp;quot; maxrows=&amp;quot;1&amp;quot;&amp;gt;         &amp;lt;img src=&amp;quot;./images/mainpic/#ATTRIBUTES.MainPicDir#/#ImageList.name#&amp;quot; /&amp;gt;     &amp;lt;/cfoutput&amp;gt;     &amp;lt;/cfif&amp;gt; &lt;/pre&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt; 15.    In the previous code, what is does ATTRIBUTES.MainPicDir stand for? What does the ATTRIBUTES scope for this variable mean?&lt;/p&gt;</description><pubDate>Tue, 11 Mar 2008 15:44:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/11/ColdFusion-Test</guid><category>ColdFusion,test</category></item><item><title>Just got harder for some guys to pee in public restrooms</title><link>http://think.instantspot.com/blog/2008/03/11/Just-got-harder-for-some-guys-to-pee-in-public-restrooms</link><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;img width=&quot;500&quot; height=&quot;375&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;/userfiles/092106/160/img00023zg5.jpg&quot; /&gt;&lt;/p&gt;</description><pubDate>Tue, 11 Mar 2008 12:50:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/11/Just-got-harder-for-some-guys-to-pee-in-public-restrooms</guid><category>funny</category></item><item><title>Vids of the night</title><link>http://think.instantspot.com/blog/2008/03/10/Vids-of-the-night</link><description>&lt;p&gt;&lt;br /&gt; &lt;embed src=&quot;http://www.theonion.com/content/themes/common/assets/videoplayer/flvplayer.swf&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; wmode=&quot;transparent&quot; flashvars=&quot;file=http://www.theonion.com/content/xml/75552/video&amp;amp;autostart=false&amp;amp;image=http://www.theonion.com/content/files/images/200_KIDNEYS_aticle.jpg&amp;amp;bufferlength=3&amp;amp;embedded=true&amp;amp;title=Anonymous%20Philanthropist%20Donates%20200%20Human%20Kidneys%20To%20Hospital&quot; height=&quot;355&quot; width=&quot;400&quot;&gt;&lt;/embed&gt;&lt;br /&gt; &lt;a href=&quot;http://www.theonion.com/content/video/anonymous_philanthropist_donates?utm_source=embedded_video&quot;&gt;Anonymous Philanthropist Donates 200 Human Kidneys To Hospital&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;embed width=&quot;400&quot; height=&quot;355&quot; flashvars=&quot;file=http://www.theonion.com/content/xml/73549/video&amp;amp;autostart=false&amp;amp;image=http://www.theonion.com/content/files/images/SUICIDE_BELTS_article2.jpg&amp;amp;bufferlength=3&amp;amp;embedded=true&amp;amp;title=In%20The%20Know%3A%20New%20Iraqi%20Law%20Requires%20Waiting%20Period%20For%20Suicide%20Vest%20Purchases&quot; wmode=&quot;transparent&quot; allowscriptaccess=&quot;always&quot; type=&quot;application/x-shockwave-flash&quot; src=&quot;http://www.theonion.com/content/themes/common/assets/videoplayer/flvplayer.swf&quot;&gt;&lt;/embed&gt;&lt;br /&gt; &lt;a href=&quot;http://www.theonion.com/content/video/in_the_know_new_iraqi_law?utm_source=embedded_video&quot;&gt;In The Know: New Iraqi Law Requires Waiting Period For Suicide Vest Purchases&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Polly don&amp;rsquo;t want crackers  &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The madam of a brothel has a problem, so she goes to a local priest. &amp;quot;I have two talking female parrots,&amp;quot; she tells him. &amp;quot;All they can say is &amp;lsquo;Hi, we&amp;rsquo;re prostitutes. Do you want to have some fun?&amp;rsquo;&amp;quot;&lt;/p&gt; &lt;p&gt;&amp;quot;That&amp;rsquo;s awful,&amp;quot; the priest agrees, &amp;quot;but I have a solution to your problem. I have two male parrots whom I&amp;rsquo;ve taught to pray and read the Bible. If we put your parrots with mine, I believe yours will stop saying that awful phrase and will instead learn to recite the word of God.&amp;quot;&lt;/p&gt; &lt;p&gt;The next day, the madame brings her parrots to the priest&amp;rsquo;s house and puts them in with the male parrots, who are holding rosary beads and praying in their cage.&lt;/p&gt; &lt;p&gt;&amp;quot;Hi, we&amp;rsquo;re prostitutes.&amp;quot; say the females. &amp;quot;Do you want to have some fun?&amp;quot;&lt;/p&gt; &lt;p&gt;One male parrot looks at the other and squawks, &amp;quot;Close the Bible, Frank! Our prayers are answered!&amp;quot;&lt;/p&gt;</description><pubDate>Tue, 11 Mar 2008 02:34:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/10/Vids-of-the-night</guid><category>funny,video</category></item><item><title>Handleing Results in Model-Glue </title><link>http://think.instantspot.com/blog/2008/03/10/Handleing-Results-in-ModelGlue-</link><description>&lt;p&gt;Ok I am not the world&amp;rsquo;s best blogger but I am going to give a shot.  So I am working on a &lt;a href=&quot;http://model-glue.com&quot;&gt;Model-Glue&lt;/a&gt; Application that I started about a year and a half ago.  And I am finally starting to reuse some of my functions.  For example I have a saveUserAddress function and a saveUserAccount function and in both of these function&amp;rsquo;s I add result named success if there wasn&amp;rsquo;t an error.  So here is the problem, we adding a new feature that allows a user to setup a new address and a new account on the same screen but in &lt;a href=&quot;http://model-glue.com&quot;&gt;Model-Glue&lt;/a&gt; if there is a result the next function will not be called. So to fix this problem I added an argument to the message in the modelglue.xml file like so.&lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;message name=&amp;quot;SaveUserAddress&amp;quot;&amp;gt;     &amp;lt;argument name=&amp;quot;addResult&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt; &amp;lt;/message&amp;gt; &amp;lt;message name=&amp;quot;SaveUserAccount&amp;quot; /&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt; Then in the controller component I add some logic to account for this.&lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cfif arguments.event.ArgumentExists(&amp;quot;addResult&amp;quot;)&amp;gt;     &amp;lt;cfif arguments.event.getValue(&amp;quot;addResult&amp;quot;) EQ true&amp;gt;         &amp;lt;cfset arguments.event.addResult(&amp;quot;success&amp;quot;, true) /&amp;gt;     &amp;lt;/cfif&amp;gt; &amp;lt;/cfif&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt; &lt;p&gt;I know there some &lt;a href=&quot;http://www.mach-ii.com&quot;&gt;Mach-II&lt;/a&gt; guys  out there  so I would like to know how you handle this in &lt;a href=&quot;http://www.mach-ii.com&quot;&gt;Mach-II&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Tue, 11 Mar 2008 00:40:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/10/Handleing-Results-in-ModelGlue-</guid><category>code,ColdFusion,CFC,model-glue</category></item><item><title>Web 2.0 Footer</title><link>http://think.instantspot.com/blog/2008/03/07/Web-20-Footer</link><description>&lt;p&gt;Here is a nice tutorial on how to make a Web 2.0 footer in &lt;a href=&quot;http://www.adobe.com/products/photoshop/family/&quot; target=&quot;_blank&quot;&gt;Photoshop&lt;/a&gt; over at &lt;a href=&quot;http://psdtuts.com/interface-tutorials/how-to-create-a-simple-sleek-web-20-site-footer/&quot;&gt;PSDTuts.com&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://psdtuts.com/interface-tutorials/how-to-create-a-simple-sleek-web-20-site-footer/&quot;&gt;&lt;img width=&quot;500&quot; height=&quot;166&quot; border=&quot;0&quot; src=&quot;/userfiles/092106/160/final.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><pubDate>Fri, 07 Mar 2008 14:52:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/07/Web-20-Footer</guid><category>Photoshop</category></item><item><title>Website Icons</title><link>http://think.instantspot.com/blog/2008/03/07/Website-Icons</link><description>&lt;p&gt;Its really hard to find good free Icons, here are some from &lt;a href=&quot;http://www.webappers.com/2008/02/12/webappers-released-free-web-application-icons-set/&quot;&gt;webappers.com.&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://www.webappers.com/2008/02/12/webappers-released-free-web-application-icons-set/&quot;&gt;&lt;img width=&quot;480&quot; height=&quot;200&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;/userfiles/092106/160/web-application-icons.png&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 07 Mar 2008 14:48:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/07/Website-Icons</guid><category>HTML,code,Icons</category></item><item><title>Duck Hunt Tramp Stamp</title><link>http://think.instantspot.com/blog/2008/03/07/Duck-Hunt-Tramp-Stamp</link><description>&lt;p&gt;I don&apos;t think I need tell you what to use for bullets.&lt;/p&gt; &lt;p&gt;&lt;img width=&quot;500&quot; height=&quot;235&quot; src=&quot;/userfiles/092106/160/dhts.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><pubDate>Fri, 07 Mar 2008 13:37:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/07/Duck-Hunt-Tramp-Stamp</guid><category>funny</category></item><item><title>Dad&apos;s version of a Prom dress</title><link>http://think.instantspot.com/blog/2008/03/03/Dads-version-of-a-Prom-dress</link><description>&lt;p&gt;&lt;img width=&quot;400&quot; height=&quot;630&quot; alt=&quot;&quot; src=&quot;/userfiles/092106/160/image1.jpg&quot; /&gt;&lt;/p&gt;</description><pubDate>Tue, 04 Mar 2008 03:18:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/03/Dads-version-of-a-Prom-dress</guid><category>funny</category></item><item><title>Super Mario Bros in First Person</title><link>http://think.instantspot.com/blog/2008/03/03/Super-Mario-Bros-in-First-Person</link><description>&lt;p&gt;I saw this over on digg and I just had to post it. &lt;br /&gt; &lt;object width=&quot;425&quot; height=&quot;355&quot;&gt; &lt;param value=&quot;http://www.youtube.com/v/1p0Yap5iG6o&quot; name=&quot;movie&quot; /&gt; &lt;param value=&quot;transparent&quot; name=&quot;wmode&quot; /&gt;&lt;embed width=&quot;425&quot; height=&quot;355&quot; wmode=&quot;transparent&quot; type=&quot;application/x-shockwave-flash&quot; src=&quot;http://www.youtube.com/v/1p0Yap5iG6o&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;</description><pubDate>Mon, 03 Mar 2008 15:30:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/03/Super-Mario-Bros-in-First-Person</guid><category>Video</category></item><item><title>Quick CFC Gotcha</title><link>http://think.instantspot.com/blog/2008/03/03/Quick-CFC-Gotcha</link><description>&lt;p&gt;Lets say you have a bean for an employee and it has getFirstName and setFirstName and lets you forget to put parenthesis like this &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;input type=&amp;quot;Text&amp;quot; name=&amp;quot;firstname&amp;quot; id=&amp;quot;firstname&amp;quot; value=&amp;quot;&amp;lt;cfoutput&amp;gt;#employeeBean.getFirstname#&amp;lt;/cfoutput&amp;gt;&amp;quot; /&amp;gt; &lt;/pre&gt;&lt;/div&gt; at then end when calling getFirstName you might expect to get an error but you wont you will get this &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;input type=&amp;quot;Text&amp;quot; name=&amp;quot;firstname&amp;quot; id=&amp;quot;firstname&amp;quot; value=&amp;quot;cfemployee2ecfc490364409$funcGETFIRSTNAME@25a2fe&amp;quot; /&amp;gt;&lt;/pre&gt;&lt;/div&gt; I am not sure why so if anyone knows why please leave a comment.&lt;/p&gt;</description><pubDate>Mon, 03 Mar 2008 14:50:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/03/Quick-CFC-Gotcha</guid><category>code,ColdFusion,CFC</category></item><item><title>Just checking out the polaroids slide show</title><link>http://think.instantspot.com/blog/2008/03/01/Just-checking-out-the-polaroids-slide-show</link><description>&lt;p&gt;These are the X-rays from when my son broke his arm which was in August.&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;padding: 0pt 10px 10px 0pt;&quot;&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;/js/swfobject.js&quot;&gt;&lt;/script&gt;    &lt;script type=&quot;text/javascript&quot;&gt;function updategallery() {      var so = new SWFObject(&quot;/swf/polaroid.swf&quot;, &quot;polaroid&quot;, &quot;100%&quot;, &quot;600px&quot;, &quot;8&quot;, &quot;#FFFFFF&quot;);      so.addVariable(&quot;xmlURL&quot;,&quot;/gospot/member.PolaroidXml/id/202&quot;);     so.write(&quot;photos6B644650-E1D3-FD67-A8E9D7E0636C6E3A&quot;);     }    &lt;/script&gt; &lt;div id=&quot;photos6B644650-E1D3-FD67-A8E9D7E0636C6E3A&quot;&gt;    &lt;strong&gt;This site requires Flash Player 8.0 or greater&lt;/strong&gt;    &lt;br /&gt; Please click &lt;a href=&quot;http://www.adobe.com/products/flashplayer/&quot;&gt;here&lt;/a&gt; to download.&lt;br /&gt;     If you are sure you have the required version, press this link: &lt;a href=&quot;readme.html?detectflash=false&quot;&gt;bypass the detection&lt;/a&gt;.    &lt;/div&gt;&lt;script type=&quot;text/javascript&quot;&gt;updategallery();&lt;/script&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Sat, 01 Mar 2008 15:24:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/01/Just-checking-out-the-polaroids-slide-show</guid><category>slide show</category></item><item><title>First attempt.</title><link>http://think.instantspot.com/blog/2008/03/01/First-attempt</link><description>&lt;p&gt;Well here you go my first attemp at design my spot. Let me know what you think.&lt;/p&gt;</description><pubDate>Sat, 01 Mar 2008 14:10:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/03/01/First-attempt</guid><category>design</category></item><item><title>How to calculate someones age.</title><link>http://think.instantspot.com/blog/2008/02/29/How-to-calculate-someones-age</link><description>&lt;p&gt;&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;round((Sysdate - birthdate) / 365.25)&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;</description><pubDate>Fri, 29 Feb 2008 20:14:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/02/29/How-to-calculate-someones-age</guid><category>code,oracle</category></item><item><title>How to turn off AUTOCOMPLETE on a HTML input field</title><link>http://think.instantspot.com/blog/2008/02/29/How-to-turn-off-AUTOCOMPLETE-on-a-HTML-input-field</link><description>AUTOCOMPLETE</description><pubDate>Fri, 29 Feb 2008 20:13:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/02/29/How-to-turn-off-AUTOCOMPLETE-on-a-HTML-input-field</guid><category>HTML</category></item><item><title>My own jQuery shake plugin</title><link>http://think.instantspot.com/blog/2008/02/29/My-own-jQuery-shake-plugin</link><description>&lt;p&gt;A newfound love and it with jQuery, and here why I can do more and write less just like it says. I have also just created my own jQuery shake plugIn and I have to say it was a lot easier than I thought it would be. So here it is.&lt;/p&gt; &lt;p&gt;&lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;img src=&amp;quot;/site/assets/uploads/photogalleries/tn/gravatar.jpg&amp;quot; style=&amp;quot;position:relative;&amp;quot; class=&amp;quot;shake&amp;quot;&amp;gt; &amp;lt;script&amp;gt; jQuery.fn.shakeit = function(times){    if(times == &apos;undefined&apos;)       times=1;    this.each(       function(init){          var jqNode = $(this);          for (var x = 1; x &amp;lt;= times; x++){             jqNode                .animate({ left: -25 },10)              .animate({ left: 0 },50)              .animate({ left: 25 },10)              .animate({ left: 0 },50);          }                           }        );    return this;  }  (document).ready(function(){    $(&apos;img.shake&apos;).bind(&apos;click&apos;,          function(){             $(this).shakeit(3);                    }       ); } ); &amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;</description><pubDate>Fri, 29 Feb 2008 19:56:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/02/29/My-own-jQuery-shake-plugin</guid><category>JQuery</category></item><item><title>CF8 on Leopard</title><link>http://think.instantspot.com/blog/2008/02/29/CF8-on-Leopard</link><description>How to setup ColdFusion 8 on Leopard.</description><pubDate>Fri, 29 Feb 2008 19:47:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/02/29/CF8-on-Leopard</guid><category>Mac</category></item><item><title>Add dashboard widget to desktop</title><link>http://think.instantspot.com/blog/2008/02/29/Add-dashboard-widget-to-desktop</link><description>&lt;p&gt;open terminal type in&lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;defaults write com.apple.dashboard devmode YES&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;</description><pubDate>Fri, 29 Feb 2008 19:39:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/02/29/Add-dashboard-widget-to-desktop</guid></item><item><title>JQuery Table Stripe</title><link>http://think.instantspot.com/blog/2008/02/29/JQuery-Table-Stripe</link><description>&lt;p&gt;&lt;br /&gt; &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;script&amp;gt; (document).ready(    function(){       $(&apos;#jq_stripe_table&apos;).bind(&apos;click&apos;,          function(){             $( &amp;quot;#jqueryTable tr:even[ @class != &apos;header&apos; ]&amp;quot; ).each(                function(){                   var _f = $( this );                   _f.addClass( &amp;quot;odd_row_jquery&amp;quot; );                }             );          }       );       $(&apos;#jq_clear_stripe_table&apos;).bind(&apos;click&apos;,          function(){             $(&amp;quot;#jqueryTable tr:even[ @class != &apos;header&apos; ]&amp;quot; ).each(                function(){                   var _f = $( this );                   _f.removeClass( &amp;quot;odd_row_jquery&amp;quot; );                }             );          }       );    } ); &amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;</description><pubDate>Fri, 29 Feb 2008 06:13:00 GMT</pubDate><guid>http://think.instantspot.com/blog/2008/02/29/JQuery-Table-Stripe</guid><category>JQuery</category></item></channel></rss>