This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # encode.sh | |
| # | |
| # Copyright (c) 2013 Don Melton | |
| # | |
| # This version published on June 7, 2013. | |
| # | |
| # Re-encode video files in a format suitable for playback on Apple TV, Roku 3, | |
| # iOS, OS X, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GLOBAL CONFIGURATIONS | |
| # ------------------------------------------------------------------- | |
| # See https://github.com/jigish/slate/wiki/Global-Configs | |
| config defaultToCurrentScreen true | |
| config secondsBeforeRepeat 0.4 | |
| config secondsBetweenRepeat 0.1 | |
| config keyboardLayout "qwerty" | |
| config nudgePercentOf screenSize | |
| config resizePercentOf screenSize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # This script backups an OS X system to an external volume, effectively | |
| # cloning it. It is based on [0], [1] and [2] for OS X and [3] and [4] for | |
| # Linux. One could also use commercial tools like SuperDuper! or Carbon Copy | |
| # Cloner. The latter website has an interesting list[5] on what files to | |
| # exclude when cloning. | |
| # | |
| # Exclusions (from CCC[5]), see rsync_excludes_osx.txt | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ### ABOUT: See: http://gist.github.com/366269 | |
| ### Runs rsync, retrying on errors up to a maximum number of tries. | |
| ### On failure script waits for internect connection to come back up by pinging google.com before continuing. | |
| ### | |
| ### Usage: $ ./rsync-retry.sh source destination | |
| ### Example: $ ./rsync-retry.sh user@server.example.com:~/* ~/destination/path/ | |
| ### | |
| ### INPORTANT: |
NewerOlder