start new:
tmux
start new with session name:
tmux new -s myname
| #!/usr/bin/env python | |
| # Compare a file on S3 to see if we have the latest version | |
| # If not, upload it and invalidate CloudFront | |
| import fnmatch | |
| import os | |
| import boto | |
| import pprint | |
| import re |
| #!/usr/bin/env python | |
| """Split large file into multiple pieces for upload to S3. | |
| S3 only supports 5Gb files for uploading directly, so for larger CloudBioLinux | |
| box images we need to use boto's multipart file support. | |
| This parallelizes the task over available cores using multiprocessing. | |
| Usage: | |
| s3_multipart_upload.py <file_to_transfer> <bucket_name> [<s3_key_name>] |
| # Generic build script that builds, tests, and creates nuget packages. | |
| # | |
| # INSTRUCTIONS: | |
| # Update the following project paths: | |
| # proj Path to the project file (.csproj) | |
| # test Path to the test project (.csproj) | |
| # nuspec Path to the package definition for NuGet. | |
| # | |
| # delete any of the lines if not applicable | |
| # |