Geekpedia Programming Tutorials






Code Code Archive

1 2 3 4 5 6 7 8 9 10 11 »
(171 code snippets in 18 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   
PHP

*****
5 from 1 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.

Ruby

-----
No votes

Sep 30th 2008
by Andrew Pociu

Round Floating Point Numbers

Custom floating point rounding based on three functions that allow you to round to a certain precision, round up and round down.

Objective C

*****
5 from 2 votes

Sep 29th 2008
by Andrew Pociu

Get The iPhone To Vibrate

How to get the iPhone to vibrate using one of the functions available in the AudioToolbox.h source file.

PHP

*****
5 from 1 votes

Sep 29th 2008
by Andrew Pociu

Generate Gradient Within Hex Range In PHP

A function that generates an array of hex colors that forms a gradient, starting from a hex color and ending with another hex color. The number of gradient steps can also be defined.

C#

*----
1 from 1 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#

***--
3 from 1 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.

Filter Source Code
Programming Language:
Rating:


Advertisement


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

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons