I hereby claim:
- I am grimm26 on github.
- I am grimm26 (https://keybase.io/grimm26) on keybase.
- I have a public key whose fingerprint is F04C ACFF E441 FA94 79B0 2EEE 1192 9524 ADCC 9716
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# gem install bundler | |
Fetching: bundler-1.7.10.gem (100%) | |
Successfully installed bundler-1.7.10 | |
Parsing documentation for bundler-1.7.10 | |
Installing ri documentation for bundler-1.7.10 | |
gem: /usr/include/llvm/Support/Casting.h:97: static bool llvm::isa_impl_cl<To, const From*>::doit(const From*) [with To = llvm::Constant; From = llvm::Value]: Assertion `Val && "isa<> used on a null pointer"' failed. | |
Aborted (core dumped) | |
samsara imageimport.gem # ruby -v | |
rubinius 2.4.1 (2.1.0 b332f133 2014-12-04 3.3 JI) [x86_64-linux-gnu] | |
samsara imageimport.gem # gcc --version |
recipe: | |
package 'chefdk' do | |
case node['platform_family'] | |
when 'debian' | |
provider Chef::Provider::Package::Dpkg | |
end | |
allow_downgrade true | |
version chef_dk_metadata.version | |
source ::File.join(Chef::Config['file_cache_path'],chef_dk_metadata.filename) | |
action :upgrade |
property :version, String, default: node['chef_dk']['version'] | |
property :package_url, [String, nil], default: node['chef_dk']['package_url'] | |
property :global_shell_init, [TrueClass, FalseClass], default: node['chef_dk']['global_shell_init'] | |
property :prerelease, [TrueClass, FalseClass], default: false | |
property :nightlies, [TrueClass, FalseClass], default: false | |
resource_name :chef_dk | |
default_action :install |
[2016-02-16T09:24:36-06:00] ERROR: chef_handler[Raven::Chef::SentryHandler] (chef-sentry-handler::default line 31) had an error: Gem::LoadError: Could not find 'multipart-post' (< 3, >= 1.2) among 90 total gem(s) | |
Checked in 'GEM_PATH=/root/.gem/ruby/2.1.0:/opt/chef/embedded/lib/ruby/gems/2.1.0', execute `gem env` for more information | |
[2016-02-16T09:24:36-06:00] ERROR: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
mkeisler@8b-build02.oak /opt/chef % grep multipart-post /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/Gemfile.lock | |
multipart-post (>= 1.2, < 3) | |
multipart-post (2.0.0) | |
mkeisler@8b-build02.oak /opt/chef % find /opt/chef -name 'multipart-post*' | |
mkeisler@8b-build02.oak /opt/chef % |
* directory[/var/chef/handlers] action create (up to date) | |
* chef_gem[uuidtools] action install (up to date) | |
* chef_gem[sentry-raven] action upgrade (up to date) | |
* cookbook_file[/var/chef/handlers/sentry.rb] action create (up to date) | |
* chef_handler[Raven::Chef::SentryHandler] action enable | |
- disable Raven::Chef::SentryHandler as a exception handler | |
================================================================================ | |
Error executing action `enable` on resource 'chef_handler[Raven::Chef::SentryHandler]' | |
================================================================================ |
# Use this knife script to list status of nodes | |
# knife exec status.rb | |
YESTERDAY = Time.now - 86400 | |
def red(text) | |
sprintf "\e[1;37;41m%s\e[0m", text | |
end | |
def underline(text) | |
sprintf "\e[4m%s\e[0m", text |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
def get_direction(turn_sum): | |
directions = tuple(['west', 'north', 'east', 'south']) | |
return directions[turn_sum % 4] | |
def split_input(input): | |
return input.split(", ") | |
def calc_abs_movement(movement): |
#!/usr/bin/env python3 | |
import sys | |
DIRECTIONS = tuple(['west', 'north', 'east', 'south']) | |
def get_direction(turn_sum): | |
return DIRECTIONS[turn_sum % 4] | |
def split_input(input): | |
return input.split(", ") |