Skip to content

Instantly share code, notes, and snippets.

View teambob's full-sized avatar

teambob

View GitHub Profile
@teambob
teambob / list-cloudfornation-stack-outputs
Last active June 22, 2017 07:56 — forked from amosshapira/list-cloudfornation-stack-outputs
list outputs of a CloudFormation stack in plain text format, one Output per line.
# list outputs of a CloudFormation stack in plain text format
# one output per line suitable for use in config files or bash file inclusion.
# To describe all stacks, leave out the --stack option
aws cloudformation describe-stacks \
--stack STACK_NAME \
--query 'Stacks[*].Outputs[*].[OutputKey,OutputValue]' \
--output text |tr '\t' =
@bjoern-r
bjoern-r / Huawei_E3372_openwrt.md
Last active November 15, 2024 08:20
How to use a Huawei E3372 on OpenWRT

HOWTO use a Huawei E3372 on OpenWRT

This modem is also sold as a MegaFon M150-2 USB dongle

Needed Software

Install the needed packages via opkg tool

opkg update
@ttddyy
ttddyy / ec2-printconfig.py
Created December 12, 2012 01:40
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():