Welcome To Snipplr


Everyone's Recent Snippets



1 ... 240 241 242 243 244 ... 553
Useful for displaying copyright notices on a website.
0 1348 posted 15 years ago by f6design
2 1396 posted 15 years ago by lromak
You should include these Cookie helpers in your base page class. Enjoy!
0 1086 posted 15 years ago by mecha
A Twitter pull-in that I coded using PHP. Uses the JSON user_timeline Twitter API call. It displays the tweet with links to any urls, users, or hashtags, the time ago, and if it was in reply to anyone.
2 1619 posted 15 years ago by mloberg
I need to create a new template that just show the photo ordered by «department» and «title». It should also include an hidden <DIV> with full name, email, social links and bio.
0 656 posted 15 years ago by ipublicis
Not sure what I\'d ever use this for as it doesn\'t exactly lend itself to flexibility in the long term, but saving it anyway.
0 2365 posted 15 years ago by stephcode
More information, Demo & FLA file download at http://www.adamcoulombe.info/lab/as3/spiral-gallery.html
1 1296 posted 15 years ago by adamcoulombe
This is a two file video player. I use JSON to get the list of videos from a user, then when a thumbnail is clicked, an AJAX request is sent with the id of the video, and an oEmbed response is sent back.
4 1322 posted 15 years ago by mloberg
Display the latest tweets of a user using JavaScript. Not really a recommended way. If Twitter is slow, your site will load slow. I would recommend using my PHP implementation instead. It will not hang your site if Twitter is not working.
1 1076 posted 15 years ago by mloberg
On click event, display a div on mouse coords. Tested on Firefox 3.6.11, chrome 6, internet explorer 6. Based on this source code: http://www.webdeveloper.com/forum/showthread.php?t=92007
0 3860 posted 15 years ago by juanduke
0 1089 posted 15 years ago by xavsio4
[Inspectable] metada
0 814 posted 15 years ago by corporem
This snippet of code is probably the most common and _valuable_ in the world of jQuery.
1 1342 posted 15 years ago by creativeboulder
This snippet for @font-face *didn't work* as well as the standard Bulletproof code.
1 1076 posted 15 years ago by creativeboulder
I\'m trying to find an expression to match a whole sentence. So really the pattern is the regex of the subject.
1 3488 posted 15 years ago by thefrosty
source: http://ubuntuforums.org/showthread.php?t=806125
0 1112 posted 15 years ago by wnasich
Script to send mails with Swift Mailer
0 1236 posted 15 years ago by juanchifc
Styles selected text
0 953 posted 15 years ago by dani
Use Curl to grab the latest versions of jQuery... dev and minified versions.
0 1606 posted 15 years ago by mecha
This is a very simple use of the Vimeo API. All it does is list the video title, a thumbnail of the video, and the description. More advance script coming later.
0 1167 posted 15 years ago by mloberg
Instead of putting "1.4.2" or whatever in the src, if you just put "1", you'll get the most recent version. At least until they release v2.
1 1265 posted 15 years ago by matula
2 1480 posted 15 years ago by mloberg
1 1248 posted 15 years ago by rbulgueroni
0 1469 posted 15 years ago by magicrebirth
Following sql statement collect product sku with store url select catalog_product_entity.sku,catalog_product_entity_varchar.value from catalog_product_entity,catalog_product_entity_varchar where catalog_product_entity_varchar.attribute_id=87 an...
0 2327 posted 15 years ago by aashvi
1 ... 240 241 242 243 244 ... 553