Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I use this to test if my internet connection is up, I run it from quicksilver, it's much faster for me than opening up a terminal.
0
913
posted 17 years ago by dbug13
- lowQ/ is the output directory
- pass quality level from 1 to 100
2
1199
posted 17 years ago by abhiomkar
Great for animating in Actionscript. You should check out the complete kit at the Fuse Web Site.
Can't Wait till this is ported to AS3
0
797
posted 17 years ago by mswallace
Just some code that shows you how to set up the Drawing API and draw a line and also use the dropshadow filter.
4
1332
posted 17 years ago by mswallace
Just a quick command-line utility to check inflation values from US statistics office.
1
1197
posted 17 years ago by jarjar2k7
This code will validate not only the four octets contain between 1 and 3 numbers each, but also that the number they contain is between 0 and 255.
In all, there are 3 different regex's that I tried and all seem to work fine. The three regex's a...
0
2701
posted 17 years ago by numberwhun
Usage: save the script to ~/scripts/my.bashrc and then source it in .bashrc.
0
1156
posted 17 years ago by thebugslayer
The ASPN cookbook has many recipes for singletons in Python. So far, this one
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/412551
has been my favourite, because it is so simple and concise. However, I just ran into a brick wall when I tr...
0
856
posted 17 years ago by n3x