View stopinator.rb
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
def ec2 | |
Fog::Compute.new(:provider => 'AWS', | |
:aws_secret_access_key => ENV['EC2_SECRET_KEY'], | |
:aws_access_key_id => ENV['EC2_ACCESS_KEY']) | |
end | |
def tenured? (instance) | |
instance.created_at && (instance.created_at < Chronic.parse('50 minutes ago')) | |
end |
View gist:5249306
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
➜ datadog berks -v | |
Berkshelf (1.3.1) | |
Author:: Jamie Winsor (<reset@riotgames.com>) | |
Author:: Josiah Kiehl (<jkiehl@riotgames.com>) | |
Author:: Michael Ivey (<michael.ivey@riotgames.com>) | |
Author:: Justin Campbell (<justin.campbell@riotgames.com>) | |
Copyright 2012 Riot Games |
View gist:4662299
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
➜ ~ git clone git://github.com/blueboxgroup/razor-vagrant-lab.git 2357 | |
Cloning into 'razor-vagrant-lab'... | |
remote: Counting objects: 257, done. | |
remote: Compressing objects: 100% (120/120), done. | |
remote: Total 257 (delta 137), reused 231 (delta 111) | |
Receiving objects: 100% (257/257), 36.79 KiB, done. | |
Resolving deltas: 100% (137/137), done. | |
➜ ~ cd razor-vagrant-lab 2359 | |
direnv: loading ~/razor-vagrant-lab/.envrc | |
➜ razor-vagrant-lab git:(master) VBoxManage dhcpserver remove --netname vboxnet0 2360 |
NewerOlder