This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIR=`dirname $0` | |
$DIR/pidgin_notifier.py | grep -v --line-buffered "^Brandon Dimcheff" | grep -i --line-buffered "\(brandon\)\|\(bdimchef\)\|\(@all\)" | while read line;do notify-send -- "Mentioned in HipChat" "${line}";done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
for k in `git branch -a|sed "s/..//"|sed "s/\s*->.*//"`;do echo -e `git log -1 --pretty=format:"%ct %Cblue%cr%Creset" "$k" --`\\t"$k";done|sort| cut -d' ' -f2- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* http://plugins.jquery.com/project/query-object | |
* jQuery.query - Query String Modification and Creation for jQuery | |
* Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com) | |
* Licensed under the WTFPL (http://sam.zoy.org/wtfpl/). | |
* Date: 2009/8/13 | |
* | |
* @author Blair Mitchelmore | |
* @version 2.1.7 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module EnumerableExtensions | |
def lazy_map(&block) | |
Enumerator.new do |yielder| | |
each do |e| | |
yielder << block.call(e) | |
end | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--type-add=ruby=.haml,.rake,.rsel,.feature,.sass | |
--type-add=xml=.xsd | |
--type-add=css=.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/bdimchef/.rvm/gems/ruby-1.9.2-p0/gems/capybara-0.4.0/lib/capybara/rails.rb:15:in `<top (required)>': undefined method `join' for nil:NilClass (NoMethodError) | |
from /Users/bdimchef/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in `require' | |
from /Users/bdimchef/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in `block in require' | |
from /Users/bdimchef/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in `block in load_dependency' | |
from /Users/bdimchef/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in `new_constants_in' | |
from /Users/bdimchef/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in `load_dependency' | |
from /Users/bdimchef/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in `require' | |
from /Users/bdimchef/.rvm/gems/ruby-1.9.2-p0/gems/rspec-rails-2.3.1/lib/rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c4a38b39430be495cd5b131d660e1b145280148f Mon Sep 17 00:00:00 2001 | |
From: Brandon Dimcheff <[email protected]> | |
Date: Sat, 11 Dec 2010 01:34:04 -0500 | |
Subject: [PATCH] find_or_create_by doesn't set proper values when using a hash | |
--- | |
.../associations/has_many_associations_test.rb | 9 +++++++++ | |
1 files changed, 9 insertions(+), 0 deletions(-) | |
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var groups = FindMyGroupsSomehow(); | |
var groupRoot = SC.Object.extend({ | |
treeItemIsExpanded: YES, | |
treeItemChildren: function() { | |
return groups; | |
}.property().cacheable() | |
}); | |
MyApp.sourceListController.set('content', groupRoot.create()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def folder_path(*args) | |
File.expand_path(args.join("-"), env.config.chef.provisioning_path) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a65a98d171d00768cb0592e85f99f24d84fd8a3c Mon Sep 17 00:00:00 2001 | |
From: Brandon Dimcheff <[email protected]> | |
Date: Thu, 22 Apr 2010 19:41:00 -0400 | |
Subject: [PATCH] give me http back | |
--- | |
.../autocomplete/history_contents_provider.cc | 3 +-- | |
.../browser/autocomplete/history_url_provider.cc | 3 +-- | |
chrome/browser/autocomplete/search_provider.cc | 3 +-- | |
chrome/browser/bookmarks/bookmark_table_model.cc | 2 +- |