Welcome To Snipplr


Everyone's Recent Snippets



1 ... 421 422 423 424 425 ... 553
Testing if toggle has happened.
0 1240 posted 17 years ago by davebowker
From this article, Martin "mpot" Pot mention: " The above CSS definition is defining a style called noprint, and will only be applied to printed content. Setting the display property to none means any content using this CSS style will not be displ...
0 3167 posted 17 years ago by HubertGaulin
Example: Add the following ccs '@media print { body { font-size: 12pt } }' to the document.
0 1837 posted 17 years ago by HubertGaulin
1 2027 posted 17 years ago by walokra
In IE6 (+7?) the fieldset width doesn't automatically resize to fit the width of the parent container.
1 1405 posted 17 years ago by hotdiggity
This is my first ever bookmarklet. It's simple and could be tightened up but it works for me (FF3 Ubuntu 8.10). Oh, by the way, what it does is load gmail (if you're signed in, which I always am) with a search for the unread messages (is:unread)...
0 1266 posted 17 years ago by ThomasGHenry
0 1281 posted 17 years ago by kokikr
Easy little script to grab the current frame's BitmapData from a Video()
2 2021 posted 17 years ago by allnatural
For instances where you have an empty div that is less than about 10-15px in height. IE assumes it should contain something and allots room for text. I first found this on the webdeveloper.com forums. The kicker here for me was the "font-size:0"...
2 1957 posted 17 years ago by charmcitycoder
This script preloads images in your document or lets your to preload images by their url and insert or append them in your DOM tree later.
5 1784 posted 17 years ago by Uzbekjon
0 1593 posted 17 years ago by albertomori
Put this script in your path and you can start your scripts located in ~/.groovy/scripts from everywhere. Tags: Bash, Linux, Groovy
0 1740 posted 17 years ago by mahome
Script to clear all Drupal caches from a url (it's bookmarkable)
1 1392 posted 17 years ago by terrencewood
find . | xargs grep 'string' -sl The -s is for summary and won't display warning messages such as grep: ./directory-name: Is a directory The -l is for list, so we get just the filename and not all instances of the match displayed in the results...
2 2313 posted 17 years ago by mattkenefick
1 1982 posted 17 years ago by fnurl
0 1832 posted 17 years ago by fnurl
Save an image to the media library on android
1 2436 posted 17 years ago by abwaters
This was not written by me, but Jeffrey Olchovy. I uploaded it here because his blog messes up the quotes.
10 2190 posted 17 years ago by oscargodson
1 ... 421 422 423 424 425 ... 553