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. Did we mention it works with TextMate, too? It's code 2.0.
Recently Added Code Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
C++
Jason
Other splunk
search for deployment clients that have disconnected
Java
AES encrypter/decrypter with check in CFB mode in Java using JCE
Bash
Get all imports of Java Project
Bash osx
Terminal - Turn On or Off Hidden Files
JavaScript jquery not-mine
manage select boxes with jQuery
JavaScript javascript jquery delay
jQuery Delay
Bash unix terminal
UNIX: chmod the current directory, and all sub directories and files
PHP Blocks concrete5
Limit Blocks in an Area
PHP wordpress thesiswp
Widgetize Header, Footer and Everything Else Using Thesis' Hooks
Other list textmate python random
randomize a list
Bash drupal Drush
Use drush to dump a space separated list of enabled modules to a text file.
JavaScript
javascript left right functions
CSS div css shadow
How to give shadow to a div using css
jQuery jquery Value attr
Target elements with specific attributes
PHP textmate cakephp
Check Ajax in CakePHP
Bash svn subversion
Import a new repo into subversion
PHP php browser detect iphone saved by 1 person
detect iphone browser
JavaScript howto iphone proxy ipod touch socks
How To Connect To A SOCKS Proxy From An Unjailbroken iPhone/iPod Touch
C# c-sharp
ClientScript.RegisterStartupScript
Emacs Lisp event sexp org orgmode org-mode appointment recurring
Sexp for an Org-mode reocurring appointment, only on weekdays
CSS css corners ROUNDED nifty
Pure css rounded corners without images
PHP FTP mosso rackspace
FTP Image Transport to Rackspace Cloudfiles (fka Mosso)
Ruby javascript js test ruby BDD client TDD selenium unit idiomatic
Waiting for events with the Selenium-Client Ruby driver
JavaScript
inline templating class for javascript
Most Popular Code Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
CSS fix css ie minheight saved by 202 people
min-height for IE (and all other browsers)
CSS css corners ROUNDED saved by 162 people
CSS ROUNDED CORNERS
CSS css hack opacity saved by 139 people
Opacity Hack
CSS css clear float saved by 131 people
Clear floats without structural markup
PHP regex email valid saved by 127 people
Check for valid email address
CSS div css dead centre saved by 115 people
Dead Centre a DIV
JavaScript ie browser detection versions Opera Firefox Netscape saved by 100 people
Browser Detection
CSS hack minmax ie6 saved by 98 people
min/max-width fix for IE6
PHP login auth class php saved by 93 people
Login Class
PHP class rss writer feed saved by 90 people
RSS Writer Class
PHP url php htaccess nice saved by 88 people
Nice URLS PHP .htaccess
JavaScript javascript class GetElementsByClassName node saved by 80 people
GetElementsByClassName()
CSS css quotes blockquote saved by 77 people
Big Curly Blockquotes
PHP mysql backup saved by 76 people
MySQL Dump
HTML microformats saved by 72 people
hCard (Microformat for vCard)
HTML xhtml open new saved by 69 people
Standard Compliant Way to Open a New Page (no target tag)
PHP saved by 66 people
Php xml Parser
PHP file download saved by 65 people
Download file
PHP mysql php textmate security sql-injection saved by 64 people
Anti-SQL Injection Function
CSS css tantek boxmodel saved by 63 people
CSS Box Model Hack
PHP mysql search saved by 62 people
Simple MySQL Search Function
CSS css debug borders saved by 61 people
Handy CSS Debug Snippet
HTML microformats saved by 61 people
hCalendar
HTML flash flv video saved by 58 people
Flash Video Player HTML Code
CSS css hack preload images cache saved by 56 people
CSS Image Preloader
Textmate Bundle