Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 370 371 372 373 374 ... 552
Used to convert URLs in a string into links
1 1683 posted 17 years ago by jspicher
5 1930 posted 17 years ago by SteveMcDaniel
1 1682 posted 17 years ago by SteveMcDaniel
Easy file create/write script
0 1650 posted 17 years ago by jspicher
Convert string to underscore, for SE safe URLs etc.
1 1671 posted 17 years ago by jspicher
Used to sanitize user input for email.
0 1574 posted 17 years ago by jspicher
Used to cleanly truncate text.
0 1573 posted 17 years ago by jspicher
Convert a string to number.
0 1533 posted 17 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 1938 posted 17 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 2734 posted 17 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 2305 posted 17 years ago by pmadden
pretty basic; dimensions of screen and browser display window
0 1880 posted 17 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 2047 posted 17 years ago by berkes
1 1671 posted 17 years ago by wearetherock
1 2004 posted 17 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 1928 posted 17 years ago by iroybot
1 2154 posted 17 years ago by troynt
This makes template code that applies to children of a particular page much more readable, especially if you can use a page path instead of an ID: `if ( is_child_of( 'topic/subtopic' ) ) :`.
1 2171 posted 17 years ago by cyberhobo
the numbers 108 and 18 are the category ids i wanted to exclude
0 1737 posted 17 years ago by crs
and check out http://code.google.com/chrome/chromeframe/developers_guide.html#Detecting_Google_Chrome_Frame
0 1811 posted 17 years ago by mware1205
from http://www.w3schools.com/php/php_mail.asp
0 1930 posted 17 years ago by rwczippy
Like Django.models, GAE.db.model or SqlAlchemy definitions
0 1964 posted 17 years ago by manatlan
0 1677 posted 17 years ago by paulbooker
To display "&" character within the string used as error descriptor in ErrorProvidor component in .NET use "&&&" so that it displays as a single "&". More detail at: http://www.codeproject.com/Messages/3225091/ErrorProvider-SetError-string-constra...
0 2599 posted 17 years ago by sysdeamon
Hovering over a ransomTab animates in the ransomStrip of the same index
1 2513 posted 17 years ago by teedy
Function to add custom body class in th Thesis theme for WordPress...Thanks to @girliegeek!
1 2378 posted 17 years ago by joelhaus
1 ... 370 371 372 373 374 ... 552