Skip to content

Instantly share code, notes, and snippets.

View ahonnecke's full-sized avatar

Ashton Honnecke ahonnecke

View GitHub Profile
@ahonnecke
ahonnecke / multihooks.py
Created July 17, 2018 17:34 — forked from carlos-jenkins/multihooks.py
Delegating script for multiple git hooks
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2015-2017 Carlos Jenkins <carlos@jenkins.co.cr>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@ahonnecke
ahonnecke / ec2-printconfig.py
Created June 23, 2017 16:45 — forked from ttddyy/ec2-printconfig.py
a python script to display ec2 name and ip address as ssh-config or hosts file.
#! /usr/bin/env python
import argparse
import os
import sys
import boto.ec2
def parse_args():