Skip to content

Instantly share code, notes, and snippets.

View amerdidit's full-sized avatar

Amer amerdidit

  • Liv Longevity Labs
  • Germany
  • 13:16 (UTC +02:00)
  • LinkedIn in/amerhamzeh
View GitHub Profile
@amerdidit
amerdidit / create_koken.sh
Last active August 29, 2015 14:26 — forked from bradleyboy/create_koken.sh
Docker script for Koken
#!/bin/bash
echo ""
# Root check
if [[ "$UID" -ne 0 ]]; then
echo "!! This script requires root privileges. sudo ./create_koken.sh"
echo ""
exit
fi
@amerdidit
amerdidit / aws-instances.py
Created September 2, 2016 09:02 — forked from otype/aws-instances.py
Python wrapper generating table of EC2 instances
#!/usr/bin/env python
#
# aws-instances.py
#
# A simple Python script that wraps the AWS CLI (https://aws.amazon.com/cli/)
# and generates a table view of instantiated EC2 instances running on AWS.
#
import json
import subprocess
import sys