Removing An Obsolete Workspace From Eclipse 3.1

Courtesy EclipseZone

Eclipse is storing the workspace information in a preferences file called "org.eclipse.ui.ide.prefs". This file is located under "%ECLIPSE_HOME%\configuration\.settings" and contains a key named "RECENT_WORKSPACES". The value of this key contains a comma separated list of workspaces, more precisely the path to the workspaces. If you delete one of the entries, it'll disappear from the workspace launcher.

Disable Shutdown Event Tracker on Windows Server 2003

  1. Click Start, and then click Run.
  2. Type gpedit.msc, and then click OK.
  3. Expand Computer Configuration, expand Administrative Templates, and then expand System.
  4. Double-click Display Shutdown Event Tracker.
  5. Click Disabled, and then click OK.
Reference: Microsoft Support

Firefox Default Zoom Level

I find myself squinting more and more when I read blogs on the internet, but I hate the lower Windows display resolutions (I'm using 1400x900). Firefox has built in keyboard shortcuts for zooming (CTRL+/CTRL-), but I find them clumsy to use...also, you have to repeat this for every page you view.

I found a Firefox extension named Default FullZoom Level that meets my needs perfectly. I can set the default zoom to 125% so I don't need to change it on every page I view, and I can easily change the zoom by clicking CTRL, or CTRL. for zooming in and out respectively. Those shortcuts are more user friendly for me than Firefox's default ones, and the default zoom level is a life saver.

7 Must-See Web Design Videos and Presentations

Blog Apptacular ColdFusion Builder Extension - Scaffolding

25 User Experience Videos That Are Worth Your Time

I need to watch these videos

From Smashing Magazine:

"We're all mostly accustomed to educating ourselves by reading articles. Rare are the opportunities to attend conferences or watch live shows on subjects that we're interested in. That's why we are presenting here phenomenal videos and related resources on the topic of user experience (UX) by different presenters at different events. We have focused on current content but have included some older videos that are still relevant. It will take you more than 16 hours to watch all of these videos. So, make some popcorn, turn off the lights and enjoy."

The videos: 25 User Experience Videos That Are Worth Your Time

Setting the physical file path of an application with ColdFusion

Hopefully this tip will help someone down the road too, or maybe someone can enlighten me as to the "right" way to code for the physical file path of an application.

I was setting the following code in the OnApplicationStart() method to set the application's physical file path (http://mydomain.com/myApplication):

<cfset application.rootpath = expandPath('./')>
The application uses index.cfm as a "controller" (i.e.index.cfm?disp=thispage) so I THOUGHT it would set the path relative to the root of the application (C:\inetpub\wwwroot\mydomain\myApplication)

Well, it does...MOST of the time....I still haven't gotten to the bottom of it, but sometimes the rootpath would get set to nested directories (C:\inetpub\wwwroot\mydomain\myApplication\middle\). I can only assume that the application would sometimes reinit when it was in the middle of processing something in the "middle" directory.

Long story short, I'm about to deploy this code fix to (hopefully) resolve the problem:

<cfset application.rootpath = "#expandpath('/')##application.applicationname#\"> .
The application.applicationname is the same as the "myApplication" directory, so I'm hopeful that this will work....at least my three test runs worked..lol

Change the default port on the built in ColdFusion Webserver

More syntax I never remember


Changing the Port Number for ColdFusion MX 6.1

If using the Macromedia standalone web server with ColdFusion MX 6.1, you can also change the port from 8500 to 80 or any other available port.

Simply open the install directory:\CFusionMX\runtime\servers\default\SERVER-INF\jrun.xmlfile and search for<attribute name="port">8500</attribute>, which is near the bottom of the document. Change the port number from 8500 to the available port you wish to use, such as port 80, and save this file. Stop and restart the ColdFusion

Changing the web root for ColdFusion's built in webserver

I never remember this file path/syntax when setting up a new machine (instructions courtesy of Adobe support)

1. Make a backup copy of C:\ColdFusion8\wwwroot\WEB-INF\jrun-web.xml, and then open the original version of the jrun-web.xml file.
2. Edit the system-path attribute to change to the new web root directory:

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>c:/inetpub/wwwroot/</system-path>
</virtual-mapping>
Note: Remember to use forward slash characters in the pathname.

3. Save the file.
4. You can now move the CFIDE and cfdocs directory to the new web document root. These directories contain the files for the ColdFusion Administrator, the ColdFusion documentation, and the ColdFusion example code. Caution: Do not move the WEB-INF directory. It must stay under the cf_root\wwwroot directory.
5. Restart the ColdFusion server.

Reset Identity Key in SQL Server

I never remember this syntax...

DBCC CHECKIDENT (mytable, RESEED, 0)

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.2.002. Contact Blog Owner