Encrypts a file using OpenSSL. Requires ENC_PASS set and INSECURE pointing to the absolute path of the insecure file to encrypt.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
from datetime import timedelta, datetime, tzinfo | |
# Taken from http://stackoverflow.com/questions/6558535/python-find-the-date-for-the-first-monday-after-a-given-a-date | |
def next_weekday(d, weekday): | |
days_ahead = weekday - d.weekday() | |
if days_ahead <= 0: # Target day already happened this week | |
days_ahead += 7 | |
return d + timedelta(days_ahead) | |
class USEastern(tzinfo): |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
docker-machine create --driver generic
This file contains 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 | |
# Fix network routing issues caused by Cisco AnyConnect VPN when using | |
# VirtualBox and boot2docker on Mac OS X. | |
# | |
# Environment: | |
# Mac OS X 10.9.5 | |
# VirtualBox 4.3.20 | |
# Cisco AnyConnect 3.1.04074 | |
# boot2docker v1.4.1 (Git commit: 43241cb) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.