Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
YouTube Video Download Link Generator
free for all to use, successfulness can't be guaranteed
5
2000
posted 16 years ago by jacksont123
Should work for image/gif as well. Allegedly not supported by IE
0
1560
posted 16 years ago by rengber
A simple method of validating an IP address using PHP and regular expressions
2
3430
posted 16 years ago by aristoworks
This is a simple method of validating a 9-digit zip code using PHP and regular expressions
3
2556
posted 16 years ago by aristoworks
A simple method of validating an email address using PHP and regular expressions
4
1544
posted 16 years ago by aristoworks
A simple method of validating a telephone number using regular expressions and PHP
3
1714
posted 16 years ago by aristoworks
scrolling="yes"åŽ»é™¤å½“ç›®æ ‡æ–‡ä»¶è¿‡é•¿IE6出现的水平滚动æ¡ï¼ŒåŒæ—¶ä¹Ÿä½¿å…¶ä»–æµè§ˆå™¨å‡ºçŽ°æ°´å¹³æ»šåŠ¨æ¡ï¼Œstyle="overflow:visible;"用于去除其他æµè§ˆå™¨çš„æ°´å¹³æ»šåЍæ¡ã€‚
0
880
posted 16 years ago by Ashung
Python: Private Variables
http://docs.python.org/tut/node11.html#SECTION0011600000000000000000
Any identifier of the form __spam (at least two leading underscores, at most one trailing underscore) is textually replaced with _classname__spam, wher...
0
933
posted 16 years ago by ishikawa
Place this code in the template.php file of your custom Zen sub-theme to create a friendly reminder that this site uses their LDAP password. In this example, we use Novell Directory Services as our LDAP provider.
1
846
posted 16 years ago by tgbdad
Use Apache's mod_expires to explicitly set the expiration of a file by it's type. This will enable to browser to cache these static assets and greatly increase performance.
1
1226
posted 16 years ago by cbrant
This is like a cms for a stylesheet - includes all files to make a working xhtml/css demo
1
949
posted 16 years ago by perthmetro
Imports data from CSV (excel-compatible format) into MySQL. Also check the mysqlimport utility and the complementary SELECT ... INTO OUTFILE.
4
1230
posted 16 years ago by jarnaldich
This will count sentences that end in . or ? or ! and have a space after them.
1
2244
posted 16 years ago by evanwalsh
This HTML/CSS shows how to make text inputs with rounded corners in the most basic way (it doesn't expand according to its width).
6
1392
posted 16 years ago by reneolivo
YouTube offers a method for users and developers to embed video on their web pages. Unfortunately the code that they use doesn't validate. Use this function to make YouTube's embed code validate.
2
1197
posted 16 years ago by neal_grosskopf