Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Startup eclipse code.
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudoedit /usr/bin/eclipse
0
849
posted 17 years ago by jlbfalcao
Cowthink is an ASCII script for Linux to show text in a bubble over a cows head
Picture: http://tinyurl.com/5mupb7
Download: http://www.nog.net/~tony/warez/cowsay.shtml
1
922
posted 17 years ago by Sn0opy
https://www.chrisjmendez.com/2008/06/06/as3-regular-expression-basics/
12
1973
posted 17 years ago by chrisaiv
You'll need to download the latest version of jQuery for this to work, as it is linked in the tag. CSS/XHTML included.
15
3695
posted 17 years ago by dmosher
https://www.chrisjmendez.com/2008/06/04/ruby-open-a-text-file-and-re-write-its-contents-into-a-new-text-file/
1
1525
posted 17 years ago by chrisaiv
This rendition works for most of my tasks, but the inform may need to be changed to suit base64 encoded files.
0
1234
posted 17 years ago by breakerjump
Example code would remove all files/folders recursively starting from the current folder named file_name
0
1213
posted 17 years ago by jturmel
Some times you need some specific range of lines from a file and the commands 'head' and 'tail' are not enough for you. This could be a easy solution for this problem.
2
1527
posted 17 years ago by Juanje
Sorry, the comentaries are in spanish. I will translate them some day.
The examples results are indicated with:
# -> [result]
Usually is the "echo" result
0
909
posted 17 years ago by Juanje
Convert an number to a position / ranking. 1 becomes 1st, 2 becomes 2nd, etc...
2
1751
posted 17 years ago by distinctdev
This snippet shows how to serialize action script object to strings, the serialization method is AMF based, note also that each object must meet three basic rules in order to be serialized properly:
¨1. The constructor must take no arguments...
1
1630
posted 17 years ago by narkisr