Public Gists by danmayer

Gravatar
Wed Nov 11 07:35:43 -0800 2009
1
2
3
# example of the configurations that can be passed to Caliper
# name this file Caliper.yml
# place this file in the root or config/ of your project
Gravatar
Wed Nov 11 06:40:37 -0800 2009
1
2
3
# example of the configurations that can be passed to Caliper
# place this file in the root or config/ of your project
# and overide the settings as needed
gist: 227163 a few examples of using the...
Gravatar
Thu Nov 05 08:11:47 -0800 2009
1
2
3
#This is a few examples of how to use the devver.net Caliper API
 
API_URL = 'http://localhost:8080'
gist: 227075 a test for various code met...
Gravatar
Thu Nov 05 06:25:11 -0800 2009
1
2
3
#just using this to trigger various warnings in reek, flay, saikuro, etc
 
#trying to trigger churn warning
Gravatar
Wed Oct 28 16:45:08 -0700 2009
1
2
3
  1) Failure:
test: with a version should create gemspec with some dependencies. (VersionTest)
    [/test/unit/version_test.rb:143:in `__bind_1256771802_829589'
Gravatar
Thu Sep 24 08:06:18 -0700 2009
1
2
3
def depends_on_pending_migrations_if_exists
  task = 'db:abort_if_pending_migrations'
  begin
Gravatar
Wed Sep 09 14:52:08 -0700 2009
1
2
3
# local run with the sleep
#real 12m30.294s
# on devver with the sleep
Gravatar
Tue Jul 28 17:40:45 -0700 2009
1
2
3
### in response to http://drawohara.com/post/151193800/ruby-symbol-to-hash
 
#I think that isn't quite what I am talking about...
Gravatar
Sun Jun 21 22:05:33 -0700 2009
1
2
3
#new right_aws branch using AWS select
$ ruby scripts/simple_benchmark.rb
      user system total real
Gravatar
Wed Jun 17 17:10:33 -0700 2009
1
2
3
#new right_aws branch using AWS select
dan-mayers-computer:dm-adapter-simpledb dmayer$ ruby scripts/simple_benchmark.rb
I, [2009-06-17T16:53:27.007866 #33498] INFO -- : New RightAws::SdbInterface using single-threaded mode
Gravatar
Fri Jun 12 09:46:53 -0700 2009
1
2
3
dan-mayers-computer:dm-adapter-simpledb dmayer$ time rake spec_no_rcov
(in /Users/dmayer/projects/dm-adapter-simpledb)
I, [2009-06-12T10:40:02.098438 #21481] INFO -- : New RightAws::SdbInterface using single-threaded mode
Gravatar
Tue Jun 02 09:02:53 -0700 2009
1
2
3
  desc "Perform some benchmarking against the production site"
  task :benchmark do
    puts "starting benchmarking"
Gravatar
Wed May 27 07:58:13 -0700 2009
1
2
3
require 'rubygems'
require 'dm-core'
require 'aws_sdb'
Gravatar
Sat May 23 16:05:04 -0700 2009
1
2
3
def run_spellcheck(file,interactive=false)
  if interactive
    cmd = "aspell -p ./config/devver_dictionary -H check #{file}"
Gravatar
Mon May 04 23:23:16 -0700 2009
1
2
3
require 'rubygems'
require 'tlsmail'
require 'time'
Gravatar
Wed Mar 04 19:50:19 -0800 2009
1
2
3
require 'sinatra'
 
EC2_HOME = '~/.ec2'
Gravatar
Tue Nov 18 22:11:13 -0800 2008
1
2
3
require 'beanstalk-client.rb'
require 'ruby-debug'