This file contains hidden or 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
| irb(main):001:0> require 'bunny' | |
| => true | |
| irb(main):002:0> c = Bunny.new | |
| => #<Bunny::Session:0x007f7074461e00 @default_hosts_shuffle_strategy=#<Proc:0x007f7074461ce8@/usr/local/lib/ruby/gems/2.0.0/gems/bunny-1.7.0/lib/bunny/session.rb:137>, @opts={}, @hosts=["127.0.0.1"], @host_index=1, @port=5672, @user="guest", @pass="guest", @vhost="/", @logfile=#<IO:<STDOUT>>, @threaded=true, @logger=#<Logger:0x007f7074461b30 @progname="#<Bunny::Session:70060481908480 guest@127.0.0.1:5672, vhost=/, hosts=[127.0.0.1]>", @level=2, @default_formatter=#<Logger::Formatter:0x007f7074461a90 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x007f7074461a18 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDOUT>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007f70744619f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007f7074461978>>>>, @automatically_recover=true, @network_recovery_interval=5.0, @recover_from_connection_close=false, @continuation_timeout=4000, @status=:not_connected, @blocked=fal |
This file contains hidden or 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
| class Dashing.Pie extends Dashing.Widget | |
| @accessor 'value' | |
| onData: (data) -> | |
| @render(data.value) | |
| render: (data) -> | |
| if(!data) | |
| data = @get("value") | |
| if(!data) |
This file contains hidden or 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
| #!/bin/bash | |
| # User Data Script for Bootstrapping Lab - Architecting on AWS : Advanced Concepts | |
| # Enable EPEL Repo | |
| # This step is using sed, a standard Linux stream editor, to change the value of one line in a configuration file | |
| # Reference: http://www.gnu.org/software/sed/manual/sed.html | |
| /bin/sed -i '0,/enabled\=0/{s/0/1/}' /etc/yum.repos.d/epel.repo | |
| # Install PHPMyAdmin | |
| # This step is using yum, the Amazon Linux package manager, to install PHPMyAdmin and all of its components |
NewerOlder