- Understand and reduce manageable risks
- Prepare for problems and quickly recover from harm
- Adapt our practices based on the changing context
- Obfuscation & opacity
- Scales poorly
- Causes harm
| #!/bin/bash -e | |
| # | |
| # Improved backup script for Ubiquiti UniFi controller | |
| # original source: http://wiki.ubnt.com/UniFi#Automated_Backup | |
| # | |
| # must contain: | |
| # username=<username> | |
| # password=<password> | |
| source ~/.unifi-backup |
| #!/usr/bin/env ruby | |
| # Add your gems here | |
| # | |
| gemfile_contents = <<-EOF | |
| source "http://rubygems.org" | |
| gem "fog" | |
| gem "yajl-ruby" | |
| EOF |
| from selenium.common.exceptions import NoSuchElementException, TimeoutException, WebDriverException | |
| class SeleniumPage(object): | |
| driver = None | |
| waiter = None | |
| def open_page(self, url): | |
| self.driver.get(url) |