Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
require 'rubygems' | |
require 'yaml' | |
# A demonstration of YAML anchors, references and handling of nested values | |
# For more info, see: | |
# http://atechie.net/2009/07/merging-hashes-in-yaml-conf-files/ | |
stooges = YAML::load( File.read('stooges.yml') ) | |
# => { | |
# "default" => { |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
[ req ] | |
distinguished_name = req_distinguished_name | |
req_extensions = server_req_extensions | |
prompt = no | |
[ req_distinguished_name ] | |
C = <Your country> # Only 2 characters | |
ST = <Your state> # Only 2 characters | |
L = <Your city> | |
O = <Your org> |
##### Commands to generate SSL certs/artifcts | |
# Download the temp.cnf file using the wget command below | |
# Edit temp.cnf and add your information | |
# Run the uncommented out commands to generate a self-signed cert (cert.pem) and private key (keyfile.pem) | |
wget https://gist.githubusercontent.com/dwallraff/c1ed31291ac7cf19304b/raw/e06feacbb85ac63659e6c1c40c70d5481522b390/temp.cnf | |
# Generate a new keyfile. A 2048 bit key size is TOTALLY fine. Jack it up to 4096 and wait if you must... | |
openssl genrsa -out keyfile.key 2048 |
BOSH is a powerful tool to install and manage your deployments. You can find docs on https://bosh.io/docs. Consider using bosh-init
tool to install to a cloud of your choice MicroBOSH instance (MicroBOSH is a single VM BOSH installation, it has everything that you need to deploy and manage).
BOSH command line interface is implemented as a ruby gem and can be run on every platform that supports ruby, you'll need to have ruby 2.1.x or higher to run it. To install it you can run gem install bosh_cli
and gem update bosh_cli
to update to a newer version.
#!/bin/bash | |
set -eu | |
if [ -n "${STDOUT:-}" ] ; then | |
exec 1>$STDOUT | |
fi | |
manifest="${1:-$0.jq}" | |
manifest_dir=$( cd "$( dirname "$manifest" )" && pwd ) |
Principles of Adult Behavior
# Install gnupg2 and gnupg-agent | |
$ sudo apt-get install gnupg2 gnupg-agent rng-tools | |
# Make sure you have gpg2 2.1.11 (gpg2 --version) | |
# Create entropy for key generation | |
$ sudo rngd -r /dev/urandom | |
2017.03.29
These demos are validated against: