Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 485 486 487 488 489 ... 552
Properly escapes the query string, according to http://code.google.com/apis/searchappliance/documentation/46/xml_reference.html#appendix_url_escaping
3 2179 posted 18 years ago by AndrewVos
This is very useful with dinamic IP connections. You can connect from the host with the dinamic IP, leave the tunnel open to other machine with ssh access and fixed IP and then connect to this machine on specific port (22000 in the example) to connec...
2 2079 posted 18 years ago by Juanje
This script goes to the directory you pass as a parameter and change de version of all the packages found in there. It was used for an amount of packages which were building from the sources but for an lower version of Ubuntu (actually for Guadaline...
0 1568 posted 18 years ago by Juanje
This is a simple script for testing changes in a live iso created with squashfs filesystem for the compression. It will take the iso path as a parameter and it will open it up with unionfs to let you modify its content (into a chroot enviroment) and...
0 1715 posted 18 years ago by Juanje
Little script which call tinyurl.com via 'curl' for generate a sort url of the url you pass.
0 2372 posted 18 years ago by Juanje
0 1647 posted 18 years ago by Juanje
4 2154 posted 18 years ago by iTony
This can be used to test FS type.
1 2659 posted 18 years ago by zingo
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 1702 posted 18 years ago by cczona
1 2162 posted 18 years ago by lakedenman
0 1244 posted 18 years ago by xuanyan
0 1748 posted 18 years ago by vanne
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 3947 posted 18 years ago by coldpeer
A Tiny JavaScript liberary for Behaviour-Driven Development (BDD).
1 1966 posted 18 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 2309 posted 18 years ago by ishikawa
1 2027 posted 18 years ago by rwitten
It redirects the url with JS.
0 1724 posted 18 years ago by skywalker
Rediccionamiento Apache desde una IP determinada y pidiendo una página concreta
0 1657 posted 18 years ago by estebant
Redirecciona una petición HTTP de Apache a una URL, salvo los que tenga una IP determinada.
0 1645 posted 18 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 11854 posted 18 years ago by visuallyspun
http://lineguides.netsons.org
0 1683 posted 18 years ago by cirio
http://lineguides.netsons.org
0 1622 posted 18 years ago by cirio
Useful if you need to run the same command for lots and lots of different parameters
0 2657 posted 18 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 2170 posted 18 years ago by wolfie
1 ... 485 486 487 488 489 ... 552