View thrift-configure-mac-osx-20170504.md
View gitmodules-sorter.md
View chromium_socks5_sslnovalidate.md
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 \
View docker-copy-into-running-container.sh
#!/bin/bash
set -o errexit
set -o pipefail
set -o nounset
cmd=nc ; cid=4fd9addc9980 ; base64 < $(command -v $cmd) > /tmp/b64 && sudo docker exec -i $cid bash -c "set -e && base64 --decode > /tmp/$cmd && chmod a+x /tmp/$cmd" < /tmp/b64 && sudo docker exec -it $cid bash
View Makefile
################################################################################
# Golang automatic Makefile #
################################################################################
##
#
# @author Jay Taylor <jay@gigawatt.io>
#
# @date 2015-05-20
#
View aws-ec2-ubuntu-16.04-xenial-latest-ami-id-finder.sh
#!/usr/bin/env bash
##
# Description
#
# AWS EC2 AMI-ID finder for Ubuntu 16.04 Xenial.
#
set -o errexit
set -o pipefail