This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace My\Exception; | |
use Exception; | |
use ReflectionProperty; | |
/** | |
* Fluent cq chaining setter methods for an Exception class. | |
* To set or modify an Exception's properties after construction. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#source: https://gist.github.com/heywbj/da10d99f66df6361db9f | |
import boto.utils | |
import boto.beanstalk | |
good_statuses = ('Launching', 'Updating', 'Ready') | |
def get_eb_environment_description(): | |
identity_document = boto.utils.get_instance_identity()['document'] |