Geekpedia Programming Tutorials






Code Code Archive

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

*****
5 from 3 votes

Apr 23rd 2008
by Andrew Pociu

Get And Set The System Date And Time

C# code snippet that uses unmanaged code to retrieve the current date and time of the Windows operating system, and also sets it to the specified values.

PHP

-----
No votes

Apr 23rd 2008
by Andrew Pociu

URL Reconstruction Using PHP

Reconstruct an URL in PHP by concatenating the domain-name, path and query string from three different variables.

Ruby

-----
No votes

Apr 23rd 2008
by Andrew Pociu

Mask All Credit Card Digits But Last Four

Mask all the credit card number digits with asterisks except the last 4, for security purposes. The function works for all types of cards (Visa, MasterCard, Amex, Discovery, etc.)

Java

-----
No votes

Apr 19th 2008
by Andrew Pociu

MD5 Encryption Using Java

Demonstrates how to encrypt a string using the MD5 algorithm in Java. Since MD5 is non-reversable, there is no code for decrypting the value.

C#

****-
4 from 1 votes

Apr 19th 2008
by Andrew Pociu

Checksum CRC32 Calculator

A C# method for calculating the CRC32 checksum on an array of bytes. The code uses a CRC32 table and makes use of C#'s bitwise operators to return the checksum of the bytes passed.

C#

*****
5 from 2 votes

Apr 17th 2008
by Andrew Pociu

Draw Rounded Corner Rectangles Using C#

Use the GDI library objects to draw rectangles that have rounded rectangles of a specified radius. The secret is to use a series of lines and arcs to form the rectangle as desired.

C#

**---
2 from 1 votes

Apr 17th 2008
by Andrew Pociu

Play MP3 Files Using C#

This code uses the Windows Multimedia API winmm.dll library to play MP3 files. Put it into a class and call the Open() method with a parameter specifying the MP3 file that you wish to play.

C#

-----
No votes

Apr 16th 2008
by Andrew Pociu

Set Image Opacity Using C#

A C# function for changing the opacity on an image to the specified value. It uses the System.Drawing, System.Drawing.Imaging and System.Drawing.Drawing2D namespaces.

Ruby

-----
No votes

Apr 16th 2008
by Andrew Pociu

Extract Age from Birth Date

A Ruby function for extracting one's age by passing in the birth date as a parameter.

PHP

****-
4 from 1 votes

Apr 9th 2008
by Andrew Pociu

FTP Connection Using PHP

This sample code shows you how to connect to a remote FTP server using PHP's built-in functions, retrieve a text file and save it on the current server.

Filter Source Code
Programming Language:
Rating:


Advertisement


Other Resources
1 2 3 4 5 6 7 8 9 10 11 12 »
(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