School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

 

Code Snippets


Welcome to Dream.In.Code
Become an Expert!

Join 340,149 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,872 people online right now. Registration is fast and FREE... Join Now!




Programming Languages

ActionScript(105)Linux & UNIX(9)
ASP(20)Bash(14)
ASP.NET(3)Python(128)
Assembly(46)Lisp(14)
C(235)Lua(36)
C#(455)mySQL(47)
C++(729)Other Languages(84)
CGI/Perl(53)PHP(291)
ColdFusion(14)Regular Expressions(26)
HTML/CSS(56)Ruby(68)
Java(430)Scheme(31)
JavaScript(191)VB.NET(343)
jQuery(11)Visual Basic(238)

10 Newest Snippets

Submitted: February 7, 2010        Views: 17
This code snippet reverses a string and then prints it. It uses the slice operator on strings. It steps through the entire string but has a step (optional 3rd parameter) of -1, so that it erturns a backwards String
Submitted: February 7, 2010        Views: 18
For each character in any string, if the letter is capitalized, it makes it lowercase, and for any capital letters, make them lowercase.
Submitted: September 9, 2009        Views: 14
Status Bar Statements in JavaScript by AGRAC393
Submitted: February 6, 2010        Views: 26
Use this script to place static, multi-line text the status bar of your website
Submitted: October 29, 2009        Views: 21
finds fibbonacci to the Nth term from a start number start number defaults to 1 and Nth term defaults to 10
Username in Regular Expressions by borninlyoko
Submitted: January 21, 2010        Views: 12
This uses a character set to allow people to create a username from 4 to 16 characters using the characters 0-9, a-z, A-Z, - and _.
Correct URL detector in Regular Expressions by nanowire
Submitted: January 20, 2010        Views: 14
Detects whether the URL is valid or not
Submitted: January 8, 2010        Views: 15
Precaches images into the browser for quick use later on.
Submitted: January 21, 2010        Views: 20
check if a particular string can be a windows filename
Submitted: January 21, 2010        Views: 12
•It spaces out as many thumbs as will fit in the container •when it line breaks the thumbs that drop are centered •a few lines of CSS control it all. As many thumbs as you want to put on a page. •the only extra markup is the span tags Can easily accomodate odd sized thumbs with some very simple inline width added.

Top 5 Snippets

Submitted: November 11, 2005        Views: 255036
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: 139498
Div layer with a scroll bar
Submitted: January 4, 2006        Views: 127744
Reads and puts value in a textbox in its original text format.
Submitted: March 2, 2005        Views: 113407
Implements the Linked List Data Structure.
Submitted: February 25, 2005        Views: 83833
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!







Live Help!

Be Social

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

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month