Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
how to make the Git remote repository read-only by configuring a non-functional push URL
0
2999
posted 14 years ago by m1b
In order to avoid make files executable, you can use these to chmod files and directories differently.
0
1924
posted 14 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
2847
posted 14 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
2819
posted 14 years ago by satie83
simple command that resize and crop, if necessary, an image, centering the image.
0
2902
posted 14 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
3385
posted 14 years ago by slinky
http://yuji.wordpress.com/2010/06/11/git-delete-remote-branch/
1
3198
posted 14 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
1921
posted 14 years ago by beneberle
Way to install jsontools jar. Inspired by http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
0
1940
posted 14 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
3000
posted 14 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
1606
posted 14 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
2163
posted 14 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
2173
posted 14 years ago by axertion
Shows the load of the cpu graphically in ssh (note you must install htop first)
0
1937
posted 14 years ago by klovera
I create this script which let me add the gitk in the Programming Application menu in my gnome this way I don't need to open a shell and go to the repository base to view the rep tree
0
2832
posted 14 years ago by ferro