Geekpedia Programming Tutorials






Code Code Archive

1 2 3 4 5 6 7 8 9 10 »
(167 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#

*****
5 from 3 votes

Oct 18th 2008
by Andrew Pociu

Validate String For Positive Integer Values

A very simple way to validate a string for positive integer values using C# and regular expressions.

C#

****-
3.2 from 5 votes

Oct 17th 2008
by Andrew Pociu

Delete All Temporary Internet Files Of IE

Delete all the temporary files from Internet Explorer's cache folder using basic methods available in the System.IO namespace.

PHP

-----
No votes

Oct 17th 2008
by Andrew Pociu

Basic Hit Counter In PHP

A very basic hit counter in PHP; it uses a text file to store the number of hits and displays the number of current hits.

PHP

-----
No votes

Oct 6th 2008
by Andrew Pociu

Convert RGB Color Value To Hexadecimal

A simple way to convert RGB colors to their hexadecimal values by using the dechex() function.

C#

*****
4.5 from 2 votes

Oct 4th 2008
by Andrew Pociu

Find Controls In MasterPages Recursively

A useful piece of code that enhances the search for the control with the specified name under the passed parent control.

HTML

*****
4.83 from 6 votes

Oct 4th 2008
by Andrew Pociu

Dropdown List Of UK Counties

A complete list of counties in the UK that includes England, Scotland, Wales and Northern Ireland.

PHP

-----
No votes

Oct 4th 2008
by Andrew Pociu

Emulate register_globals Flag As On

How to emulate the insecure, deprecated register_globals flag so that you can access GET and POST keys as PHP variables.

Ruby

-----
No votes

Oct 3rd 2008
by Andrew Pociu

Extended Euclidean Algorithm Function

A function for finding the modular multiplicative inverse, based on an extended version of the Euclidean algorithm.

Java

-----
No votes

Oct 2nd 2008
by Andrew Pociu

Find Twin Primes

Find the first 1000 twin prime numbers in Java using an isPrime function for the primality check and a value comparison between the prime numbers.

PHP

-----
No votes

Oct 1st 2008
by Andrew Pociu

Show Page Load Time In PHP

Using a line of code at the beginning of the file and a function call at the end, you can count the number of milliseconds it took PHP to load the page.

Filter Source Code
Programming Language:
Rating:


Advertisement


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

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons