Skip to content

Instantly share code, notes, and snippets.

View saimonmoore's full-sized avatar

Saimon Moore saimonmoore

View GitHub Profile
Unit - 279 tests, 2337 assertions, 13 failures, 2 errors
Functional - 401 tests, 1512 assertions, 16 failures, 21 errors
Integration - 20 tests, 109 assertions, 8 failures, 0 error
saimon@artemis look.git (master)$ git svn dcommit
Committing to https://fair_saimon@fair.unfuddle.com/svn/fair/branches/look ...
A vendor/plugins/classic_pagination
038827ba122d78cf07cfa0322d1ef2c92be9d5a9 doesn't exist in the repository at /opt/local/libexec/git-core/git-svn line 3680
Failed to read object 038827ba122d78cf07cfa0322d1ef2c92be9d5a9 at /opt/local/libexec/git-core/git-svn line 469
saimon@artemis look.git (master)$ git log 038827ba122d78cf07cfa0322d1ef2c92be9d5a9
fatal: bad object 038827ba122d78cf07cfa0322d1ef2c92be9d5a9
/* This is a template command */
CmdUtils.CreateCommand({
name: "example",
icon: "http://example.com/example.png",
homepage: "http://example.com/",
author: { name: "Your Name", email: "you@example.com"},
license: "GPL",
description: "A short description of your command",
#
# A try to built a simple drummachine using Shoes and Midiator.
# Unfortunalty animation seems to be quite processor heavy. Things might get slow..
# Because of that, the beats don't get highlighted on beat.
#
# You will need a midi input for this.
# On OSX you could use http://notahat.com/midi_patchbay
# and http://notahat.com/simplesynth or Garage Band
#
# Usage:
commit 2d361c7a7086db581e5b28fe52adf264491b0445
Author: Saimon Moore <saimon@saimonmoore.net>
Date: Thu Feb 26 11:02:56 2009 +0100
Adding failing spec for custom mootools events
diff --git a/spec/custom_events_spec.rb b/spec/custom_events_spec.rb
new file mode 100644
index 0000000..df76140
--- /dev/null
saimon@artemis celerity (master)$ jruby spec/custom_events_spec.rb
.....FFF..F
1)
'Mootools Custom Events click event with addEvents should trigger click once event (via addEvents)' FAILED
expected true, got false
spec/custom_events_spec.rb:73:
:1
2)
Failures Summary:
[IE6]
* clickEventWithEventHandlersViaAddEvent(MooToolsCustomEventsTest.java:93
* dblclickEventWithEventHandlersViaAddEvent(MooToolsCustomEventsTest.java:113)
* clickEventWithEventHandlersViaAddEvents(MooToolsCustomEventsTest.java:141)
* dblclickEventWithEventHandlersViaAddEvents(MooToolsCustomEventsTest.java:170)
* clickEventWithEventHandlersViaAddEventsWithDelegation(MooToolsCustomEventsTest.java:199)
* dblclickEventWithEventHandlersViaAddEventsWithEventDelegation(MooToolsCustomEventsTest.java:227)
#:key not :session_key in latest edge
#in assets_helper.rb
def new_asset_path_with_session_information
session_key = ActionController::Base.session_options[:key]
new_asset_path(session_key => cookies[session_key], request_forgery_protection_token => form_authenticity_token)
end
module CloudKit
if defined? ::BasicObject
class BasicObject < ::BasicObject
undef_method :==
undef_method :equal?
# Let ActiveSupport::BasicObject at least raise exceptions.
def raise(*args)
::Object.send(:raise, *args)
end
#/etc/chef/server.rb
log_level :info
log_location STDOUT
ssl_verify_mode :verify_none
# registration_url "http://saimon:mypassword@chef.webtypes.com"
# openid_url "http://saimon:mypassword@chef.webtypes.com"
# template_url "http://saimon:mypassword@chef.webtypes.com"
# remotefile_url "http://saimon:mypassword@chef.webtypes.com"
# search_url "http://saimon:mypassword@chef.webtypes.com"
registration_url "http://webtypes.com:4000"