Welcome To Snipplr


Everyone's Recent Snippets



1 ... 408 409 410 411 412 ... 554
this code loads in the necessary actionscript classes for dealing with FLV [flash video] and metadata [in this case cuepoints]. this needs to be loaded right at the beginning of your code, so flash knows how to handle cuepoints embedded in FLV [flas...
0 1176 posted 16 years ago by stiobhart
basic structure of the actionscript function to listen for cuepoints embedded in a piece of FLV [flash video]. note: cuepoints need to have been embedded when the video was converted from its original format to FLV - prior to importing it into flash
0 1192 posted 16 years ago by stiobhart
prob works on other linuces too!
1 897 posted 16 years ago by stiobhart
Enable jQuery on any website, just clicking on a bookmarklet with this code. Or drag & drop this on your bookmark bar: <a href="javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','http://ajax.googleapis.com/ajax/libs...
4 1047 posted 16 years ago by danielfilho
This code replaces a normal category template. It sorts all posts by their category/subcategory instead of bunching them all together and ordering them by date. A bit complicated to explain in a box this size... Check the link for a run through!
1 1202 posted 16 years ago by rocktronica
If you leave out the "paged" parameter, the same results are queried and shown on each pagination. Of course, you'll want to change the "3" to whichever category you'll want to exclude.
3 1166 posted 16 years ago by rocktronica
Download all tutorial pages of html format recursively. Ex: http://www.moraware.com/help/ Get the url of tree frame (left), use it in wget. Have fun :)
0 998 posted 16 years ago by abhiomkar
I was asked to add Recaptcha' to an already existing form. I didn't want to interfere with the code so I decided to search for some sort of AJAX solution. Here's my implementation of DarkSideOfTheCarton.com. This form needs to have a form with <fo...
1 1859 posted 16 years ago by chrisaiv
like array_key_exists but accepts an array of key values to check
0 741 posted 16 years ago by iloveitaly
this function processes a URL that 'should' be a full url (i.e. http://something.com/dfsdfs/) and makes sure it contains http:// for easy inclusion as a link into a href attribute
0 853 posted 16 years ago by iloveitaly
2 1221 posted 16 years ago by iloveitaly
2 1191 posted 16 years ago by iloveitaly
I did write this snippet, I found it somewhere on the internet (I think I found it in a .bash_profile file in [dotfiles.org](http://www.dotfiles.org/) Paste this code at the end of your .bash_profile file and the use it instead of man if you want...
0 846 posted 16 years ago by AzizLight
К этому моменту у вас уже должно быть достаточно знаний, чтобы сериализовать объект. Но как работает этот механизм? Алгоритм сериализаци...
0 786 posted 16 years ago by beresovskiy
/libraries/joomla/html/html/behavior.php ~line 108
0 849 posted 16 years ago by nico65
0 945 posted 16 years ago by beresovskiy
[Google's "AJAX Libraries API"](http://code.google.com/apis/ajaxlibs/) is great and all, but can slow things down if you're doing a lot of refreshing/cache clearing while debugging. Here's a neat trick: stuff something like this in the `<head>` of yo...
1 1123 posted 16 years ago by jdbartlett
1 1144 posted 16 years ago by gfazioli
Assign methods to a Function prototype when you intend to create instances of the type of object. Use object literals when you just need a container for functions.
0 1172 posted 16 years ago by segdeha
More of a setQueryString
0 965 posted 16 years ago by iloveitaly
0 806 posted 16 years ago by bhubbard
0 892 posted 16 years ago by bhubbard
1 ... 408 409 410 411 412 ... 554