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/sh | |
| # A script that leverages Trac XML-RPC (I know, I know) to upload patches. | |
| # | |
| # This script is written specifically for the Mac, in that it reads from | |
| # your keychain to derive your SVN password. You can change the SVN_PASS | |
| # line below if you wanted to pull from ~/.svn/ or what not. | |
| # | |
| # Basic usage: `trac-attach.sh 12345` uploads a patch to ticket #12345, | |
| # using the name 12345.diff. If there exists a 12345.diff, the patch is |
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 | |
| # Usage: ./deleteOld "bucketname" "30 days" | |
| s3cmd ls s3://$1 | while read -r line; | |
| do | |
| createDate=`echo $line|awk {'print $1" "$2'}` | |
| createDate=`date -d"$createDate" +%s` | |
| olderThan=`date -d"-$2" +%s` | |
| if [[ $createDate -lt $olderThan ]] |
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/sh | |
| ### BEGIN INIT INFO | |
| # Provides: gunicorn_scweb | |
| # Required-Start: $network $local_fs | |
| # Required-Stop: | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: SimpleCounter Web | |
| # Description: Yumemi Inc. | |
| #### END INIT INFO |
NewerOlder