Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 370 371 372 373 374 ... 554
magento meta keywords in list view output template/catalog/category/view.phtml:
0 991 posted 15 years ago by nico65
Copy every file with .dist in the end to a new file without .dist
0 747 posted 15 years ago by bub3d
0 844 posted 15 years ago by almazom
I needed a way to show "US States" element whenever the user selected "United States" as their country. Here's a live demo: http://demo.chrisaiv.com/dropdown
0 1298 posted 15 years ago by chrisaiv
For those of us still using Flex Builder 3, every time we create a new project, we usually need to right-click the Project and add a parameter called -default-background-color=0xffffff into the compiler settings. An easier solution is to create an X...
1 1113 posted 15 years ago by chrisaiv
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 1989 posted 15 years ago by pacey
by m13579m
0 1115 posted 15 years ago by irm
0 851 posted 15 years ago by vas3k
Price table sample markup UPDATE 1: with CSS styles
0 920 posted 15 years ago by dreadwarrior
1 1089 posted 15 years ago by koo23
Outputs the number of Pixels Per Inch in the current Device
0 2025 posted 15 years ago by rportela
0 799 posted 15 years ago by rportela
Used to convert URLs in a string into links
1 875 posted 15 years ago by jspicher
5 1004 posted 15 years ago by SteveMcDaniel
Easy file create/write script
0 808 posted 15 years ago by jspicher
Convert string to underscore, for SE safe URLs etc.
1 890 posted 15 years ago by jspicher
Used to sanitize user input for email.
0 864 posted 15 years ago by jspicher
Used to cleanly truncate text.
0 862 posted 15 years ago by jspicher
Convert a string to number.
0 770 posted 15 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 998 posted 15 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 1377 posted 15 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 1133 posted 15 years ago by pmadden
pretty basic; dimensions of screen and browser display window
0 978 posted 15 years ago by rwczippy
1 ... 370 371 372 373 374 ... 554