The Guild – Do You Wanna Date My Avatar?

September 28, 2009

I forgot how friggen funny these guys are. If you’ve ever played an MMO (Massivly Multiplayer Online) game for PC, this music video will have you raving in your computer office!

0

Triggering the Change Event on a Select Box Programatically In jQuery

September 23, 2009

Don’t know if anyone else has had to do this, and it seems so simple, but it took me a couple of minutes to find this. I have a ColdFusion page with a lot of jQuery magic happening with a popup dialog that allows the user to edit address information. This dialog has a list [...]

0

Optimize Performance in Eclipse

September 23, 2009

Here’s a link to David Salter’s site that talks about some settings you can modify in your eclipse.ini file in Windows to help make Eclipse a bit more palatable for everyday use. Visit his site at http://davidsalter.co.uk/blog/?p=332.

0

A Prettier Query to JSON for ColdFusion using Groovy

September 22, 2009

ColdFusion 8 introduced the ability to serialize data structures, arrays, and queries to JSON notation, making building AJAX-enabled applications even easier. There are a couple of annoyances, however, that still persist, and simply drive me nuts. Take the following query as an example.

1 2 3 4 5 6 7 8 9 10 <cfquery name="qryStates" datasource="datasource"> SELECT s.state_id , s.stateName , s.stateAbbrev   FROM states AS s ORDER BY s.state </cfquery>

When you use the [...]

5

SES URLs with ColdFusion 8 and Tomcat

September 21, 2009

A little tidbit that I had to work on today. To make sure that I am properly testing my applications in both Railo AND ColdFusion, I bundled up ColdFusion 8 as a WAR file and deployed it to Tomcat. That went easily enough. When I browsed to my Coldbox application, however, I was greeted with [...]

0

Writing C# Functions for SQL Server and CLR Integration

September 15, 2009
Tags: , ,

An interested problem was presented to me today where a database table in SQL Server 2005 (now moved to 2008) had a trigger attached to a table that would encrypt a credit card number on insert or update. The encryption routine used the sp_OACreate stored procedure to make use of an older Microsoft cryptography library [...]

0

Basic Example of jQuery Tooltip

September 10, 2009

Oftentimes we developers overlook the simplest solutions to a given problem. And I must confess that I am the worst, often looking for the most complex, reusable, scalable solution to something as simple as “How do I display a list of promotions in a tabular format while showing them details of the promo?”

As I [...]

0

Count Lines of Code in a Directory using Groovy

September 9, 2009

So here’s a tasty morsel. I wrote a quick little script to count the number of lines of code in a ColdFusion project. Why? To make stuff look impressive, or course! So here we make use of Groovy’s very powerful extensions to the Java File object, and its ability to easily iterate. Take a look.

1 2 3 4 5 6 7 8 9 10 11 12 13 lineCount [...]

0