Geekpedia Programming Tutorials






Code Code Archive

1 2 3 4 5 6 7 8 9 10 »
(126 code snippets in 13 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

****-
4 from 2 votes

Jun 10th 2008
by Andrew Pociu

Random Password Using PHP

A function that generates strong passwords by mixing uppercase and lowercase characters with numbers.

C#

*****
5 from 2 votes

May 2nd 2008
by Andrew Pociu

Resize Image With Aspect Ratio

A C# method that resizes pictures and maintains their aspect ratio, optionally only if a maximum width is exceeded. The method works with both images that have a higher height than width and viceversa.

Ruby

-----
No votes

May 2nd 2008
by Andrew Pociu

Count Words In String

The simplest way to count words in a string using Ruby and regular expressions by splitting the string at each space.

C#

-----
No votes

May 2nd 2008
by Andrew Pociu

Execute A File Or Application

Get your .NET application to open a file using the operating system's file type assignments, just like the file would open when double clicked.

PHP

****-
3.75 from 4 votes

Apr 24th 2008
by Andrew Pociu

Show A 0-5 Rate As Stars

Show a 0 to 5 floating point rating in graphic stars using a PHP function. You can specify which direction to align the graphic stars (left or right)

C

-----
No votes

Apr 24th 2008
by Andrew Pociu

Fibonacci Sequence Generator

Generate the Fibonacci sequence for the specified amount of numbers, using a C function.

Python

-----
No votes

Apr 24th 2008
by Andrew Pociu

Find The Greatest Common Divisor

Implement the Euclidean algorithm into a Python function in order to calculate the largest common divisor of two numbers.

C#

-----
No votes

Apr 24th 2008
by Andrew Pociu

List All Running Processes

Get a list of all running Windows processes through which you can step using a foreach loop.

C#

-----
No votes

Apr 24th 2008
by Andrew Pociu

Beep In The PC Speaker

Generate a beep in the PC speaker using C# and an unmanaged call to the Beep() function that is part of the Windows kernel.

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.

Filter Source Code
Programming Language:
Rating:


Advertisement


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

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons