Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Taken from http://ubuntuforums.org/showthread.php?t=255556
0
719
posted 13 years ago by sergeygerasimov
I use this to quickly (in one line) copy my own id_rsa.pub to remote server so I can connect w/out using my password.
1
946
posted 13 years ago by electblake
Installation .bin file must be modified:
There's old commands than must be commented/deleted.
The 'tail' command is changed (check the starting line for the binary data).
Thanks Johan Louwers!
0
803
posted 13 years ago by ashsa
Handy, especially when you have large logs and you want to see what just happened
0
765
posted 13 years ago by bionic
If you want to run Google Chrome with additional program arguments under OSX, one way, is to use "open" and its --args argument.
Use it to start Chrome with the --allow-file-access-from-files setting (or any other).
Create a link to it to run i...
0
907
posted 13 years ago by nonlinearsound
Resize images that are greater than 800x600 and place them in the "small" directory.
0
741
posted 13 years ago by Carolyne
Found on the Ubuntu forum: http://ubuntuforums.org/showthread.php?t=1355021
Renames files to 0001.jpg, 0002,jpg etc
You can insert a prefix here: "prefix-$j.jpg"
0
729
posted 13 years ago by Carolyne
[See also: http://snipplr.com/view/12048]
Oops, didn't mean to commit that? Undo it easily:
0
776
posted 13 years ago by cczona
From the referenced website:
Well, that command speaks for itself "sed" edits "-i in place ( on the spot ) and replaces the word "ugly with "beautiful" in the file "/home/bruno/old-friends/sue.txt"
0
799
posted 13 years ago by bionic
Simple bash script that sorts a series of numeric parameters using a temporary file and sort command.
0
654
posted 13 years ago by Hexx
Come modificare i permessi di tutti i files (senza toccare le cartelle) o viceversa
0
664
posted 13 years ago by tuffo19
Script will extract all flv's or other videos specified to mp3.
You can change *.flv to prob. any other extension.
Tested on *.mp4 and *.flv
0
604
posted 14 years ago by dogrizz
Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.
0
726
posted 14 years ago by jarnaldich
This shell script helps to refresh a propel schema from an existing database using (the "old") Symfony 1.2 and avoiding the "CURRENT_TIMESTAMP" (MySQL) bug.
0
432
posted 14 years ago by PixEye
Combines .ics files from OS X Server iCal Server into a single merged ics which can then be subscribed to.
I set this up specifically so I could display ical server calendars inside of Zap Calendar on a joomla site. This script could be called from...
0
700
posted 14 years ago by uptimejeff
Just up arrow to this while you are modifying widget1.svg to easily create timestamped copies.
1
733
posted 14 years ago by aleidax