View Gemfile
source 'http://rubygems.org'
gem 'tumblr_client'
gem 'oauth'
gem 'sinatra'
gem 'json'
gem 'twitter'
gem 'capgun'
gem 'activesupport'
View .gitignore
Gemfile.lock
View delayed_textfield_helper.js
App.DelayedTextField = Ember.TextField.extend({
// FIXME
// double check that init in Ember.TextSupport / Ember.TextSupport
// isn't handling this.on("paste"...) and the internal variable is still
// this._elementValueDidChange
init: function() {
this.on("propertychange", this, this._elementValueDidChange);
this.on("keyup", this, this._elementValueDidChange);
this.on("input", this, this._elementValueDidChange);
View IRB.conf-default.txt
% irb
irb(main):001:0> IRB.conf
=> CONF[:AP_NAME]="irb"
CONF[:AT_EXIT]=[]
CONF[:AUTO_INDENT]=false
CONF[:BACK_TRACE_LIMIT]=16
CONF[:CONTEXT_MODE]=3
CONF[:DEBUG_LEVEL]=1
CONF[:ECHO]=nil
CONF[:EVAL_HISTORY]=nil
View bakersdozen.json
[
"hello",
"world",
"teapot",
"hello",
"world",
"teapot",
"hello",
"world",
"teapot",
View capgun.coffee
# Description
# Grab web screens/thumbs of URLs using the capgun.io service
#
# Requires a CapGun API token to be set in the env var HUBOT_CAPGUN_TOKEN
#
# Dependencies:
# none
#
# Configuration:
# HUBOT_CAPGUN_TOKEN
View honeybadger_resque.rb
# for Rails place in config/initializers/honeybadger_resque.rb
%w( resque honeybadger ).each do |gem|
begin
require gem
rescue LoadError
raise "Can't find '#{gem}' gem. Please add it to your Gemfile or install it."
end
end
View gist:2468933
Loaded suite -e
Started
..............................................................................................................................................................EEEEE.EEEEE.E...........................
Finished in 18.287103042 seconds.
1) Error:
test_body_should_return_empty_when_there_is_no_user_text(TestPmSprintCom):
NoMethodError: undefined method `attr' for nil:NilClass
/home/mike/projects/libs/mms2r/lib/mms2r/media/sprint.rb:114:in `sprint_process_text'
/home/mike/projects/libs/mms2r/lib/mms2r/media/sprint.rb:60:in `process'
View god-father.json
{
"result": {
"method": "GET",
"occured_at": "2012-03-13T16:01:54-07:00",
"params": {
"query": "god father",
"path": "/logophile/search.json"
},
"response_time": 0.0032401084899902344,
"query_time": 0.0,
View development.sphinx.conf
indexer
{
mem_limit = 4096M
}
searchd
{
listen = 0.0.0.0:9312
log = /Users/mikemondragon/projects/hark/search-engine/spec/dummy/log/searchd.log
query_log = /Users/mikemondragon/projects/hark/search-engine/spec/dummy/log/searchd.query.log