Geekpedia Programming Tutorials






Code Code Archive

1 2 3 4 5 6 7 8 9 10 11 »
(164 code snippets in 17 pages)
RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
C#

-----
No votes

Sep 28th 2008
by Andrew Pociu

Validate Value As Numeric

Test passed values to see if they are numeric or not using the TryParse method on the Double data type.

PHP

-----
No votes

Sep 28th 2008
by Andrew Pociu

Simple Email Sending Function With Headers

How to send a simple HTML email using PHP's mail() function but also with the required headers.

C#

-----
No votes

Sep 27th 2008
by Andrew Pociu

Validate DateTime Format

Test a C# date and time as a valid DateTime object format through error handling.

ASP

-----
No votes

Sep 26th 2008
by Andrew Pociu

Prevent Web Browser Caching

How to make use of HTTP headers to control the caching of Web pages in ASP and IIS, known to work with Internet Explorer.

Ruby

-----
No votes

Sep 26th 2008
by Andrew Pociu

Convert Pixels To Centimeters

A Ruby function that can be easily adapted to work with any language, because it uses a simple division and multiplication to calculate the number of centimeters in the given pixel size.

PHP

-----
No votes

Sep 25th 2008
by Andrew Pociu

Get The Current Season

Get the current season based on the United States calendar of seasons and the clock of the PHP server.

Ruby

-----
No votes

Sep 24th 2008
by Andrew Pociu

Format Number As Currency

Add the commas that separate digits in large numbers using this FormatCurrency function for Ruby.

C#

-----
No votes

Sep 23rd 2008
by Andrew Pociu

Get Letters Of The Alphabet

Get the alphabet by looping through the ASCII values 65 to 90, which correspond to uppercase A through Z.

JavaScript

-----
No votes

Sep 22nd 2008
by Andrew Pociu

Trim Leading And Trailing Spaces

Trim the whitespaces at the beginning and end of a string using while loops instead of regular expressions.

PHP

-----
No votes

Sep 21st 2008
by Andrew Pociu

Convert JPEG Image To Grayscale

Convert a JPEG to a grayscale JPEG using PHP and the IMG_FILTER_GRAYSCALE type of filter.

Filter Source Code
Programming Language:
Rating:


Advertisement


Other Resources
1 2 3 4 5 6 7 8 9 10 11 »
(164 code snippets in 17 pages)
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons