View aws-network-troubleshooting.md

Check a route path:

Start a container in --net=routed mode:

sudo docker run --rm -it --net=routed --ip-address=10.241.9.10 centos

vethrb31af40 = container network interface obtained from ip route output.

View react-unexpected-use-of-location.md
React: Unexpected use of 'location';

Solution: Use window.location instead of bare location.

View zookeeper-cleaner.sh
#!/usr/bin/env bash
##
# Useful reference and documentation material:
#
# https://zookeeper.apache.org/doc/r3.3.2/zookeeperAdmin.html#Ongoing+Data+Directory+Cleanup
set -o errexit
set -o pipefail
set -o nounset
View thrift-configure-mac-osx-20170504.md
View gitmodules-sorter.md
View chromium_socks5_sslnovalidate.md

First, download and install chromium (because running a browser with SSL verification turned off is insecure -- only use this browser for accessing mesos).

open -a /Applications/Chromium.app \
    --args \
    --proxy-server=socks5://127.0.0.1:9999 \
    --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE 127.0.0.1" \
    --ignore-certificate-errors
View gist:258143c1eedfc72322bcadc117f362e6
```bash
open -a /Applications/Chromium.app \--args --proxy-server=socks5://127.0.0.1:9999 --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE 127.0.0.1" --ignore-certificate-errors
```
View sublime-text-3-six-vim-emulator-error-log.txt
Package Control: Skipping automatic upgrade, last run at 2017-04-30 10:47:10, next run at 2017-04-30 11:47:10 or after
2017-04-30 10:54:08,364 - Six.lib.command_state - CRITICAL - Unexpected error.
2017-04-30 10:54:08,364 - Six.lib.command_state - ERROR - 'NoneType' object has no attribute 'reset'
2017-04-30 10:54:08,364 - Six.lib.command_state - INFO - Trying to reenter Normal mode...
2017-04-30 10:54:08,365 - Six.lib.command_state - INFO - Reentered Normal mode.
View main.go
package main
// This is a cleaned up version of the code found in:
//
// https://medium.com/@chughtapan/running-wireshark-on-docker-ac90ebc4907b
//
// Added:
// - Container ID passed as command-line argument
// - Error handling
View mac-osx-disable-ssl-verification.sh
# Found a solution for the SSL issues, download and extract Portable Chromium from
# https://sourceforge.net/projects/osxportableapps/files/Chromium/
#
# e.g.
curl -L -o Chromium_OSX_57.0.2987.110.dmg 'https://downloads.sourceforge.net/project/osxportableapps/Chromium/Chromium_OSX_57.0.2987.110.dmg?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fosxportableapps%2Ffiles%2FChromium%2F&ts=1490809215&use_mirror=pilotfiber'
# then open your socks5 proxy on port 9999 and run:
# (as per https://www.chromium.org/developers/design-documents/network-stack/socks-proxy)
open -a ~/Downloads/Chromium.app \