Skip to content

Instantly share code, notes, and snippets.

Adrian -

I appreciate that you spent time in writing this post. I know I've been up until 2am writing similarly long ones as well. I will take responsibility for having what is likely an irrational response (I blame Twitter for that) to the term "NoOps", but I invite you to investigate why that might be. I'm certainly not the only one who feels this way, apparently, and thus far have decided this issue is easily the largest distraction in my field I've encountered in recent years. I have had the option to simply ignore my opposition to the term, and just let the chips fall where they may with how popular the term "NoOps" may or may not get. I have obviously not taken that option in the past, but I plan to in the future.

You're not an analyst saying "NoOps". Analysts are easy (for me) to ignore, because they're not practitioners. We have expectations of engineering maturity from practitioners in this field of web engineering, especially those we consider leaders. I don't have any expectations from analysts,

#!/bin/bash
brew_command=/usr/local/bin/brew
brew_cask_command="$brew_command cask"
echo '#!/bin/bash'
echo ''
echo 'trap ctrl_c INT'
echo 'function ctrl_c() {'
echo 'echo "** Trapped CTRL-C"'
@EntropyWorks
EntropyWorks / .bash_ssh_alias
Created August 18, 2016 19:17
Managing my ~/.ssh/config
_verify_sshconfig(){
# Using GnuPG to verify my ~/.ssh/config
#
# In ~/.ssh/config.d/ create your ssh config like this
#
# 00-header.cfg
# 05-work.cfg
# ...
# 20-other.cfg
# 99-defaults.cfg
#!ipxe
set redacted-version 2016-04-20.v01
set domain-name host.example.net
set base-url http://x.x.x.x
prompt --key 0x02 --timeout 2000 Press Ctrl-B for the iPXE command line... && shell ||
:retry
ifconf -c dhcp || goto retry
@EntropyWorks
EntropyWorks / kraken-local problem
Created May 13, 2016 20:33
Plugin version issue with Kraken?
TASK [kraken-local : Terraform apply] ******************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "cd /tmp/testing-kraken && terraform apply -input=false -state=terraform/local/test-cluster/terraform.tfstate -var-file=terraform/local/test-cluster/terraform.tfvars terraform/local", "delta": "0:00:00.081204", "end": "2016-05-13 13:28:42.976686", "failed": true, "rc": 1, "start": "2016-05-13 13:28:42.895482", "stderr": "\u001b[31mErrors:\n\u001b[0m\u001b[0m\n\u001b[31m * Incompatible API version with plugin. Plugin version: 1, Ours: 2\u001b[0m\u001b[0m", "stdout": "There are warnings and/or errors related to your configuration. Please\nfix these before continuing.", "stdout_lines": ["There are warnings and/or errors related to your configuration. Please", "fix these before continuing."], "warnings": []}
cmd: cd /tmp/testing-kraken && terraform apply -input=false -state=terraform/local/test-cluster/terraform.tfstate -var-file=terraform/local/test-cluster/terraform.tfvars t
@EntropyWorks
EntropyWorks / trying-to-ssh-in.log
Created May 13, 2016 00:02
Some Kraken issues with vagrant when run on a local machine instead of in AWS
yazz@kraken:~/kraken/terraform/local$ vagrant global-status
id name provider state directory
---------------------------------------------------------------------------------
a86df0f etcd virtualbox running /opt/kraken/terraform/local
52be29e master virtualbox running /opt/kraken/terraform/local
900bed6 apiserver-001 virtualbox running /opt/kraken/terraform/local
a4d7427 node-001 virtualbox running /opt/kraken/terraform/local
ed142a4 node-002 virtualbox running /opt/kraken/terraform/local
9b514ab node-003 virtualbox running /opt/kraken/terraform/local
@EntropyWorks
EntropyWorks / virt-addr.sh
Created May 2, 2016 19:40 — forked from kevteljeur/virt-addr.sh
Get a KVM guest's IP address
#!/bin/bash
# Returns the IP address of a running KVM guest VM
# Assumes a working KVM/libvirt environment
#
# Install:
# Add this bash function to your ~/.bashrc and `source ~/.bashrc`.
# Usage:
# $ virt-addr vm-name
# 192.0.2.16
#
@EntropyWorks
EntropyWorks / backup-github.sh
Created March 31, 2016 18:03 — forked from rodw/backup-github.sh
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
# NOTE: if you have more than 100 repositories, you'll need to step thru the list of repos
# returned by GitHub one page at a time, as described at https://gist.github.com/darktim/5582423
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up
# (if you're backing up a user's repos instead, this should be your GitHub username)
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API)
cores_nodes:
- { serial: "2M251101N6", hostname: "sl2500-01-node01" }
- { serial: "2M251101N7", hostname: "sl2500-01-node02" }
@EntropyWorks
EntropyWorks / output-01.txt
Created March 26, 2016 03:48
working on kraken-local
yazz@kraken:~/kraken/ansible$ ansible-playbook --connection=local kraken-local-apply.as --sudo --ask-sudo-pass
SUDO password:
PLAY [apply kraken locally] ****************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [kraken-local : Figure out localhost Operating System"] *******************
ok: [localhost]