Welcome To Snipplr


Everyone's Recent Snippets



1 ... 346 347 348 349 350 ... 553
I didn't create this but I have used it man time. It's super easy to implement and customize.
0 1601 posted 15 years ago by thehamilton
0 1064 posted 15 years ago by level09
A small collection of the most wanted string-functions in ASP / VB.
1 1527 posted 15 years ago by choasis
Just replace the squared brackets with the correct values.
1 1749 posted 15 years ago by choasis
Place in your functions.php file and call it in your theme like this: <?php>
1 2651 posted 15 years ago by afj176
Modified version of the script created by Dave Stevens, Enables the user to input their credentials on a webpage rather than having to change the actual php script code. Changes: Changed $user,$pass,$term This is a modified script, the original...
0 1618 posted 15 years ago by jonathonmaguire
| convert -quality 85 - "$4" - Если не установлен конверт можно закоментить
1 997 posted 15 years ago by anonymous
The Google search URL accepts two fields, `as_oq` and `as_eq`, which give additional required or forbidden keywords for the search. This allows to create search forms which add preset keywords. In the search form below, one of the keywords test, re...
0 1359 posted 15 years ago by deepsoul
This function validate a mail address in a smart way: if the address to validate has a correct syntax (checked with regular expression), it tries to connect to the mx server of the address. This means that the program have to use the smtp protocol to...
3 1912 posted 15 years ago by ginoplusio
I used to directly inject javascript and CSS into my HEAD elements just like you see in all of the tutorials online and in books. Recently I decided to try a different approach, and I feel this is more in keeping with the ruby and rails "declaration"...
0 1553 posted 15 years ago by sgtrock
I used to directly inject javascript and CSS into my HEAD elements just like you see in all of the tutorials online and in books. Recently I decided to try a different approach, and I feel this is more in keeping with the ruby and rails "declaration"...
0 1492 posted 15 years ago by sgtrock
This function calculates distance with the Haversine formula, this formula assumes that our Earth is spherical, but it isn’t since it’s more like a big orange fruit also compresses at poles. I’ve read that this function has an error about + o â...
3 7108 posted 15 years ago by ginoplusio
When you show the coordinates of a point, it’s sometimes better to show them as degrees and not as deciaml (even if decimal is simpler). Each of the two coordinates can be converted with the same function. In the function call the “tipo” is the...
1 1551 posted 15 years ago by ginoplusio
0 963 posted 15 years ago by level09
0 977 posted 15 years ago by wilburhimself
0 1074 posted 15 years ago by wilburhimself
0 2126 posted 15 years ago by wilburhimself
This script displays the current date inside a form via 3 prefilled drop down menus (day, month, year). The visitor can then specify a different date if he/she wants. You can have multiple drop down dates within the same form as well.
0 1299 posted 15 years ago by kanampo
I never can remember the exact name of the exception to call in self.down for a migration that cannot be undone. So I decided to come up with something easier to remember. This feels more "ruby-ish" and "rails-ish" to me, and so far it works just fin...
0 1145 posted 15 years ago by sgtrock
Template includes optional changes from the default EE RSS template that I added as a result of various articles, the RSS 2.0 spec and by examining the feeds of major professional news sites. For more information see my blog post (url above). Tested...
1 1247 posted 15 years ago by mahalie
This template removes seconds from date fields used in the <item> which cause multi-posting (on each edit) of entries. These are the minimal fixes to the current default EE RSS Template, I've also uploaded an [improved template](http://snipplr.com/vi...
0 1145 posted 15 years ago by mahalie
1 ... 346 347 348 349 350 ... 553