I hereby claim:
- I am pmenglund on github.
- I am pmenglund (https://keybase.io/pmenglund) on keybase.
- I have a public key ASCSGLlZ8XJDQsST1ixqtpqE1B6aFbP2RBF72Mvg-8COcQo
To claim this, I am signing this object:
| When /^I connect to smtp on (.+)$/ do |server| | |
| @smtp = Net::SMTP.start(server, 25) | |
| end | |
| When /^the sender is (\S+)$/ do |from| | |
| @from = from | |
| end | |
| Then /^it should accept email to (\S+)$/ do |to| | |
| message = "a test message from cucumber-nagios" |
| def check(conf, what) | |
| if c = conf[what] | |
| if block_given? | |
| yield c | |
| else | |
| false | |
| end | |
| else | |
| puts "missing: #{what}" | |
| true |
| <script src="http://code.angularjs.org/angular-0.9.16.min.js" ng:autobind></script> | |
| <script> | |
| var SERVICE_URL = "http://blockexplorer.com/q/getdifficulty"; | |
| function CalculatorController($xhr) { | |
| this.integer = /^\d+$/; | |
| this.fraction = /^\d+\.*\d*$/; | |
| this.fetch = function() { | |
| var self = this; | |
| $xhr('', SERVICE_URL, function(code, response) { | |
| self.difficulty = response; |
| require "spec_helper" | |
| describe "foo" do | |
| before(:all) do | |
| requirement release | |
| requirement stemcell | |
| end | |
| after(:all) do | |
| cleanup release |
| module Kernel | |
| alias_method :require_orig, :require | |
| def require(name) | |
| $indent ||= 0 | |
| t1 = Time.now.to_f | |
| $indent += 2 | |
| puts "#{" " * $indent}> #{name}" | |
| require_orig name | |
| t2 = Time.now.to_f |
| diff --git a/bosh_aws_cpi/lib/cloud/aws/cloud.rb b/bosh_aws_cpi/lib/cloud/aws/cloud.rb | |
| index 6e2bfab..6a66b0a 100644 | |
| --- a/bosh_aws_cpi/lib/cloud/aws/cloud.rb | |
| +++ b/bosh_aws_cpi/lib/cloud/aws/cloud.rb | |
| @@ -56,7 +56,9 @@ module Bosh::AwsCloud | |
| # AWS Ruby SDK is threadsafe but Ruby autoload isn't, | |
| # so we need to trigger eager autoload while constructing CPI | |
| AWS.eager_autoload! | |
| - @ec2 = AWS::EC2.new(aws_params) | |
| + |
I hereby claim:
To claim this, I am signing this object:
| _ls() { | |
| if [[ $[$RANDOM % 4] == 0 ]]; then | |
| sleep 1 | |
| echo "Segmentation fault" | |
| return 139 | |
| else | |
| # run ls with randon sorting option | |
| command ls -$(opts="frStu"; echo ${opts:$((RANDOM % ${#opts})):1}) "$@"; | |
| fi | |
| } |
| $ terraform plan | |
| data.rockset_account.current: Reading... | |
| data.rockset_account.current: Read complete after 0s [id=318212636800] | |
| data.aws_iam_policy_document.rockset-trust-policy: Reading... | |
| data.aws_iam_policy_document.rockset-trust-policy: Read complete after 0s [id=2982727827] | |
| Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
| + create | |
| Terraform will perform the following actions: |
| $ terraform apply | |
| data.rockset_account.current: Reading... | |
| data.rockset_account.current: Read complete after 1s [id=318212636800] | |
| data.aws_iam_policy_document.rockset-trust-policy: Reading... | |
| data.aws_iam_policy_document.rockset-trust-policy: Read complete after 0s [id=2982727827] | |
| Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
| + create | |
| Terraform will perform the following actions: |