Skip to content

Instantly share code, notes, and snippets.

View rosenhouse's full-sized avatar

Gabe Rosenhouse rosenhouse

View GitHub Profile
@rosenhouse
rosenhouse / dd.py
Created May 14, 2014 06:47 — forked from hikoz/dd.py
#!/usr/bin/env python
import sys
import time
import signal
from subprocess import Popen, PIPE
dd = Popen(['dd'] + sys.argv[1:], stderr=PIPE)
while dd.poll() is None:
time.sleep(.3)
dd.send_signal(signal.SIGUSR1)
#!/bin/sh
#
# Adam Sharp
# Aug 21, 2013
#
# Usage: Add it to your PATH and `git remove-submodule path/to/submodule`.
#
# Does the inverse of `git submodule add`:
# 1) `deinit` the submodule
# 2) Remove the submodule from the index and working directory
"""
Exports Issues from a specified repository to a CSV file
Uses OAuth2 tokens (https://developer.github.com/v3/#authentication) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
"""
import csv
import requests
GITHUB_TOKEN=''
@rosenhouse
rosenhouse / setup.md
Last active February 18, 2018 23:26 — forked from angelachin/setup.md
Exploring Istio on Minikube

install required tools

brew install kubectl
brew cask reinstall minikube

note the reinstall so that you get the latest version

@rosenhouse
rosenhouse / envoy_fr.md
Last active March 28, 2018 19:03 — forked from jvshahid/envoy_fr.md
Envoy feature request

TITLE: Feature request: Would like a way to refuse subsequent TCP connections while allowing current connections enough time to drain

summary

This feature request was originally opened as envoyproxy/envoy#2920, but was too specific about the implementation. This issue updates the title and content to clarify the goals and be flexible about the implementation.

Given I've configured Envoy with LDS serving a TCP proxy listener on some port and there are connections in flight I would like a way to refuse subsequent TCP connections to that port while allowing current established connections to drain