Welcome To Snipplr


Everyone's Recent Snippets



1 ... 423 424 425 426 427 ... 552
This example is adding a feature box after the first post. You can apply it to any of the hooks inside the loop.
2 1804 posted 17 years ago by kristarella
changed to detect sring sheet first, then to try object extension.
2 2159 posted 17 years ago by pdswan
0 1542 posted 17 years ago by glends
0 1882 posted 17 years ago by glends
* be postgres user
0 1655 posted 17 years ago by kungfoo
Learn how to create drop caps using CSS and no extra HTML markup in this short tutorial.
1 2207 posted 17 years ago by neal_grosskopf
Extracts a string paremeter from the url query string. Basic operation wont handle multiples such as radio buttons etc. Just gets the first instance of the name and returns it's value.
1 1784 posted 17 years ago by kouphax
In phpMyAdmin you can define strftime formats for your dumped database sql files. Here you are with two formats, one for sigle table export, one for multi-table export.
0 1941 posted 17 years ago by dawjdh
Use this to extract an HTML5 origin from a URI. $1 is the origin. The square brackets are there to support IPv6 addresses. Example: var html5OriginRegex = /^([\w-]+:\/*\[?[\w\.:-]+\]?(?::\d+)?).*/; "http://www.google.com:42/foo/bar/...
0 1514 posted 17 years ago by Sephr
Affects <A> tags for links starting with $link Example: LinkReplacer ($text, 'http://www.snipplr.com') affects to <a href="http://www.snipplr.com">Snipplr</a> and <a href="http://www.snipplr.com/blog">Snipplr Blog</a>
0 2045 posted 17 years ago by kossmoss
JavaScritp Form Validation Framework to validate form fields on the fly, no programming knowledge required.
0 1887 posted 17 years ago by clickfind
ErrorConstructor produces error constructors that behave the same way as the seven native error constructors. Usage: `ErrorConstructor([constructorName])` *If no constructorName is specified, the default of `Error.prototype.name` is used* Us...
1 1964 posted 17 years ago by Sephr
Search for applications by substring and display the results.
0 2092 posted 17 years ago by abwaters
Search for applications by developer name and display the results.
0 2025 posted 17 years ago by abwaters
Search for an application by its fully qualified Java package name and display the result.
0 2103 posted 17 years ago by abwaters
With android you can define intent-filters to indicate that your app wants to handle requests for specific urls.
1 2255 posted 17 years ago by abwaters
Technique for launching android market with specific search terms.
0 2201 posted 17 years ago by abwaters
6 2096 posted 17 years ago by kristarella
fix for IE, adds getComputedStyle method for the object window and getPropertyValue method for the object, which returns getComputedStyle
1 6992 posted 17 years ago by Jman
Allows the user to bind an event into a certain position in the call stack for events.
3 2322 posted 17 years ago by garside
1 1852 posted 17 years ago by dbug13
0 2142 posted 17 years ago by rezzz
One of those common tools that's easy to forget about is the Modulus operator (%), which returns the remainder of a division operation. If you divide some number by two, a remainder of 0 indicates an even number, while a remainder of 1 indicates a...
1 3608 posted 17 years ago by jlizarraga
obviously change url. you'll get (better formatted) something like... curl -o /dev/null -w %{time_total}\\n http://www.google.com % Total % Received % Xferd Average Speed Time Time Time Current D...
0 1522 posted 17 years ago by nategood
Extract logins default db settings from one server to export to another
0 1440 posted 17 years ago by pollusb
Just a bare-bones DocumentClass template I use.
1 1718 posted 17 years ago by allnatural
1 ... 423 424 425 426 427 ... 552