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 | |
| # hubot | |
| # chkconfig: 345 20 80 | |
| # description: hubot | |
| # processname: hubot | |
| # REFERENCE: http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/ | |
| HUBOT_INSTALL=${HUBOT_INSTALL:-/opt/hubot} | |
| source ${HUBOT_INSTALL}/hubot.env |
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
| [DEBUG] Deploying to 'github:http://deliver8r.github.io/deliver8r-parent/site/0.0.4-SNAPSHOT/', | |
| Using credentials from server id 'githubd8r' | |
| [DEBUG] configureWagon | |
| [DEBUG] configureWagon server ossrh | |
| [DEBUG] configureWagon server central | |
| [DEBUG] configureWagon server snapshots | |
| [DEBUG] configureWagon server remote-repos | |
| [DEBUG] configureWagon server githubd8r | |
| [DEBUG] configureWagon server github | |
| [DEBUG] repository protocol github |
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/mkdir /tmp/rip 2> /dev/null | |
| javac -d /tmp/rip $0 | |
| java -cp /tmp/rip Rip "$@" | |
| exit | |
| */ | |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.util.*; | |
| import java.util.regex.Matcher; |
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 | |
| # | |
| # transcode-video.sh | |
| # | |
| # Copyright (c) 2013-2014 Don Melton | |
| # | |
| # This script uses `HandBrakeCLI` (see: <http://handbrake.fr/>) to transcode a | |
| # video file or disc image directory into a format and size similar to videos | |
| # available for download from the iTunes Store. | |
| # |
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
| DAYS= | |
| cd /home | |
| for a in * | |
| do | |
| pushd ${a} | |
| find . -mtime +${DAYS} > /tmp/${a}.find | |
| L=$(wc -l /tmp/${a}.find) | |
| # [ ${L} -gt 2 ] && zip -mrq /tmp/${a}.zip . | |
| popd | |
| done |
NewerOlder