Welcome To Snipplr
Snipplr is a public source code repository that gives you a place to store and organize all the little pieces of code that you use each day. Best of all, it lets you share your code snippets with other coders and designers. Snipplr was developed by the same clever people who built Raven's Internet Marketing Tools for SEO and Social Media Marketing.
Recently Added Code Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Other car leather seats
car leather seats
Other modeling
modeling
MySQL wordpress
Delete all Wordpress posts that carry a specific term ID
ActionScript 3
Date() Function
ActionScript 3
BitmapData Set Each Pixel To Random Color
JavaScript javascript DOM
Javascript DOM - Create Element
ActionScript 3 name removechild
Remove Child By Name
ActionScript 3 ROUNDED canvas Flex component
FLEX - Rounded Canvas Mask Trick
ActionScript 3 xml as3
AS3: Cleaning up NameSpaces
C# event search selection keyboard keyevent ComboBox keyup Silverlight keydown comboboxitem
Silverlight ComboBox Keyboard Selection
Rails Bash rails
Rails Commands I wish I could remember
PHP mysql date function to from convert
Function to convert dates to and from Mysql
Perl
CVS Password
Java String
Deleted Chars
PHP wordpress widget area
Declare Multiple Widgetized Areas
PHP wordpress loop sticky posts
Completely exclude Sticky posts from the Loop
Bash Bash command-line
reading default config file in a bash script
TYPO3 typoscript
Gallery aus Mediafeld - levelmedia
Other osx gnuplot
New gnuplot terminal under OS X (aqua)
Other Bash awk Transpose
transpose rows and columns with awk
C++
driver
Bash number mac numbers osx prime theory
download the first 50,000,000 prime numbers
C++
driver.cpp
C++
scheduler.cpp
C++
scheduler2.h
Most Popular Code Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
CSS fix css ie minheight saved by 289 people
min-height for IE (and all other browsers)
CSS css corners ROUNDED round saved by 247 people
CSS Rounded Corners
CSS css hack opacity saved by 210 people
Opacity Hack
PHP regex email valid saved by 175 people
Check for valid email address
CSS css clear float saved by 173 people
Clear floats without structural markup
CSS div css dead centre saved by 152 people
Dead Centre a DIV
PHP url php htaccess nice saved by 143 people
Nice URLS PHP .htaccess
JavaScript ie browser detection versions Opera Firefox Netscape saved by 135 people
Browser Detection
PHP login auth class php saved by 133 people
Login Class
CSS hack minmax ie6 saved by 123 people
min/max-width fix for IE6
CSS css quotes blockquote saved by 118 people
Big Curly Blockquotes
PHP class rss writer feed saved by 109 people
RSS Writer Class
PHP mysql backup saved by 100 people
MySQL Dump
CSS css debug borders saved by 99 people
Handy CSS Debug Snippet
PHP file download saved by 95 people
Download file
CSS css hack preload images cache saved by 93 people
CSS Image Preloader
PHP mysql php textmate security sql-injection saved by 88 people
Anti-SQL Injection Function
PHP mysql search saved by 88 people
Simple MySQL Search Function
HTML microformats saved by 85 people
hCard (Microformat for vCard)
CSS css tantek boxmodel saved by 85 people
CSS Box Model Hack
PHP saved by 79 people
Php xml Parser
HTML xhtml open new saved by 77 people
Standard Compliant Way to Open a New Page (no target tag)
HTML css test html xhtml styleguide saved by 74 people
HTML Test Page for CSS Style Guide
HTML microformats saved by 70 people
hCalendar
HTML flash flv video saved by 69 people
Flash Video Player HTML Code
Textmate Bundle