Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 370 371 372 373 374 ... 553
There are multiple ways of checking email adresses about their validity. This script is based on RFC 2822. Please note that based on RFC 2822 [email protected] is considered valid. The second snippet is the one I prefer, which only accepts T...
2 3365 posted 16 years ago by pacey
by m13579m
0 1478 posted 16 years ago by irm
0 1081 posted 16 years ago by vas3k
Price table sample markup UPDATE 1: with CSS styles
0 1165 posted 16 years ago by dreadwarrior
1 3272 posted 16 years ago by koo23
Outputs the number of Pixels Per Inch in the current Device
0 2452 posted 16 years ago by rportela
0 1029 posted 16 years ago by rportela
Used to convert URLs in a string into links
1 1184 posted 16 years ago by jspicher
5 1345 posted 16 years ago by SteveMcDaniel
1 1168 posted 16 years ago by SteveMcDaniel
Easy file create/write script
0 1104 posted 16 years ago by jspicher
Convert string to underscore, for SE safe URLs etc.
1 1165 posted 16 years ago by jspicher
Used to sanitize user input for email.
0 1103 posted 16 years ago by jspicher
Used to cleanly truncate text.
0 1133 posted 16 years ago by jspicher
Convert a string to number.
0 1022 posted 16 years ago by jspicher
after recording screen cast using recordmydesktop this is a fast way of converting the file to .avi so it can be uploaded to youtube or other video sharing sites.
0 1361 posted 16 years ago by luizlopes
This is handy for cleaning up your HTML to use more plain text and fewer img tags. Whether this is SEO friendly or not is subjective. I tend to think it's fine as long as you don't use it for spam. Digg implements a similar method for their main logo...
1 2015 posted 16 years ago by adamcoulombe
Inserted at the top of the method body, this line creates instance variables for each of the method parameters and sets them to their respective argument values.
0 1595 posted 16 years ago by pmadden
pretty basic; dimensions of screen and browser display window
0 1293 posted 16 years ago by rwczippy
Takes a .sql file and runs trough that, each line as an update_sql. Very usefull to track and migrate your blocks/views/cck etc changes.
0 1456 posted 16 years ago by berkes
1 1164 posted 16 years ago by wearetherock
1 1438 posted 16 years ago by margot620
no need for Lorem ipsum if you can insert something that makes more sense and even helps you address more HTML elements with the CSS you're about to write.
1 1403 posted 16 years ago by iroybot
1 1592 posted 16 years ago by troynt
1 ... 370 371 372 373 374 ... 553