George, Julie, Michael, Moxie & Hank
www.georgejaros.com

Visitors: 0 Info
Since Feb 5, 2006
Copyright © 2008 GJJ
George's Universe v6
>

ColdFusion

These are various chunks of ColdFusion code that I've written for different purposes. These pages are part of George's Universe, but will open in a new window. I am including them here free for use (just keep any copyright information with the code). If you use and appreciate the code, send me a message, or buy me something off of my Amazon Wishlist. Thanks! These pages were all written by George Jaros and are part of George's Universe, but will open in new browser windows.

    >> generateKey() Function: - This function will generate a Security Key for form submissions on a web site.

    >> getFraction() Function: - This function will take input from a decimal and return a fraction string, i.e. 3.25 will return 3 1/4.

    >> EncodedEmail() Function: - This function will output a JavaScript email address that can't be harvested by SPAM Bots.

    >> getImageSize() Function: - This function will return information about an image passed to it depending on the arguments passed.

    >> ListCompare() Function: - This function will compare two lists and return True if the lists share any value in common.

    >> roundTo() Function: - This function will round a number to a specified number of decimal places. It can also round up or down as specified.

    >> JustNumbers() Function: - This function will take input from a string and return only numbers. It is useful for getting just the digits from a phone number or removing any units from a number.

    >> DumpVar() Function: - This function will allow you to use the CFDUMP command from within CFSCRIPT.

    >> fileDump() Function: - This function will allow you to use the CFDUMP command to write the contents of a variable to a file. This is useful for capturing the value of a variable from within a page that gets redirected or for error tracking within a <CFTRY> block.

    >> ReplaceMSChars() Function: - Microsoft Office likes to replace certain characters with others for better readability with it's AutoCorrect and AutoFormat features. This function returns the original characters to a string. This is useful for updating data that has been entered from Word or Excel.

    >> AbleCommerce Related Functions: - This page contains a selection of ColdFusion custom functions (user defined functions or UDFs) that I wrote specifically for AbleCommerce.

    >> AbleCommerce 5.5 API (JavaDocs) Tutorial: - This provides a quick overview of how to use the AbleCommerce 5.5 CFMX API (JavaDocs) to aid in the development of AbleCommerce sites.

download aim  |   IM Me send me an instant message  |   add me to your buddy list  |   add remote to your page  |   download aol instant messenger

Valid CSS!   Valid HTML 4.01 Transitional   Cynthia Tested!   eXTReMe Tracker
Geocaching profile for gjaros
SaveSURGE.org


Google  
       


Browser: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)   |   IP: 38.103.63.57   |   All Agents
<<    <    November 2008    >    >>
SU MO TU WE TH FR SA
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
 Today:  Sunday, November 23, 2008
 Time:  07:08:49 AM CST
 Go to: 

DeKalb, IL

Fair 21°F
Fair Feels like 11°F


UV index: 0 Low
Dew Point: 18°F
Humidity: 87%
Visibility: 10.0 mi
Pressure: 30.24 in (falling)
Wind: From the SSE at 9 mph

As reported at De Kalb, IL,
on Sunday, November 23, 2008,
at 5:25 AM local time
Data provided by weather.com
View the 5 Day Forecast









Select a RSS Feed:
CNN.com CNN.com
CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.


Militants vow to rescue hijacked Saudi tanker
Somali militants have vowed to rescue a Saudi supertanker that was hijacked by pirates a week ago, according to residents of a town where the pirates are believed to be based. The fighters told residents in Harardhere, Somalia, they would battle the pirates because the tanker -- loaded with 2 million barrels of oil -- is owned by a Muslim country and should not have been taken, Mohamed said.

Date: Sun, 23 Nov 2008 05:10:26 EST

Obama promises Afghanistan more aid
President-elect Barack Obama has given Afghan President Hamid Karzai assurances that the United States would send more aid and pay more attention to his war-torn country during his administration, according to Karzai's office.

Date: Sun, 23 Nov 2008 05:10:25 EST

17 alleged Afghan militants killed in air raid
Afghan forces and their allies killed 17 suspected militants in an air assault on what they called a "known insurgent safe haven," the Afghan government and the U.S. military announced in a joint statement Sunday.

Date: Sun, 23 Nov 2008 07:08:22 EST

1 dead in Washington state mall shooting
One man died and another was in serious condition Saturday evening after they were shot at a shopping center in Tukwila, Washington. A search for the shooter is currently under way, a police spokesman said.

Date: Sun, 23 Nov 2008 03:51:42 EST

Obama economic team starts to take shape
Former Treasury Secretary Lawrence Summers, who lost out to New York Federal Reserve President Timothy Geithner for the Treasury post, is expected to be the top economic adviser in the Obama White House, according to two sources close to the transition.

Date: Sun, 23 Nov 2008 02:25:33 EST

Astronauts complete marathon spacewalk
Astronauts from the shuttle Endeavour finished their third spacewalk Saturday after nearly seven hours working on a joint that helps generate power for the international space station. One more spacewalk is scheduled before the shuttle and station part ways on Thanksgiving. Inside, the crew continued work on systems designed to convert urine and sweat into water.

Date: Sat, 22 Nov 2008 23:05:58 EST

Bush touts free trade, sounds parting note
President Bush, in what could be his final overseas trip as president, called on international leaders to continue his administration's push for free trade during the global financial crisis. After his speech, Bush held his last meeting as president with his Russian counterpart, Dmitry Medvedev, saying he has worked hard to ensure a "cordial relationship" for the two countries.

Date: Sat, 22 Nov 2008 23:07:55 EST

Maldives' first president dies
Ibrahim Nasir, credited with ushering in independence to the Maldives as prime minister and then serving as its first president has died, a former government spokesman confirmed.

Date: Sun, 23 Nov 2008 01:41:10 EST

'Tipping Point' author looks at 'outliers'
Why are some people amazingly successful -- and other people with the same intelligence or abilities just part of the crowd?

Date: Fri, 21 Nov 2008 15:08:35 EST

A look out windows across the United States

Date: Fri, 21 Nov 2008 13:02:42 EST

© 2008 Cable News Network LP, LLLP.