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
| # Create EC2 instance, EBS alarms for all resources in a region | |
| import os | |
| import boto3 | |
| # SNS Topic Definition for EC2, EBS | |
| instance_ids = os.environ.get('INSTANCE_ID').split('#') | |
| ec2_sns = os.environ.get('SNS_TOPIC_ARN') # arn:aws:sns:ca-central-1:476697408772:cloudwatch-monitoring | |
| ebs_sns = os.environ.get('SNS_TOPIC_ARN') # arn:aws:sns:ca-central-1:476697408772:cloudwatch-monitoring | |
| # AWS Account and Region Definition for Reboot Actions |
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
| import PhotoScan | |
| from time import time | |
| # wget https://www.dropbox.com/s/hh5yg0fmpr4bpn3/benchmarking_1.3.zip | |
| # unzip benchmarking_1.3.zip | |
| project = "benchmark2.psz" | |
| PhotoScan.app.gpu_mask = (2 ** 16) - 1 | |
| PhotoScan.app.cpu_enable = False |
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
| #!/usr/bin/env bash | |
| # | |
| # Bootstrap script for setting up a new OSX machine | |
| # | |
| # This should be idempotent so it can be run multiple times. | |
| # | |
| # Some apps don't have a cask and so still need to be installed by hand. These | |
| # include: | |
| # | |
| # - Twitter (app 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
| # Instructions for 4.13 and cuda 9.0 RC | |
| # If upgrading from 4.11 and cuda 8.0 | |
| $ sudo apt-get purge --auto-remove libcud* | |
| $ sudo apt-get purge --auto-remove cuda* | |
| $ sudo apt-get purge --auto-remove nvidia* | |
| # also remove the container directory direcotory at /usr/local/cuda-8.0/ | |
| # Install Intel Graphics Patch Firmwares (This should reboot your system): | |
| bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)" |