Skip to content

Instantly share code, notes, and snippets.

Joe Stump joestump

Block or report user

Report or block joestump

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
@joestump
joestump / test.tf
Last active Jul 15, 2019
Trigger AWS CodePipeline with a GitHub webhook using Terraform
View test.tf
provider "aws" {}
provider "github" {}
resource "github_repository" "test" {
name = "joestump-test"
description = "Terraform test repository"
private = true
}
resource "aws_s3_bucket" "test" {
View mpa_support_access.yml
AWSTemplateFormatVersion: 2010-09-09
Description: Installs IAM role and policy to allow Support Center access to PCS's CSKAccountProvisioner production role.
Resources:
TerraformAdministratorRole:
Type: "AWS::IAM::Role"
Properties:
RoleName: PCSSupportAccessRole
MaxSessionDuration: 3600
AssumeRolePolicyDocument:
Version: "2012-10-17"
View keybase.md

Keybase proof

I hereby claim:

  • I am joestump on github.
  • I am joestump (https://keybase.io/joestump) on keybase.
  • I have a public key whose fingerprint is 2944 FAE9 2234 A26B 3E7A 5DA0 887D 2343 C10E 0455

To claim this, I am signing this object:

@joestump
joestump / deploy.sh
Last active Apr 30, 2019
Using modern JavaScript and CI tooling for Google Apps Scripts
View deploy.sh
#!/bin/bash
npm run build
gas deploy -s ./conf/$CLIENT_SECRETS -c ./conf/$OAUTH_CREDENTIALS -b ./build -f $GAS_FILE_ID
@joestump
joestump / San_Francisco.mkd
Created Feb 1, 2014
Here are two tours of San Francisco and the surrounding area. Both take about a day. One is entirely within the city and can be done entirely via public transportation. The other requires a car and gets you outside of SF to some of the wonderful sites that comprise the Yay Area.
View San_Francisco.mkd

San Francisco by Foot

  • You can start anywhere in the Castro, Mission (home of the burrito), or downtown. I'd recommend starting at Chow at Market & Church or The Pork Store on 16th at Valencia. If you wanted to go upscale on the weekend, Maverick at 17th and Mission is a fantastic brunch. Another option is to start in Chinatown (just north of Union Squre) for dim sum.
  • From Castro take one of the N, J, etc. trains (every light rail train route in the city intersects at Church and Market) down to the Powell Street station. From the Mission you can take BART a couple of stops up to Powell Street.
  • Once at Powell Street hop on the Powell Street trolley. A quintessential SF experience.
  • Take the trolley up through the city where it will eventually stop at Lombard Street, which is known as the most crooked street in the world. Walk down the hill, take a few pictures and laugh at the tourists trying to drive down the damn thing.
  • Once at the bottom of the hill, turn left. You'll be walking towards the w
View s3_transfer.py
from boto.s3.connection import S3Connection
from progressbar import Percentage, ETA, FileTransferSpeed, Bar, ProgressBar
class S3Transfer(object):
def __init__(self, aws_key, aws_secret):
self.conn = S3Connection(aws_key, aws_secret)
self.progress_bar = None
def _update_progress_bar(self, bytes_transferred, size):
@joestump
joestump / client.py
Created Sep 3, 2012
A simple JSON only Alchemy API client for Python using the requests library.
View client.py
import requests
import urllib
class AlchemyAPI(object):
BASE_URL = 'https://access.alchemyapi.com'
def __init__(self, api_key):
self.api_key = api_key
@joestump
joestump / children.json
Created Jul 26, 2012
/api/products/{product_id}/items/{item_number}/children.json
View children.json
[
{
"status": "backlog",
"product": {
"archived": false,
"id": 1,
"name": "sprint.ly"
},
"description": "Require people to estimate the score of an item before they can start working on it.",
"tags": [
@joestump
joestump / {item_number}.json
Last active Oct 7, 2015
/api/products/{product_id}/items/{item_number}.json
View {item_number}.json
{
"status": "accepted",
"product": {
"archived": false,
"id": 1,
"name": "sprint.ly"
},
"progress": {
"accepted_at": "2013-06-14T22:52:07+00:00",
"closed_at": "2013-06-14T21:53:43+00:00",
@joestump
joestump / items.json
Last active Oct 7, 2015
/api/products/{product_id}/items.json
View items.json
{
"status": "backlog",
"product": {
"archived": false,
"id": 1,
"name": "sprint.ly"
},
"description": "Require people to estimate the score of an item before they can start working on it.",
"tags": [
"scoring",
You can’t perform that action at this time.