In terminal:
heroku addons:add newrelic:standard
Add this gem to your Gemfile: gem 'newrelic_rpm'
| モルト | |
| 2-ROW 10,400g | |
| WHEAT MALT 3,900g | |
| ホップ | |
| 1st | |
| チヌーク 15g | |
| 3rd | |
| ストリアンゴールディング 30g | |
| カスケード 25g |
| provides 'opsworks' | |
| require 'mixlib/shellout' | |
| require 'json' | |
| unless opsworks | |
| opsworks Mash.new | |
| cmd = Mixlib::ShellOut.new("opsworks-agent-cli stack_state") |
| require 'rubygems' | |
| require 'syslog-logger' | |
| log_level :info | |
| Logger::Syslog.class_eval do | |
| attr_accessor :sync, :formatter | |
| end | |
| log_location Logger::Syslog.new("chef-client") |
| #!/bin/pseudo-bash | |
| # Read through this and modify to taste. | |
| # Tested on: | |
| # dataset_uuid: c36a3d28-80c2-11e1-9ec6-df5bd8b43f76 | |
| # sdc:sdc:smartosplus:3.2.0 | |
| mkdir /data | |
| useradd -d /data dev | |
| groupadd dev | |
| cd /data |
In terminal:
heroku addons:add newrelic:standard
Add this gem to your Gemfile: gem 'newrelic_rpm'
| -- Preview the currently active BBEdit document using Marked. | |
| tell application "BBEdit" | |
| activate | |
| -- Ask BBEdit for it's active document. | |
| set the_document to active document of text window 1 | |
| -- If the file doesn't alreay exist, ask the user to save it. | |
| if not the_document's on disk then | |
| save the_document |
| # Knife Configuration File. | |
| # | |
| # This is a Ruby DSL to set configuration parameters for Knife's | |
| # general options. The default location for this file is | |
| # ~/.chef/knife.rb. If multiple Chef repositories are used, | |
| # per-repository configuration files can be created. A per repository | |
| # configuration file must be .chef/knife.rb in the base directory of | |
| # the Chef repository. For example, | |
| # | |
| # ~/Development/chef-repo/.chef/knife.rb |
| worker_processes 1; | |
| error_log /dev/stderr debug; | |
| events { | |
| worker_connections 256; | |
| } | |
| http { | |
| server { |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |