Skip to content

Instantly share code, notes, and snippets.

View erebor's full-sized avatar

Ryan Waldron erebor

View GitHub Profile
The "Reporting Bugs" section asks for this info (since I don't have a test case or clear instructions how to reproduce in another app)
* Whether you have locked or not
I have not explicitly locked, because I'm currently using 1.0.0.rc.1, which says not to do that any more. But running 'bundle install' now creates a Gemfile.lock.
* What version of bundler you are using
Currently 1.0.0.rc.1, though the behavior is identical with 0.9.26.
A couple of notes up-front: notice that json_pure is not specifically required in my Gemfile, but it shows up with a specific version requirement in Gemfile.lock. If that version requirement is lower than an available system version of json_pure, then this problem shows up. I can make it show up with 1.4.4 versus 1.4.3 on my development Mac.
$ bundle --version
Bundler version 1.0.0.rc.3
$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux]
(Not using RVM here)
@erebor
erebor / ring_clock.rb
Created May 26, 2016 20:26
Ring clock for ws2812 led
#!/usr/bin/env ruby
$:.unshift(File.expand_path('../../lib', __FILE__))
require 'ws2812'
class Ring
attr_accessor :led_count
def initialize(number_of_leds)
@led_count = number_of_leds
end
@erebor
erebor / keybase.md
Created June 16, 2016 16:58
I'm in your base, verifying my keys.

Keybase proof

I hereby claim:

  • I am erebor on github.
  • I am erebor (https://keybase.io/erebor) on keybase.
  • I have a public key ASCwelzHQwbGvFfpYDymtEwE0wzITr58SrVr_VzaKHRAogo

To claim this, I am signing this object:

0x4Fc908C13A9DB32959c343E37cD216d3E893E567