Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 485 486 487 488 489 ... 553
This is useful if you have some optional functionality being done which is quite slow on nfs. For example, I have a script that adds scm (svn/git/etc) info to my prompt, but I wouldn't want that when I'm in a repository on an nfs mount.
0 1771 posted 17 years ago by kergoth
0 1449 posted 17 years ago by vanne
Bugfix/Lösungsvorschlag: Es ist offensichtlich, dass die Zelle mit der ID cell3467 und dem definierten "margin-right: 3.09%" falsch berechnet wird - nämlich mit realen 16 Pixeln anstatt 8 - und auf den obersten Basis-Wert der "DIV width" zurück...
1 1649 posted 17 years ago by bassdas
Rewrite your urls for domain.co.uk to www.domain.co.uk including full url
3 1788 posted 17 years ago by catchamonkey
include file protection...
2 1605 posted 17 years ago by skywalker
Another way of showing long text to end user...
0 1682 posted 17 years ago by skywalker
Little utility script I wrote to find subversion working copies and update them. If no arguments are given the script starts from the current directory.
0 1608 posted 17 years ago by claytron
1 1937 posted 17 years ago by iTony
Properly escapes the query string, according to http://code.google.com/apis/searchappliance/documentation/46/xml_reference.html#appendix_url_escaping
3 1854 posted 17 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 1731 posted 17 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 1254 posted 17 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 1431 posted 17 years ago by Juanje
Little script which call tinyurl.com via 'curl' for generate a sort url of the url you pass.
0 2001 posted 17 years ago by Juanje
0 1370 posted 17 years ago by Juanje
4 1836 posted 17 years ago by iTony
This can be used to test FS type.
1 2258 posted 17 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 1398 posted 17 years ago by cczona
1 1808 posted 17 years ago by lakedenman
0 983 posted 17 years ago by xuanyan
0 1417 posted 17 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 3609 posted 17 years ago by coldpeer
A Tiny JavaScript liberary for Behaviour-Driven Development (BDD).
1 1699 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 1994 posted 17 years ago by ishikawa
1 ... 485 486 487 488 489 ... 553