I hereby claim:
- I am v6 on github.
- I am cx (https://keybase.io/cx) on keybase.
- I have a public key whose fingerprint is CAF6 7506 C529 5624 CF6E 0C76 E183 23D2 1627 70CA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Nathan's Backup function. | |
# It's best to create backup files by moving the original file aside to its new name with mv and the ncopying it back to its original name. | |
# cp -p preserves original file's set attributes. | |
# mv and cp -p preserve the original file's settings like the time it was created and modified. | |
# Also, be advised, processes might have an open reference to the original file. This process will not cause them errors. Be aware of this, if you are expecting errors from those files. | |
# This defines a backup bash function bakmvcp that timestamps a new file name and does the switch for you. | |
function bakmvcp () { | |
newname=$1.`date +%Y%m%d.%H%M.bak`; | |
mv $1 $newname; | |
echo "Backed up $1 to $newname."; |
vagrant-cluster $ vagrant up | |
Bringing machine 'n1' up with 'virtualbox' provider... | |
Bringing machine 'n2' up with 'virtualbox' provider... | |
==> n1: Importing base box 'debian/jessie64'... | |
==> n1: Matching MAC address for NAT networking... | |
==> n1: Checking if box 'debian/jessie64' is up to date... | |
==> n1: Setting the name of the VM: vagrant-cluster_n1_1486692101958_9874 | |
==> n1: Clearing any previously set network interfaces... | |
==> n1: Preparing network interfaces based on configuration... | |
n1: Adapter 1: nat |
# install ruby, rubygems and all requirements, then install FPM (effing package manager) | |
# fpm: https://github.com/jordansissel/fpm | |
# as root | |
# update system, install requirements | |
yum update -y | |
yum install ruby-devel gcc curl libyaml-devel | |
# get the ruby version manager and install | |
curl -L get.rvm.io | bash -s stable |
[Unit] | |
Description=BCoin server | |
After=network.target auditd.service | |
[Service] | |
User=root | |
ExecStart=/home/bcoin/bcoin/bin/bcoin --network "testnet" --nodes "seed.tbtc.petertodd.org,testnet-seed.bluematt.me,testnet-seed.bitcoin.schildbach.de" --host "\'::\'" --public-host 104.197.196.156 | |
Type=simple | |
RestartSec=60 | |
Restart=on-failure |
[Unit] | |
Description=BCoin server | |
After=network.target auditd.service | |
[Service] | |
User=root | |
ExecStart=/home/bcoin/bcoin/bin/bcoin --network "testnet" --nodes "seed.tbtc.petertodd.org,testnet-seed.bluematt.me,testnet-seed.bitcoin.schildbach.de" --host "\'::\'" --public-host 104.197.196.156 | |
Type=simple | |
RestartSec=60 | |
Restart=on-failure |
#!/bin/python3 | |
import random | |
print("Hello?") | |
nouns = ["plane", "planar coefficients", "structure", "disphrenials", "altcurve", "discontinuity", "conjecture", "aliter", "transport of structure", "isomorphism", "algebraic system"] | |
adjectives = ["argand", "Euler", "Eilenberg", "arbitrarily prime", "coprime", "genefinite", "modulo out by", "well-defined", "sufficiently nice"] |
After I installed Vagrant from http://vagrantup.com/downloads.html, I used the following set of commands to make a Vagrant environment for testing Vault:
mkdir -p ~/proj/vaulttest/ ; cd ~/proj/vaulttest/ ; vagrant init ubuntu/bionic64 ; vagrant up && vagrant ssh
After this, I checked to make sure I was on vagrant by looking at my command prompt for vagrant
, and installed vault in my Vagrant machine:
wget https://releases.hashicorp.com/vault/0.10.1/vault_0.10.1_linux_amd64.zip && ls && sudo apt-get install -y unzip && unzip vault_0.10.1_linux_amd64.zip && sudo mv vault /usr/local/bin/vault && vault -h
#!/usr/bin/env bash | |
## tr -d '\n' | | |
## | |
## Behold. | |
## | |
## ______ _____ _ _ _____ _ ______ | |
## | ___ \ ___| | | | _ | | | _ \ | |
## | |_/ / |__ | |_| | | | | | | | | | | |
## | ___ \ __|| _ | | | | | | | | | | |
## | |_/ / |___| | | \ \_/ / |___| |/ / |
After I installed Vagrant from http://vagrantup.com/downloads.html, I used the following set of commands to make a Vagrant environment for testing Vault:
mkdir -p ~/proj/vaulttest/ ; cd ~/proj/vaulttest/ ; vagrant init bento/centos-7.5 ; vagrant up && vagrant ssh
After this, I checked to make sure I was on vagrant by looking at my command prompt for vagrant
, and installed vault in my Vagrant machine:
wget https://releases.hashicorp.com/vault/0.10.1/vault_0.10.4_linux_amd64.zip && ls && sudo yum install -y unzip && unzip vault_0.10.4_linux_amd64.zip && sudo mv vault /usr/local/bin/vault && vault -h