The cf_sql_ is optional in cfqueryparam

coldfusion This is not exactly a new trick, but it is quite useful and I find not many people know that the cf_sql_ prefix is optional in the cfsqltype attribute of cfqueryparam. So instead of doing this:

WHERE id = <cfqueryparam value="#url.

This entry was:

Quick Google CDN jQuery Tip

web Here's a quick tip if your using Google's Content Delivery Network (CDN) for serving up jQuery (or other scripts).

So if you want jQuery 1.4.4 you can use a url like this:

This entry was:

Viewing Images with Eclipse

misc Here's a quick tip for Eclipse users. When you double click on an image file in eclipse it typically opens up whatever program your OS has associated with that file type. You can configure eclipse to view images in the editor pane fairly easily, without installing any plugins.

This entry was:

Web Design Tips for Programmers

web I found a good article on dzone today titled Why Programmers Suck at CSS Design. The title is actually misleading, rather than focus on the why, it will actually help you create some better looking pages.

I've often wanted to write a blog entry about the same topic.

This entry was:

A Project Management Tip for Fridays

misc Here's a quick tip for project management, and staying on top of tasks...

I am always getting tasks, bugs, or change requests via email, IM, or phone.

This entry was:

Seinfeld's Productivity Tip

misc LifeHacker has a great productivity tip from Jerry Seinfeld.

Here's how it works, let's say you want to learn about all the new features in ColdFusion 8. Now grab a wall calendar, and a red marker. Every day that you learn about a new feature mark a red X on that day.

This entry was:

Tip for Viewing Images in Eclipse

misc Here's a quick tip for those using Eclipse / CFEclipse, and would like to view images in your project from within eclipse.

Go to Window » Preferences in the Eclipse menu. Then expand General » Editors and click on File Associations.

This entry was:

MySQL Optimization Hints

databases Every programmer loves to optimize, even when we know we shouldn't. To satisfy your cravings MySQL has several keywords that can be placed in your SQL statement to give the database server an explicit optimization instruction.

This entry was:

CSS Uppercase / All Caps

web Need to know how to make text all uppercase or in all caps with CSS? Add the following to your CSS stylesheet:

div.uppercase { text-transform: uppercase; }

That will take all the letters and capitalize them.

This entry was:

Apple 30 Inch Cinema Display Boosts Productivity up to 73%

apple misc If you've been trying to figure out a way to get your hands on a 30" Apple Cinema Display, show your boss these reports on the productivity gains associated with using larger, or multiple monitors.

This entry was:

Howto Backup your Mac incrementally over SSH

apple linux Do you have access to a shell account on a unix server with some spare space? If so it's pretty easy to incrementally backup your files securely with SSH.

This entry was:


coldfusion Here's my tip for the day. If you have a choice in using either the cfsilent tag, or cfsetting enablecfoutputonly="true" use cfsilent.

Here's why

Easier to type

Easier to read

The enablecfoutputonly gets very messy when used across cfincludes.

This entry was:

20 ways to Secure your Apache Configuration

web Here are 20 things you can do to make your apache configuration more secure.

Disclaimer: The thing about security is that there are no guarantees or absolutes.

This entry was:

Vi in a Nutshell

linux misc The unix text editor vi probably has more features than Microsoft Word yet I've only been using about 5 of them. Recently I've been learning a bit more about it.

This entry was:

CSS Techniques Roundup - 20 CSS Tips and Tricks

web I never cease to be amazed at what problems can be solved with pure CSS.

This entry was:

4 Google Tricks

web Here are four things I didn't know you could do in a google search until recently:

Fuzzy Search - Search for ~music player, and google searches for music player, mp3 player, audio player, and other words that have similar meanings to music.

This entry was:

LIMIT and OFFSET SQL Pagination

databases Both MySQL and PostgreSQL support a really cool feature called OFFSET that is usually used with a LIMIT clause.

The LIMIT clause is used to limit the number of results returned in a SQL statement.

This entry was:

DateFormat, and TimeFormat mask shortcuts

coldfusion Did you know that there were some date/time mask shortcuts for the DateFormat, and TimeFormat functions? They were added in ColdFusion MX 6.0, and they flew under the radar for many. I have seen them in the docs when I lookup a mask, but I always forget about them.

This entry was:

How to Disable the Safari RSS Feature

apple If you don't use Safari as an RSS Feed reader (I use bloglines), the feature can get kind of annoying. Every time you click on an RSS feed, it is redirected to a feed:// url.

This entry was:

Increase Productivity with Action Tagging

misc web @

Here's a little productivity tip for those of you using a bookmarking system that supports tags (such as

I like to call it Action Tagging, here's how it works.

This entry was:

How to Comment Code Better

misc Ryan Campbell has posted some good tips on practical approaches to writing better comments.

His article should help you find the median between over commenting, and not commenting enough.

This entry was:

Search Engine Ranking Factors

web Ignore the fact that this page looks like it was made in 1995, because the content on it is quite relevant. It contains a list of over 100 factors that effect your ranking, either positively or negatively in Google (and they don't hurt your standings in other search engines).

This entry was:

AdSense Optimization Tips (from google)

web Google recently held a webinar for AdSense publishers. They gave out some adsense optimization tips that they have gathered over the past few years. The transcript is pretty lengthy, so here's the summary:

Ad Location - "the middle, above the fold location perform best.

This entry was:

How To Make a Tag Cloud

coldfusion web Jeffery Zeldman proclaims that tag clouds are the new mullets. However, as I'm sure you're aware some people just can't resist the mullet.

This entry was:

Some Tips

web, if your not fimiliar with it, is a social bookmarking tool. I use it for two reasons, its an easy way to access my bookmarks on multiple computers, and its a great way to find new web sites.

I have mentioned it a few times on my blog (I even have a link to bookmark with del.

This entry was:

Dashboard Widget Tip - Quickly Removing Widgets

apple You can make the close X show-up on a widget by holding down Command and Alt/Option. This is sometimes easier than hitting the + button.

This entry was:

Howto keep Eclipse Plugins between upgrades

coldfusion java misc The Javalobby has a great article called Eclipse: Managing Multiple Eclipse Installations that shows you how you can keep one plugins directory and have it work for multiple eclipse installs.

Since I do a lot of Java 1.5 development, I have to use Eclipse 3.

This entry was:

Fonts for Programmers

misc Courier New is the standard monospace fixed width font used by programmers. If your looking to try something new, I just found a list of fonts for programmers. Right now I'm trying out Bitstream Vera Sans Mono.

This entry was:

Cross Site Request Forgery (CSRF) Attacks

web I found a site that has some good security tips for web developers. It mentions one type of attack that doesn't get much attention - called Cross Site Request Forgery (CSRF).

This entry was:

High Performance MySQL

books databases I just received my copy of High Performance MySQL by Jeremy D. Zawodny (from Yahoo) and Derek J. Balling.

This entry was:

Right Click to Open Command Prompt in Directory

misc Here's a handy tip that I got from a co-worker, who found it in the book Microsoft Visual C# .NET Step by Step. It creates a shortcut in the right click context menu of Windows Explorer to open a command prompt in the current directory.

This entry was:

Regular Expressions with ColdFusion - a Howto Guide

coldfusion Regular Expressions are a powerful tool for both developers and computer users alike. Regular Expressions were originally developed on Unix systems and used in programs like Perl, sed, and grep.

This entry was:

xcopy - Handy tool on windows

misc xcopy is useful program that is included with Windows.

This entry was:

Google Calculator

misc To use Google's built-in calculator function, simply enter the expression you'd like evaluated in the search box and hit the Enter key or click the Google Search button.

This entry was:

Right Click - Edit with Notepad

misc Developers and system administrators often need to open files of types that aren't mapped to a particular program. This ofcourse requires that slow "Open With" window to pop up. A trick I recently found is to add a shortcut to the right click menu, to open files with notepad.

This entry was:

FTP Scripts on windows

misc I found this Microsoft KB article today 96269 which shows you how to use the ftp program that comes with

all versions of windows an automate a file transfer.

ftp -s:script.txt

The contents of script.

This entry was:

Uptime for Windows 2000, 2003, XP and NT

misc Almost every unix operating system comes with a utility called uptime that tells you how long your server has been running.

Unfortunitly no such tool comes with windows, but there is a pretty fool proof way to determine the date you computer was last started.

This entry was: