Eat lightning and crap thunder

  • Eclipse IDE: Clean your workspace

    Mar 1, 12 • Eclipse IDENo Comments
    Eclipse IDE: Clean your workspace

    In Eclipse I often run into problems where my workspace just becomes absolutely too sluggish to work in. When this happens I run the following two commands in my terminal to clean it up. cd /Applications/eclipse/Eclipse.app/Contents/MacOS ./eclipse -clean that’s it. can’t explain it. but it deletes enough cache or something to begin working better for ...

  • Upgrade GIT on Mac 10.7 Lion

    Nov 29, 11 • Featured, GIT, Version ControlNo Comments
    Upgrade GIT on Mac 10.7 Lion

    To quickly update GIT via terminal there are only a few commands to follow. I find it easier to upgrade GIT this way but I often forget the commands, so really this post is a way for me to bookmark how to upgrade GIT myself. To check what version of GIT you have, enter the ...

  • Revisiting Old Graphic Design

    Sep 15, 11 • UncategorizedNo Comments
    Revisiting Old Graphic Design

    I just stumbled accross this old Album Cover design I did over ten year ago. The tile of this CD should have been Condescending&#...

  • Coldfusion isValid() for Email Strings Confusion

    Sep 13, 11 • UncategorizedNo Comments
    Coldfusion isValid() for Email Strings Confusion

    I was recently working on an issue where some clients were troubled that we did not allow certain characters in our email system when we added emails to the system. The characters in question were; # $ % & ‘ * + – / = ? ^ _ ` { | } ~ We were ...

  • Coldfusion ListContains()

    Jul 1, 11 • ColdfusionNo Comments
    Coldfusion ListContains()

    This one frustrates me a bit. if you do a listContains in coldfusion you might get what you want at first, however after closer examination you may not. 1 2 3 4 5 <cfset currentObjID = 2> <cfset allObjects = '1,2,3'> <cfif listContains(allObjects, currentObjID) gt 0> <cfoutput>found one</cfoutput> </cfif> this code will find 2 in ...

  • Happy Anniversary

    Jun 27, 11 • Home/LifeNo Comments
    Happy Anniversary

    Seven years ago I prepared these words for my beautiful wife and recited them in front of family and friends. Love you Jess! I would not be where I am today without you...

  • Fool-Proof VAR Scoping in Coldfusion Component CFCs

    Feb 27, 11 • ColdfusionNo Comments
    Fool-Proof VAR Scoping in Coldfusion Component CFCs

    A common problem for some coldfusion developers can be memory leaks caused by improperly var scoping your CFCs. Here is fool-proof way to ensure all your CFC’s are properly var scoped. This method was passed onto me by my co-workers at Finalsite where I work as a senior web developer. within your cfc functions you ...

  • jQuery Event Handlers on Ajax loaded content

    Feb 27, 11 • Ajax, JqueryNo Comments
    jQuery Event Handlers on Ajax loaded content

    After ajax has loaded some data to your page, say a link to an article, a regular click handler to that new link would not be applied to elements loaded into the DOM after the initial page load. Read on to learn how to remedy this...

  • Back to my roots

    May 18, 10 • UncategorizedNo Comments
    Back to my roots

    I recently created a flyer/poster design for my synagogue which gave me an opportunity to refresh my old graphic design skills. It’s not much, and since this was a non-profit I did it fairly quickly and used a business card design I found on adobe as the basis for the design. So really all I ...

  • Date string comparison in Coldfusion

    May 16, 10 • Uncategorized1 Comment
    Date string comparison in Coldfusion

    I discovered the other day an interesting tid-bit in cf 8 when comparing two date strings that were set as the following: 1 2 3 <cfset date1 = '5/19/2010' /> <cfset date2 = '19/5/2010' /> <cfif date1 eq date2>the same<cfelse>different</cfif> When doing so the strings are considered equal. I gather this is because it translates ...