Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Easy little script to grab the current frame's BitmapData from a Video()
2
2279
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
2233
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
2073
posted 17 years ago by Uzbekjon
Put this script in your path and you can start your scripts located in ~/.groovy/scripts from everywhere.
Tags: Bash, Linux, Groovy
0
2027
posted 17 years ago by mahome
Script to clear all Drupal caches from a url (it's bookmarkable)
1
1638
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
2709
posted 17 years ago by mattkenefick
This was not written by me, but Jeffrey Olchovy. I uploaded it here because his blog messes up the quotes.
10
2534
posted 17 years ago by oscargodson
This function will convert any long url into a Diggbar url
2
1820
posted 17 years ago by jdstraughan
zanox Web Services - Contextual Product Search Widget for blogger.com
0
1571
posted 17 years ago by dne
margin-top è la meta dell'altezza / margin-left è la metà della larghezza
0
1620
posted 17 years ago by BoNzO
ActionScript 3
bit.ly URL-shortening script for TextExpander that associates URLs with your bit.ly account
TextExpander is a great Mac tool that expands special abbreviations typed anywhere in the OS into useful snippets of text. One of the AppleScript snippets included shortens a URL in the clipboard using the bit.ly URL-shortening service. You copy the...
2
5608
posted 17 years ago by Todd
Replacement config settings for the Drupal FCKeditor module. Replace contents of .../modules/fckeditor/fckeditor.config.js
0
1894
posted 17 years ago by zachharkey
really simple random bg image. Save images starting at 1.jpg. Put in your jquery selector. Etc, etc.
8
2348
posted 17 years ago by ira
This code was use for openning a pdf file that was in a table cell. This link was the only link/button for each rows. Using this, you can click anywhere on each rows to open it's link page.
0
1930
posted 17 years ago by HubertGaulin
This is the default Mail-Config file mail-service.xml by JBoss with the additional line for authentication.
0
1868
posted 17 years ago by mahome