2016-12-11

Feelings Thermometer

I didn't like the Feelings Thermometer worksheet my therapist was using so I created my own. Here it is for your use (CC BY-SA 4.0).

2015-10-03

Emotional Labor

I recently read an amazing document. It was a digest of a message thread about Emotional Labor. Before I was done I knew I wanted to share it with everyone I cared about. To that end I collaborated with the creator of the digest to update the formatting of the document. I hope the result is very easy and comfortable (formatting-wise) to read. Please check it out: Emotional Labor: The MetaFilter Thread Condensed [PDF]

2015-02-24

Apple and Ubuntu OpenSSH Versions

Apple macOS / OS X

OS VersionOpenSSH VersionLibrary Version
10.13 High Sierra7.5p1LibreSSL 2.5.4
10.12 Sierra7.2p2LibreSSL 2.4.1
10.11 El Capitan6.9p1LibreSSL 2.1.8
10.10 Yosemite6.2p2OSSLShim 0.9.8r 8 Dec 2011
10.9 Mavericks6.2p2OSSLShim 0.9.8r 8 Dec 2011
10.8 Mountain Lion5.9p1OpenSSL 0.9.8zc 15 Oct 2014
10.7 Lion5.6OpenSSL 0.9.8za 5 Jun 2014
10.6 Snow Leopard5.5p1OpenSSL 0.9.8l 5 Nov 2009
10.5 Leopard5.1p1OpenSSL 0.9.7l 28 Sep 2006

Ubuntu LTS

OS VersionOpenSSH VersionLibrary Version
16.04 Xenial7.2p2OpenSSL 1.0.2g-fips 1 Mar 2016
14.04 Trusty6.6p1OpenSSL 1.0.1f 6 Jan 2014
12.04 Precise5.9p1OpenSSL 1.0.1 14 Mar 2012
10.04 Lucid5.3p1OpenSSL 0.9.8k 25 Mar 2009
 8.04 Hardy4.7p2

2015-01-08

SSH on iOS is abysmal

Application Summaries

I'm sorry if you're a SysAdmin with an iOS device. Have some bad news:

iSSH

  • Version: 5.7.1
  • Two factor: Yes!
  • ProxyCommand: No
  • Additional Issues:
    • too-large fonts (even at their smallest, display is less than 80 characters)

Prompt 2

  • Version: 2.0.3
  • Two Factor: No
    • shitty custom prompts that make two factor authentication all but impossible
  • ProxyCommand: No

Serverauditor

  • Version: 1.5.4
  • Two Factor: No
  • ProxyCommand: No
  • Additional Issues:
    • does not support xterm-256color


Why it matters


Two Factor authentication

Two factor authentication significantly increases security. This is especially important in a platform (phones and tablets) that are so easy to misplace.


ProxyCommand

ProxyCommand is a SSH option that allows the easy use of bastion hosts. Making increased security easier is a huge win. For an example, see cmc: Workflow.

2014-11-03

Color Coded iTerm2 Windows

As a systems administrator, I often have many many terminal windows open. To help ensure I am fully aware of which of them are on Production hosts, I color code them.

I have finally taken that bit of helpful code and made it as easy for you, dear reader, to use: TimZehta/painted-iterm.


Some of the neat things I learned about during the course of this project:

  • 256 terminal colors
  • Bash
    • PROMPT_COMMAND
    • clean/simple way to remove leading zeros
  • SSH LocalCommand



2014-04-02

Star Wars: Edge of the Empire Dice Probabilities

Overview

Each of the graphs below was created by simulating 100,000 dice rolls for each die in each graph (400,000 to 900,000 rolls per graph and 6,000,000 total rolls). The work was inspired by A Treatise on Different Dice-rolling Mechanics in RPGs. The graphs were created using TimZehta/rpgdice · GitHub.

Graphs

The 2nd line of the title is an attempt to describe the dice simulated. They are shown in the top left corner of the graph.

While Despair and Triumph do not cancel each other out, Despair is graphed to the left of zero to maintain its sinister meaning.

Probabilties below 0.5% were discarded.









2014-03-31

Troubleshooting collectd / statsd / Graphite

Troubleshooting Graphite can be a bother. Determining where a problem lies requires verification of the data at all of the points of communication. The best tool I've found for this is ngrep:

sudo ngrep -lqd any ping tcp dst port 2003


The following one-line command finds ping metrics submitted over TCP to Graphite and highlights them using grep:

match='ping'; sudo ngrep -lqd any "${match}" tcp dst port 2003 | grep -E --line-buffered --color=tty "${match}"


Changing the protocol and port allows easy inspection of metrics sent to a statsd listener, from carbon-aggregator to carbon-cache, etc.

See the man page for more information: