Welcome To Snipplr


Everyone's Recent Bash Snippets



1 ... 25 26 27 28 29 ... 41
URLs: <http://www.chiark.greenend.org.uk/~sgtatham/utils/> <http://kitenet.net/~joey/code/moreutils/> Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until t...
0 1723 posted 17 years ago by deepsoul
0 1455 posted 17 years ago by rowntreerob
The following shell function returns the canonicalised abolute path of a file. It resolves symbolic links, /./ and /../ as applicable. This was adapted from various sources. Related snippets on snipplr are [Find absolute path of Bash script](http:...
0 1641 posted 17 years ago by deepsoul
call for the feed using the video_id and get the xml response. see "yt:status"
0 1988 posted 17 years ago by rowntreerob
This script tries to detect whether an HTTP Proxy works or not. It uses the HEAD command (high-level version of the lwp-request command) to connect to a given URL (http://www.google.com by default) via the given HTTP Proxy. It takes 2 arguments; the...
0 1838 posted 17 years ago by sensimevanidus
1 2168 posted 17 years ago by radarseven
0 1823 posted 17 years ago by deepsoul
sed is required because hg status returns paths with \ (backslash) instead of / (slash). I'm using the Windows version of Mercurial, in a linux version you can omit the sed part.
0 1787 posted 17 years ago by geekiuscaesar
0 1430 posted 17 years ago by radarseven
Based on the good initial coverage [over here](http://www.thamtech.com/blog/2008/03/29/gmail-to-google-apps-email-migration/).
1 1909 posted 17 years ago by ches
Flash has a weird cache mechanism, this makes sure that the browser isn't caching any data.
0 3136 posted 17 years ago by iloveitaly
Simply change the email address and add this to the bottom of your .bashrc file in your home directory. You may also want to add this to the .bashrc in the /root directory, and the .profile in /etc to ensure you are notified anytime your server is ac...
0 1636 posted 17 years ago by arnoldb
0 1555 posted 17 years ago by hlubek
This shell script is tested under CentOS / RHEL and Fedora Linux. It should also work under other Linux distributions. If you would like to collect and submit information on your network configuration to your sr. Linux / UNIX admin use this script.
2 3002 posted 17 years ago by mprabhuram
1 1594 posted 17 years ago by ericboehs
You must have already setup your /etc/init.d/some_binary file and it should have the chkconfig line in it that specifies the on/off run levels and start/stop priorities.
0 1974 posted 17 years ago by jturmel
A custom compression script I use for auto compression and gzip compression of my css & files. Also allows for 'debug' mode (uncompressed). You simply include the core.css & core.js in your <head>
0 1947 posted 17 years ago by iloveitaly
0 1748 posted 17 years ago by smoover
Assuming you have a set of svn project folders inside a parent (only folders in parent) you can do a simple backtick `ls` to get the folder names for svn...
0 1977 posted 17 years ago by jasonm23
This is for creating an annotated tag in Git.
0 1825 posted 17 years ago by jturmel
0 1521 posted 17 years ago by sebastian_bergmann
1 ... 25 26 27 28 29 ... 41