Geekpedia Programming Tutorials






Code Code Archive

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

****-
4 from 4 votes

Aug 5th 2008
by Andrew Pociu

Chess Game In Java

A fully functional chess game in Java, without an AI or disallowing moves that are considered to be illegal according to the rules of chess.

Java

-----
No votes

Aug 3rd 2008
by Andrew Pociu

Basic Chatroom Skeleton Application

This Java code is not addressing the core of a chat application (sending and receiving messages) however it makes a good GUI skeleton for starting such an application.

Java

-----
No votes

Aug 2nd 2008
by Andrew Pociu

Using Sockets To Retrieve Data Through HTTP

Use the Java Socket object and the BufferedReader to retrieve the response of an HTTP web request.

Ruby

-----
No votes

Aug 2nd 2008
by Andrew Pociu

Write A PDF File Using Ruby

Using the open source PDF::Writer library for Ruby to create PDF documents on the fly and save them on the server.

CSS

-----
No votes

Aug 1st 2008
by Andrew Pociu

Show Link Icons Depending On Protocol

Place an icon next to each link depending on the protocol used in the href attribute of the anchor tag. This way you can mark external links that are secure (through https) for all browsers supporting CSS 2.1 or later.

CSS

****-
4 from 1 votes

Aug 1st 2008
by Andrew Pociu

Show Link Icons Depending On File Extension

Possible since CSS version 2.1, the anchor element can be referred to depending on the last few characters of the href attribute, hence links with different extensions can have different styles.

PHP

****-
4 from 1 votes

Jul 7th 2008
by Andrew Pociu

Array Of United States Area Codes

An array of 3-digit telephone area codes and the US states that they correspond to.

PHP

-----
No votes

Jul 6th 2008
by Andrew Pociu

Reveal The Url Behind A Tinyurl

Using sockets in PHP to reveal the path that a tinyurl.com URL really points to by reading the HEAD data.

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 3 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.

Filter Source Code
Programming Language:
Rating:


Advertisement


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

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons