Adam.Blog()
Adam Presley's blog
ColdFusion Challenge: Footprint Optimization
The heat is on! (note actually, I’m freezing right now, our office air is on, and it’s 50 degrees outside). But I digress… The HEAT IS ON! I have initiated a code challenge at work this week. I work for a software company in Dallas that is in the medical...
Consuming Web Services in .NET 3.5 - Web References
I have to admit I feel a little bit behind the curve. I’ve not goofed too much with the .NET 3.5 specific stuff much lately, and much of my experience has been in .NET 2.0. But today I packed up the laptop and headed to Starbucks to get out of...
Images in SQL
So I was presented with a task today of extracting images that were stored in a Microsoft SQL Server 2000 database and save them as JPEG files. Here is a bit of code that will do this. In this code sample I am assuming domain authenticated SQL login. The table...
Enhancing Groovy - String to File
Although I’m sure this won’t be super useful, I did find a use case for it yesterday while writing a command line log parsing tool in Groovy. One of the options I was providing users of this tool (mainly me) is the ability to pass in a comma-delimited list of...
Useful Date/Time Class for PHP
As programmers we should always strive to better ourselves by improving our craft by taking pride that what we build is not only useful, but can continue to be useful for a long time to come. Part of this strategy involves writing code that exhibits resuse, high cohesion, and loose...
Using ANT to Automate A Build
Last night I attended the Dallas/Fort Worth ColdFusion User Group meeting held at the Paladin Consulting offices, lead here locally by Dave Shuck. There were three presentations scheduled, though one was cancelled last minute, so we only got two. Although both presentations were good the one I got the most...
Flying Fish - Whole Catfish?
Today myself and a group from work went to the Flying Fish resturaunt here in Addison. We’ve been there many times before as its a pretty good cajun-style fish joint. This time I decided I was hungry, and wanted more than just a filet or two of catfish. Lo and...
An Update is Coming. I Promise
I haven’t blogged in far too long, so I promise an update is coming soon. I have to blog about contract work, vacation, etc… Plenty of pictures to get together. So I promise I’ll have an update soon.
How to Change the Owner of a SQL 2005 Table
It isn’t often that I need such a thing, but occasionally I get asked by an engineer to change the owner of a database table in MS SQL 2005. This happens sometimes, though I cannot always remember how, but changing the owner of a table is pretty easy. Just execute...
Old-School Display of DIVs with ColdFusion and Javascript
Today I was asked for some Javascript that would show or hide a DIV when selecting one or more values from a multi-select box based on if the selected values existed in a mapping table. So in this scenario there is one query that pulls back all possible values, and...