View install.md
jamesmead@floehopper.local:~$ sudo dd bs=1m if=/Users/jamesmead/Downloads/2015-02-16-raspbian-wheezy.img of=/dev/disk2
pi@raspberrypi ~ $ sudo raspi-config
# Choose option 1 to "Expand Filesystem" - Ensures that all of the SD card storage is available to the OS
# Choose Finish & reboot

pi@raspberrypi ~ $ sudo apt-get update
View install.txt
1 2 3 4 5 6 7 8 9 10
# Based on https://github.com/metacollin/homebrew-gnuradio#homebrew-gnuradio and https://github.com/chleggett/homebrew-gqrx#install
 
$ brew update
$ brew upgrade # may be unnecessary
$ brew tap metacollin/gnuradio
$ brew install gnuradio # took 55 mins on my laptop & installed python via homebrew
$ brew install librtlsdr --HEAD # this installed b4c4e723f3656954f160b3f8df4e8804e4a46acd for me
$ brew tap chleggett/gqrx
$ brew tap chleggett/gr-osmosdr
$ pip install cheetah
View patches-for-rails-and-rack-for-argument-error-invalid-byte-sequence.rb
1 2 3 4 5 6 7 8 9
# Based on these Rack commits [1,2] which originated from this Rack PR [3] and
# mentioned in this Rails PR [4].
#
# [1]: https://github.com/rack/rack/commit/cc8279f4a158e51975838e6202581c3d5e33f1c4
# [2]: https://github.com/rack/rack/commit/975ccac7e56dcd765cb102016b97ef13d15feba8
# [3]: https://github.com/rack/rack/pull/713
# [4]: https://github.com/rails/rails/pull/11795
 
require 'rack/utils'
View passenger-lib-rack-name-error.txt
1 2 3 4 5 6 7 8 9 10
*** Exception NameError in PhusionPassenger::Rack::ApplicationSpawner (undefined method `ssl?' for class `Sinatra::Request') (process 21881, thread #<Thread:0x7f7c50c932d0>):
from /home/webhooks/app/vendor/gems/ruby/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:49
from /home/webhooks/app/vendor/gems/ruby/1.8/gems/sinatra-1.4.5/lib/sinatra.rb:1:in `require'
from /home/webhooks/app/vendor/gems/ruby/1.8/gems/sinatra-1.4.5/lib/sinatra.rb:1
from ./app.rb:5:in `require'
from ./app.rb:5
from config.ru:1:in `require'
from config.ru:1
from /usr/lib/ruby/1.8/rack/builder.rb:46:in `instance_eval'
from /usr/lib/ruby/1.8/rack/builder.rb:46:in `initialize'
View keybase.md

Keybase proof

I hereby claim:

  • I am floehopper on github.
  • I am floehopper (https://keybase.io/floehopper) on keybase.
  • I have a public key whose fingerprint is B10D 919D E3B2 3B55 8FF3 80E1 CD75 D7BD 899B 8102

To claim this, I am signing this object:

View gist:9974356
1 2 3 4 5 6 7 8 9 10
$ npm install
 
# output ommitted for brevity
 
$ grunt mxmlc
Running "mxmlc:videojs_swf" (mxmlc) task
File "dist/video-js.swf" created.
 
Done, without errors.
jamesmead@floehopper.local:~/Code/videojs/video-js-swf:master$ grunt connect:dev
View videojs-test-output.txt
1 2 3 4 5 6 7 8 9 10
$ npm install
 
# output ommitted for brevity
 
$ grunt
 
# output ommitted for brevity
 
$ grunt test
Running "jshint:src" (jshint) task
View class_method_definitions.rb
1 2 3 4 5 6 7 8 9 10
# example 1
class Foo; end
def Foo.bar; end
 
 
# example 2
class Foo
def self.bar; end
end
View Gemfile
1 2 3 4
source 'https://rubygems.org'
 
gem 'activesupport'
gem 'mocha'
View singleton_class_ancestors.rb
1 2 3 4 5 6 7 8 9 10
# ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0]
class X; end
X.ancestors # => [X, Object, Kernel, BasicObject]
X.singleton_class # => #<Class:X>
X.singleton_class.ancestors # => [Class, Module, Object, Kernel, BasicObject]
 
# ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]
class X; end
X.ancestors # => [X, Object, Kernel, BasicObject]
X.singleton_class # => #<Class:X>
Something went wrong with that request. Please try again.