Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Suppose you created a script chart.rb in /home/foo/ruby/mylib direcory. Now, you want to use this in the app.rb located in /home/foo/ruby/scripts. In ~/.bash_profile:
0
1104
posted 17 years ago by cczona
By default, Emacs displays on the titlebar (I mean GUI Emacs) emacs@domain. There is a way to modify this, using (setq frame-title-format "my title").
How to display emacs@domain: ~/dir/file (or buffer name in case of e.i. *scratch*)? Add it to yo...
1
3284
posted 17 years ago by coldpeer
A Tiny JavaScript liberary for Behaviour-Driven Development (BDD).
1
1389
posted 17 years ago by ishikawa
This is the javascript file for code which implements the Secure Hash Algorithm 1 as defined in FIPS 180-1 published April 17, 1995.
1
1578
posted 17 years ago by ishikawa
Rediccionamiento Apache desde una IP determinada y pidiendo una página concreta
0
1130
posted 17 years ago by estebant
Redirecciona una petición HTTP de Apache a una URL, salvo los que tenga una IP determinada.
0
1125
posted 17 years ago by estebant
Toolbox CSS is styling information that has nothing uniquely to do with any particular website. These are a collection of common styles that can be useful on any web project. How many times have you written a class for clearing a float? Too many, is...
18
10017
posted 17 years ago by visuallyspun
Useful if you need to run the same command for lots and lots of different parameters
0
1859
posted 17 years ago by wolfie
Useful if you have a shell script running lots of the same command and want to know how many of them have been done
0
1424
posted 17 years ago by wolfie
Run this command to add an /etc/init.d/ startup script to start at os bootup.
0
1250
posted 17 years ago by funkmyer
How to use WebClient to post to an ASP.Net page and maintain viewstate for proxy purposes.
0
1319
posted 17 years ago by BlueCockatoo
this function was provided to me by my partner in crime......thanks superchicken
0
1082
posted 17 years ago by bsisco