Welcome To Snipplr


Everyone's Recent Snippets



1 ... 435 436 437 438 439 ... 553
Can be used to generate a random code for an online voucher. You just need to set VOUCHER_CODE_LENGTH in your environment.rb or similar.
1 1484 posted 17 years ago by jordanbrock
jQuery client-side form validation for the Radiant CMS mailer extension. Requires jQuery 1.2.6+ Each required field needs a class of "required" assigned to the input tag.
0 1528 posted 17 years ago by bcalloway
Sometimes I want a complete path to a file in the current working directory to make error messages clearer. The URL has alternate approaches.
0 1616 posted 17 years ago by jimfred
0 1519 posted 17 years ago by eden159
Forzamos el subrayado en todos los casos.
1 1055 posted 17 years ago by Hirmine
-s 86x60 Defines the dimension of the thumbnail -ss 4 Generate a thumbnail from position 00:00:04 (4 seconds)
0 1251 posted 17 years ago by smoover
Me trying to not be a noob in python. Yes, I know my noob is probably showing.
0 1196 posted 17 years ago by jakswa
Learn how to retrieve a specific url's total number of Diggs using JQuery, ASP and the Digg API.
2 2984 posted 17 years ago by neal_grosskopf
You can use this as a starting point when integrating XStandard in your CMS. There are 3 licensing options for XStandard: free Lite Version, Open Source CMS Partner License & Pro Version. (btw: XStandard produces 100% valid markup against XHTML 1.1...
1 1581 posted 17 years ago by iroybot
Load jQuery into WordPress generated pages, the wp_enqueue_script function can be used in plugins as well. OR Add and load a new script that depends on jQuery (this will also cause it to load jQuery into the page as well).
2 1468 posted 17 years ago by selfmadepsyche
This is the custom layout template i use for the CleanCSS website, very handy!
0 1500 posted 17 years ago by 1man
Use this when you want to serve a domain from the document root of another domain on the same box. Along with this config, you will want to replace the httpdocs directory with a symlink to the other domains doc root. (Don't forget to change ownership...
1 1347 posted 17 years ago by zachharkey
this function tells you whether or not the passed value is in the passed array
1 1656 posted 17 years ago by jlvallelonga
this funciton returns an XMLHttpRequest object for use in ajax pages
1 1695 posted 17 years ago by jlvallelonga
Edit functions.php and sidebar.php
2 1585 posted 17 years ago by selfmadepsyche
3 1067 posted 17 years ago by selfmadepsyche
1 1132 posted 17 years ago by selfmadepsyche
1 1404 posted 17 years ago by selfmadepsyche
1 1188 posted 17 years ago by selfmadepsyche
get_the_author_email outputs the post author’s email and the “80” is the size of the avatar image in pixels & it has to be in the loop!
0 2130 posted 17 years ago by selfmadepsyche
1 ... 435 436 437 438 439 ... 553