Geekpedia Programming Tutorials






Code Code Archive

1 2 3 4 5 6 7 8 9 10 11 12 13 14
(137 code snippets in 14 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   
JavaScript

*****
4.33 from 3 votes

Jan 17th 2008
by Andrew Pociu

Back, Forward and Refresh using JavaScript

Navigating back, forward and refreshing the browser page using JavaScript.

JavaScript

****-
3.75 from 4 votes

Jan 16th 2008
by Andrew Pociu

Get the Last Day of the Month

This one line JavaScript function gets the last day of the month, for the specified month and year.

PHP

****-
4 from 1 votes

Jan 16th 2008
by Andrew Pociu

Array of States and their Abbreviation

A PHP array of the 50 American states and District of Columbia and their abbreviation, especially useful when building dropdown lists based on loops.

PHP

***--
3 from 2 votes

Jan 16th 2008
by Andrew Pociu

Parsing a Tab Delimited File

This example code shows you how to parse a tab delimited file (or any other character delimited file for that matter), using PHP.

JavaScript

-----
No votes

Jan 9th 2008
by Andrew Pociu

Get the greatest common divisor

This efficient JavaScript function returns the greatest common divisor of a series of numbers.

C#

*****
5 from 3 votes

Jan 9th 2008
by Andrew Pociu

Get the week number of a given date

The C# method uses the DateTime object to get the week number of a given date. The number returned is dependent on the culture of the target machine.

JavaScript

-----
No votes

Jan 9th 2008
by Andrew Pociu

Get Real Angle Value

Given a large angle, or a negative angle, a number equal to 0 or bigger, and smaller than 360 is returned.

JavaScript

****-
3.8 from 5 votes

Jan 8th 2008
by Andrew Pociu

Submit form on selection of dropdown item

This example code addresses a popular need to have a form submitted on the selection of a value from a dropdown control.

JavaScript

-----
No votes

Jan 6th 2008
by Andrew Pociu

Swap string case using JavaScript

The SwapCase function turns lowercase characters into uppercase and uppercase characters into lowercase.

C#

-----
No votes

Jan 6th 2008
by Andrew Pociu

Find Easter Sunday of any year

The Meeus/Jones/Butcher Gregorian algorithm is used for calculating the Easter Sunday of any given year using C#.

Filter Source Code
Programming Language:
Rating:


Advertisement


Other Resources
1 2 3 4 5 6 7 8 9 10 11 12 13 14
(137 code snippets in 14 pages)
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons