Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged script



« Prev 1 2
1. Click on the **Build Phases** tab. 2. Click on **Add Build Phase** (at the lower right corner) and choose **Add Run Script**. 4. Drag the **Run Script** section to **2nd** position from the top, just below Target Dependencies. 5. **Add snippe...
0 1448 posted 11 years ago by AndreyZarembo
This is a simple wrapper to bc to perform basic calculator duties. with up to 4 decimal place precision. its just one of those things you might find useful. Then again all the os's out there have a gui calc easily ready too.
0 1487 posted 12 years ago by brownrl
Shell script written in bash which displays a menu giving the you ability to add, edit, modify, and delete users.
1 4499 posted 13 years ago by dego89
As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques
0 2558 posted 13 years ago by symsec
As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques
0 2470 posted 13 years ago by symsec
Use this snippet in Linux shell to install RVM and set it up for use with Sprockets.
0 2514 posted 13 years ago by symsec
A crude script to query the GitHub API for a given Organisation, and backup its repositories and associated members forks.
0 2955 posted 14 years ago by slinky
The space after the caret in the grep command is produced by typing Ctrl-V and then Tab, to insert a Tab character.
0 1469 posted 14 years ago by nkm
This nautilus script was written for Wuala to duplicate the "Copy Public Link" feature from Dropbox.
0 1718 posted 14 years ago by flexgrip
This was a school project, so it is not well commented but feel free to ask details.
0 1664 posted 15 years ago by sp4ke
0 1225 posted 15 years ago by austinhappel
updated...
0 1361 posted 15 years ago by nathwill
0 1119 posted 15 years ago by rkumar
<ol><li>save as filename.sh</li><li>chmod u+x filename.sh</li><li>usage : ./filename.sh\"url\"</li></ol>
1 2288 posted 15 years ago by kentoy
0 1913 posted 15 years ago by mvrilo
0 1268 posted 16 years ago by ascarion
here's a script, mod_files.sh, in ext/session for creating directory tree with depth X for sessions. As it stands, it's pretty poorly documented and very basic. I * got exceptionally bored and rewrote most of it, the patch is attached. It runs...
0 1695 posted 16 years ago by nkm
> <code>__Usage:__<br> > ./svn-export.sh [repository/subdir] [rev1] [rev2]</code>
0 1468 posted 16 years ago by tcmacdonald
gets the svn version of the cwd
0 1346 posted 16 years ago by iloveitaly
There is no debian startup script for the lighttpd webserver, if you install the server from sources. You could rewrite the redhat init script for your self, but i've already done this for you :-)
0 1141 posted 16 years ago by crypt
Gets the absolute path of the script itself even when it's executing, not just a simple "pwd".
1 1853 posted 16 years ago by loungerdork
Another way of writing a continuous bash menu.
7 1893 posted 17 years ago by jaduks
0 1323 posted 17 years ago by iloveitaly
menu will only quit when 'q' is pressed
2 2005 posted 17 years ago by rwczippy
This is meant to be run as root, so do it at your own risk. It's very raw and needs error checking, but works. I run this script to get new django sites off the ground in a few minutes.
0 2353 posted 17 years ago by mandric
« Prev 1 2