Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Credit goes to [shyul](http://forum.mamp.info/memberlist.php?mode=viewprofile&u=61837"shyul") and the original forum post here: [original_post](http://forum.mamp.info/viewtopic.php?t=14115"original_post")
You need to modify the following file " ...\...
0
1277
posted 12 years ago by manolis
how to make the Git remote repository read-only by configuring a non-functional push URL
0
908
posted 12 years ago by m1b
In order to avoid make files executable, you can use these to chmod files and directories differently.
0
827
posted 12 years ago by wnasich
ChucK is a strongly-timed, concurrent, and On-the-fly Audio Programming Language.
A Bundle to edit ChucK files in the TextMate editor is created at Github.
To install it execute in Terminal:
0
822
posted 12 years ago by Thommm
I want to get a list of all the branches in a Git repository with the "freshest" branches at the top, where the "freshest" branch is the one that's been committed to most recently (and is, therefore, more likely to be one I want to pay attention to).
0
870
posted 12 years ago by satie83
simple command that resize and crop, if necessary, an image, centering the image.
0
891
posted 12 years ago by artaserse
A crude script to query the GitHub API for a given Organisation, and backup its repositories and associated members forks.
0
1145
posted 12 years ago by slinky
http://yuji.wordpress.com/2010/06/11/git-delete-remote-branch/
1
1082
posted 12 years ago by beneberle
This example will go get the latest version of wordpress and save it as "wordpress-latest.tar.gz" in the current directory. Note, don't include the protocal (http://) in the url.
0
799
posted 12 years ago by beneberle
Way to install jsontools jar. Inspired by http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
0
757
posted 12 years ago by ef
Combine multiple smaller incremental commits into larger ones, perfect for encouraging you to commit often while enabling you to summarize a day's work into one, or more, simplified commit.
WARNING: Only do this on commits that haven’t been push...
0
918
posted 12 years ago by beneberle
Will find all __TIF__ files and create new __JPG__ files of the same file name.
- 97% quality
- Resize _down only_ to `1024x1280`
0
654
posted 12 years ago by jasonseney
Perform command on all hosts found in **~/.ssh/known_hosts**
Works better when [**auth.sh**](http://snipplr.com/view/46699/authsh/ "auth.sh") has been run on each host first.
0
852
posted 12 years ago by cruelfate
Sets the permissions for all folders to 755, and for all files 644.
Useful for SUPHP configurations which required this specific permission setup.
0
891
posted 12 years ago by axertion
Shows the load of the cpu graphically in ssh (note you must install htop first)
0
771
posted 12 years ago by klovera