Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This code will show you how to write Mouse Events using AS3 and also some simple Drawing API as well.
3
1553
posted 17 years ago by mswallace
Since there is no convenient way to clear the console in irb on windows, we can simple emulate the dos cls function
1
2122
posted 17 years ago by vanne
Excellent Script for opening new windows from links while adhering to modern HTML/XHTML standards. Simple put rel="nofollow" in the anchor and link to the script within the HEAD.
I prefer to remove the text that states the link opens in an externa...
1
1370
posted 17 years ago by jonhenshaw
This code shows you how to load large files using as3. This is good for loading in large files. Flash Player will fire events as the data becomes available.
7
1572
posted 17 years ago by mswallace
Found this code. It is an example of loading and reading different file types with ActionScript 3
5
1460
posted 17 years ago by mswallace
Converts whitespace that spans multiple lines into a single newline, needs improvement
0
964
posted 17 years ago by plexus
for .bashrc, a function that cd's to a directory and lists the contents it takes ls arguments and a directory. for example, cl goes to home dir and lists contents. cl -l goes to ~/ and long lists contents. and cl -lrt public_html shows the contents o...
0
847
posted 17 years ago by zingo
Gets an mp3 player to play mp3s which contain all the phrases given as arguments. Locate is much faster than xmms' library, usually in split a second.
This is very handy, when you install a command-line into the wm panel.
Creates files /locate.0, /...
1
993
posted 17 years ago by Adek336
good for parsing a message for urls so you can process them for character length when displayed on screen
3
1029
posted 17 years ago by hdotnet