Skip to content

Instantly share code, notes, and snippets.

View thomasv314's full-sized avatar

Thomas Vendetta thomasv314

View GitHub Profile
### Keybase proof
I hereby claim:
* I am thomasv314 on github.
* I am vendetta (https://keybase.io/vendetta) on keybase.
* I have a public key ASDKtr6vos3dFvA3NhT9jEwoAT91qJfOLs4eS2t-Xdyh5Qo
To claim this, I am signing this object:
@thomasv314
thomasv314 / aws_glue_catalog_table recreate err.txt
Created April 3, 2019 16:10
aws_glue_catalog_table recreate err
aws_glue_catalog_database.aws_glue_catalog_database: Refreshing state... (ID: XXXXXXXXXX:TvendettaMyCatalogDatabase)
aws_glue_catalog_table.aws_glue_catalog_table: Refreshing state... (ID: XXXXXXXXXX:TvendettaMyCatalogDatabase:MyCatalogTable)
Error: Error refreshing state: 1 error(s) occurred:
* aws_glue_catalog_table.aws_glue_catalog_table: 1 error(s) occurred:
* aws_glue_catalog_table.aws_glue_catalog_table: aws_glue_catalog_table.aws_glue_catalog_table: Error reading Glue Catalog Table: EntityNotFoundException: Table mycatalogtable not found.
status code: 400, request id: xxx
{ "foo": "bar" }

Hi everyone, I'm Chris Wanstrath.

When Jeremy asked me to come talk, I said yes. Hell yes. Immediately. But then I took a few moments and thought, Wait, why? Why me? What am I supposed to say that's interesting? Something about Ruby, perhaps. Maybe the future of it. The future of something, at least. That sounds keynote-y.

name team list
thomas cloudeng foo,bar,etc
travis data abc,def,ghi
# prefix + r to source config
unbind r
bind r source-file ~/.tmux.conf
# Mouse mode
set-option -g mouse on
# address vim mode switching delay (http://superuser.com/a/252717/65504)
set -s escape-time 0
#!/bin/bash
instance_id=$(curl http://169.254.169.254/latest/meta-data/instance-id)
echo "$instance_id-server" > /etc/hostname
hostname -F /etc/hostname
#!/bin/bash
SQUID_DOCKER_IMAGE="sameersbn/squid"
SQUID_DOCKER_VERSION="3.3.8-23"
SQUID_DOCKER_FQN="$SQUID_DOCKER_IMAGE:$SQUID_DOCKER_VERSION"
CONTAINER_NAME="squid"
function pull_image_if_missing() {
docker inspect $SQUID_DOCKER_FQN &> /dev/null
image_exists=$?
#!/usr/bin/python
# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Amazon Software License (the "License"). You may not use
# this file except in compliance with the License. A copy of the License is
# located at http://aws.amazon.com/asl/ or in the "license" file accompanying
# this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.