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
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
C# file streamReader fileIO fileManipulation appData
File manipulation, opening, and closing using a streamreader and the system application data folder
C# c-sharp
Gridview MouseOver Color
C#
GridView sorting/Paging
PHP url controller refresh function ci segment
Ci: Using URL segment to create a refresh
SQL
Set Comma Separated List
JavaScript jquery caret text-cursor
Set text cursor to the begin/end of input/textarea
Java java javabean
Create a JavaBean
JavaScript jscript cmd bung saved by 1 person
Running JScript in a CMD File
PHP php object array saved by 1 person
Array2object
Other textmate node xml attribute
XML select node bassed on attribute
SVN php template standard src
Template for DocBlock and svn:keywords
PHP
emerge code
PHP php quotes htaccess magic saved by 1 person
Disabling PHP Magic Quotes via .htaccess
PHP attributes xml read write nodes getAttribute nodeValue
write and read XML
TYPO3 typoscript user mailform
Frontend user name and email in mailform
Visual Basic access
Parametrisierte Abfrage aus Formular starten
Ruby math base log Logarithm
Logarithm with any base (任意の底を持つ対数)
Groovy groovy classloader
Adding jar to classpath at run time
PHP mysql database php rails ruby activerecord on saved by 1 person
PHP - Lightweight Database and Rowset class, ActiveRecord style functions
PHP php paragraph convert double linebreak
dnl2p
Other regex textmate python
python search-replace on a match with n non-nested groups
Other day date crystal xi reports
Difference in Days - Crystal Reports XI
JavaScript select saved by 1 person
Get Selected Value
C# c-sharp
String Formats
Python
with shad.001
Most Popular
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
JavaScript css display saved by 120 people
ShowHide
CSS fix css ie minheight saved by 113 people
min-height for IE (and all other browsers)
XHTML css javascript template html xhtml webstandards utf8 saved by 102 people
XHTML 1.1 web standards template
CSS css corners ROUNDED saved by 88 people
CSS ROUNDED CORNERS
CSS css clear float saved by 84 people
Clear floats without structural markup
CSS css hack opacity saved by 80 people
Opacity Hack
PHP regex email valid saved by 78 people
Check for valid email address
HTML menu select combo countries paises saved by 67 people
Countries Menu
CSS div css dead centre saved by 67 people
Dead Centre a DIV
CSS hack minmax ie6 saved by 63 people
min/max-width fix for IE6
JavaScript ie browser detection versions Opera Firefox Netscape saved by 62 people
Browser Detection
JavaScript javascript class GetElementsByClassName node saved by 62 people
GetElementsByClassName()
PHP class rss writer feed saved by 58 people
RSS Writer Class
PHP login auth class php saved by 54 people
Login Class
HTML xhtml open new saved by 52 people
Standard Compliant Way to Open a New Page (no target tag)
CSS css quotes blockquote saved by 51 people
Big Curly Blockquotes
PHP saved by 48 people
Php xml Parser
PHP mysql backup saved by 47 people
MySQL Dump
HTML microformats saved by 45 people
hCard (Microformat for vCard)
PHP url php htaccess nice saved by 44 people
Nice URLS PHP .htaccess
CSS css html default style undohtml undo blank remove styling saved by 42 people
undohtml.css - Tantek's Original (Removes Browser Default Style)
HTML microformats saved by 41 people
hCalendar
CSS css tantek boxmodel saved by 41 people
CSS Box Model Hack
PHP file download saved by 41 people
Download file
HTML flash flv video saved by 40 people
Flash Video Player HTML Code
Textmate Bundle