Skip to content

Instantly share code, notes, and snippets.

View amerdidit's full-sized avatar

Amer amerdidit

  • Liv Longevity Labs
  • Germany
  • 09:29 (UTC +02:00)
  • LinkedIn in/amerhamzeh
View GitHub Profile
@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
@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
/home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/event_loop.rb:118: [BUG] object allocation during garbage collection phase
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0014 p:---- s:0050 e:000049 CFUNC :select
c:0013 p:0036 s:0043 e:000042 METHOD /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/event_loop.rb:118
c:0012 p:0013 s:0037 e:000036 METHOD /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/event_loop.rb:104
c:0011 p:0036 s:0031 e:000030 METHOD /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/event_loop.rb:99
c:0010 p:0163 s:0028 E:000500 METHOD /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/agent.rb:656
c:0009 p:0023 s:0025 e:000024 BLOCK /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/ag