Code Snippets


Welcome to Dream.In.Code
Become an Expert!

Join 148,756 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,710 people online right now. Registration is fast and FREE... Join Now!





Programming Languages

ActionScript(91)Linux & UNIX(8)
ASP(18)Bash(12)
Assembly(29)Python(28)
C(155)Lisp(3)
C#(281)mySQL(44)
C++(468)Other Languages(37)
CGI/Perl(48)PHP(180)
ColdFusion(13)Ruby(18)
HTML/CSS(44)Scheme(19)
Java(216)VB.NET(236)
JavaScript(156)Visual Basic(121)
jQuery(2)

10 Newest Snippets

Submitted: January 3, 2009        Views: 4
checks if the given string is a palindrome using recursion.
Submitted: January 4, 2009        Views: 13
By introducing the number of rows (in our code will be n) our program will output a equilateral triangle with the sides of equal length.
Submitted: January 5, 2009        Views: 10
If you have a filled with , and you only want certain options to show up, you can use this to remove any that you don't want.
Submitted: January 5, 2009        Views: 10
This snippet will give every second row in a table the class 'alt' - allowing you to apply different styles to it using CSS.
Powershell: in Other Languages by snoj
Submitted: January 5, 2009        Views: 13
Search an numbered array for a value and return the index or false on error or non-existent needle.
Submitted: January 5, 2009        Views: 15
This is a snippet to convert a Hashtable to a DataSet using the IDictionaryEnumerator Interface
Submitted: January 4, 2009        Views: 23
Simplifies the process of closing after a defined number of milliseconds.
Submitted: December 19, 2008        Views: 13
Generic template/function for the sorting of an array of elements.
Submitted: December 23, 2008        Views: 32
A simple example on how to submit POST variables to a page using the cURL library and handle the server response by accepting temporary cookies.
Submitted: January 1, 2009        Views: 93
These are 2 snippets: One for saving an image to an Access database and one for retrieving the image

Top 5 Snippets

Submitted: November 11, 2005        Views: 153786
Ever wonder how you could get partially transparent backgrounds for div boxes with only HTML/CSS? Well here's how.
Scrollable Div in HTML/CSS by deadlypetal
Submitted: April 13, 2007        Views: 85071
Div layer with a scroll bar
Submitted: January 4, 2006        Views: 58986
Reads and puts value in a textbox in its original text format.
Submitted: March 2, 2005        Views: 58909
Implements the Linked List Data Structure.
Submitted: February 25, 2005        Views: 55870
Two functions, used to convert c++ strings from upper case to lowercase and vice versa. Each takes a string argument, and returns the converted string. Please note that parameters should be validated before passing them to the functions.



Submit a Code Snippet and get a chance to win a </dream.in.code> 1GB Thumb Drive!






Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month