I hereby claim:
- I am h-lame on github.
- I am hlame (https://keybase.io/hlame) on keybase.
- I have a public key whose fingerprint is 39B4 6B57 2042 0DED F0F4 8D1C 770E BCE3 52EA C8EA
To claim this, I am signing this object:
module Scoring | |
def self.included(base) | |
base.class_eval do | |
let(:__score_keeper) { ScoreKeeper.new } | |
extend ScoreHelpers | |
include ScoreMatchers | |
end | |
end | |
class ScoreKeeper |
<html> | |
<head> | |
<style> | |
pre.terminal { | |
display: block; | |
background-color: black; | |
color: white; | |
font-family: monospace; | |
height: 480px; | |
width: 640px; |
I hereby claim:
To claim this, I am signing this object:
class BWT | |
def encode(string) | |
chars = "#{string}$".chars | |
rotations = [] | |
chars.length.times. | |
inject(chars) do |new_chars, _| | |
rotations << new_chars | |
new_chars.rotate | |
end |
def find_previous_table_for(element) | |
find_previous_sibling_of_type(element, 'table') | |
end | |
def find_previous_sibling_of_type(element, element_type_to_find) | |
previous_siblings(element).find do |previous_element| | |
previous_element.node_name == element_type_to_find | |
end | |
end |
From: Murray Steele <murray.steele@lrug.org> | |
To: London Ruby Users Group <chat@lrug.org> | |
Subject: [LRUG] [GIVEAWAY] Copies of "The Well Grounded Rubyist (2nd Edition)" to give away | |
Hi all, | |
As announced at the start of the meeting on Monday the nice folks at | |
Infinitium Global have decided to give a little back to the community in | |
some way. One thing they were keen for is that they were giving back to | |
the community in a way that would help it grow and encourage folk just |
#!/usr/bin/env ruby | |
require 'optparse' | |
options = { :use_svn => true } | |
OptionParser.new do |opt| | |
opt.banner = "Usage: upgrade_views [options]" | |
opt.on('-f', '--file_rename', 'Use file renaming rather than svn move to update the files.') { |v| options[:use_svn] = false } | |
opt.parse!(ARGV) | |
end | |
class Schedule | |
def initialize(service) | |
@service = service | |
end | |
attr_accessor :schedule | |
def day | |
(1..23).map { [] } |
2009-10-06 07:51:36.776 System Preferences[408] PrefPaneInstalld: awakeFromNib | |
2009-10-06 07:51:36.777 System Preferences[408] PrefPaneInstalld: mainViewDidLoad | |
2009-10-06 07:51:36.796 System Preferences[408] /bin/launchctl unload -w -S Aqua /Users/msteel01/Library/LaunchAgents/com.floehopper.installdPrefPane.plist | |
2009-10-06 07:51:36.861 System Preferences[408] launchctl: illegal option -- S | |
usage: launchctl load [-wF] paths... | |
2009-10-06 07:51:36.862 System Preferences[408] Error executing command: /bin/launchctl unload -w -S Aqua /Users/msteel01/Library/LaunchAgents/com.floehopper.installdPrefPane.plist | |
2009-10-06 07:51:36.862 System Preferences[408] PrefPaneInstalld#mainViewDidLoad: RuntimeError: Error executing command: /bin/launchctl unload -w -S Aqua /Users/msteel01/Library/LaunchAgents/com.floehopper.installdPrefPane.plist | |
/Users/msteel01/Library/PreferencePanes/Installd.prefpane/Contents/Resources/command.rb:19:in `execute' | |
/Users/msteel01/Library/PreferencePanes/Installd.prefpane/Contents/Resource |
$LOAD_PATH.unshift(Rails.root + '/vendor/plugins/cucumber/lib') if File.directory?(Rails.root + '/vendor/plugins/cucumber/lib') | |
CUCUMBER_FAILED_LOG = Rails.root + "log/cucumber_failed" | |
touch(CUCUMBER_FAILED_LOG) unless File.exist?(CUCUMBER_FAILED_LOG) | |
begin | |
require 'cucumber/rake/task' | |
require "cucumber_rerun_task" | |
namespace :features do | |
Cucumber::Rake::Task.new(:active) do |t| |