Welcome To Snipplr


Everyone's Recent Snippets



1 ... 346 347 348 349 350 ... 554
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
0 1127 posted 15 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
2 977 posted 15 years ago by mdrisser
I didn't create this but I have used it man time. It's super easy to implement and customize.
0 1305 posted 15 years ago by thehamilton
0 924 posted 15 years ago by level09
A small collection of the most wanted string-functions in ASP / VB.
1 1106 posted 15 years ago by choasis
Just replace the squared brackets with the correct values.
1 1267 posted 15 years ago by choasis
Place in your functions.php file and call it in your theme like this: <?php>
1 1439 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 1424 posted 15 years ago by jonathonmaguire
| convert -quality 85 - "$4" - Если не установлен конверт можно закоментить
1 867 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 1162 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 1355 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 1273 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 1213 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 6436 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 1287 posted 15 years ago by ginoplusio
0 830 posted 15 years ago by level09
0 841 posted 15 years ago by wilburhimself
0 1081 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 1114 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 964 posted 15 years ago by sgtrock
1 ... 346 347 348 349 350 ... 554