Skip to content

Instantly share code, notes, and snippets.

Accelerating software delivery

Eddie Webb eddiewebb

Accelerating software delivery
Block or report user

Report or block eddiewebb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
heug / README
Last active Jan 14, 2020
Hautelook debug
# Hautelook experienced an outage where their services crashed overnight (no particular elevated build volume.
# They attempted a restart and received errors such as:
### - Timeout waiting for event Migrator Finished - VM Service
### - Timeout waiting for event Migrator Finished - Permissions Service
### - Timeout waiting for event Postgresql 9.4 ready-5432
# Weirdly enough, the container logs for each of those looked to be just fine. Replicated logs would show the timeout errors, however.
# Doing the Replicated dance did not fix the issue, so I had them nuke all existing images and containers and reinstall Replicated.
# Good to reassure them that no data will be destroyed through all this.
dgoeke /
Last active Mar 13, 2019
#!/usr/bin/env sh
get_user() {
RESULT=$(curl -s "$URL")
ID=$(echo "$RESULT" | sed -En 's/.*"id": ([0-9]+).*/\1/p')
NAME=$(echo "$RESULT" | sed -En 's/.*"name": "(.*)".*/\1/p')
echo "Co-authored-by: $NAME <$ID+$>"
eddiewebb /
Last active Oct 14, 2019
Download CircleCI Artifacts with directory structure
#!/usr/bin/env bash
# Download all artitacts for given build, mimicing structure locally.
# Batch size is slighly misleading, as it;s only how many URLs to attempt before momentary pause
# Can be used on CCI builds with parallelism and will only download the files for matcing index.
USAGE="$0 username/repo 123 [bitbucket] [batch_size]"
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
bradmontgomery /
Last active Jan 18, 2020
a minimal http server in python. Responds to GET, HEAD, POST requests, but will fail on anything else.
#!/usr/bin/env python
Very simple HTTP server in python (Updated for Python 3.7)
./ -h
./ -l localhost -p 8000
Send a GET request:
You can’t perform that action at this time.