Public Gists by stepheneb

Gravatar
Fri Nov 27 01:19:09 -0800 2009
1
2
3
[rubinius-git (master)]$ ./configure --enable-llvm --prefix=/Users/stephen/dev/ruby/builds/rubinius
Using LLVM: auto
  Checking for existing LLVM tree: found!
gist: 243272 simple benchmark
Gravatar
Wed Nov 25 22:10:37 -0800 2009
1
2
3
# Takeuchi function performance, tak(24, 16, 8)
# simple adaptation from:
# http://blog.headius.com/2009/04/how-jruby-makes-ruby-fast.html
Gravatar
Wed Nov 25 14:30:50 -0800 2009
1
2
3
# Building the Java 1.7 Da Vinci Machine (mlvm) on Mac OS X
#
# filename: update.sh
Gravatar
Tue Nov 24 09:16:24 -0800 2009
1
2
3
git clone git://github.com/egonw/bioclipse.cheminformatics.git bioclipse-cheminformatics-git
cd bioclipse-cheminformatics-git/
git rev-list HEAD --author=rklancer --pretty=fuller
Gravatar
Fri Nov 20 19:07:04 -0800 2009
1
2
3
[tasks (master)]$ ../abbot/bin/sc-server
SproutCore v1.0.1036 Development Server
Starting server at http://0.0.0.0:4020 in debug mode
Gravatar
Tue Nov 17 21:47:07 -0800 2009
1
2
3
(bespinclient)[bespinclient]$ paver start
---> pavement.start
---> pavement.start
Gravatar
Fri Nov 13 20:35:25 -0800 2009
1
2
3
[test]$ mkdir bespin
 
[test]$ cd bespin/
Gravatar
Tue Nov 03 11:34:57 -0800 2009
1
2
3
 
Given an NCES local school id that matches the SEASCH field in an NCES school
find and return the first district that is associated with the NCES or nil.
Gravatar
Tue Nov 03 11:04:05 -0800 2009
1
2
3
[6, 7, 16, 17, 30, 39].each {|local_id| puts "#{local_id}: #{Portal::District.find_by_state_and_nces_local_id('RI', local_id).name}"}; nil
6: Coventry
7: Cranston
Gravatar
Wed Oct 28 11:01:42 -0700 2009
1
2
3
  Portal::Nces06School Load (309.0ms) SELECT * FROM `portal_nces06_schools` WHERE (`portal_nces06_schools`.`SEASCH` = '07126') LIMIT 1
  Portal::School Load (283.0ms) SELECT * FROM `portal_schools` WHERE (`portal_schools`.`nces_school_id` = 76) LIMIT 1
** has_many_polymorphs: Loading instances f
Gravatar
Tue Oct 27 13:34:22 -0700 2009
1
http://gist.github.com/gists/new
Gravatar
Fri Oct 23 21:44:31 -0700 2009
1
2
3
[rites (external_user)]$ spec -u spec/models/inner_page_spec.rb --backtrace -l 53
loading test environment
RAILS running in test environment or executing rake task -- skipping Admin::Project.create_or_update_default_project_from_settings_yml
gist: 216680 A .kick file for use with t...
Gravatar
Thu Oct 22 22:37:06 -0700 2009
1
2
3
# Uses the kicker gem, a file-change watcher, using OS X FSEvents:
#
# http://github.com/alloy/kicker
Gravatar
Thu Oct 15 11:42:26 -0700 2009
1
2
3
$ cat ~/Desktop/redcloth_bc_block.rb
require 'rubygems'
require 'redcloth'
Gravatar
Thu Oct 15 08:18:19 -0700 2009
1
2
3
[rites (master)]$ rake features
(in /Users/stephen/dev/test/rites)
running Admin::Project.create_or_update_default_project_from_settings_yml
Gravatar
Thu Oct 15 07:59:06 -0700 2009
1
2
3
rites (spec)]$ LD_LIBRARY_PATH=/opt/local/lib RAILS_ENV=test jruby -S spec spec/routing/dataservice/bundle_contents_routing_spec.rb
loading test environment
running Admin::Project.create_or_update_default_project_from_settings_yml
Gravatar
Mon Oct 12 22:43:24 -0700 2009
1
2
3
[activerecord-jdbc-adapter.git (master)]$ jruby -S rake rails:test DRIVER=mysql RAILS=$RAILS_SOURCE
(in /Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git)
psql: FATAL: database "stephen" does not exist
Gravatar
Fri Oct 09 06:48:07 -0700 2009
1
2
3
$ cd /web/staging/rites-investigations/current/
 
$ ruby config/setup.rb
Gravatar
Thu Oct 08 07:56:47 -0700 2009
1
2
3
$ cap production db:fetch_remote_db
  * executing `production'
    triggering start callbacks for `db:fetch_remote_db'
Gravatar
Mon Oct 05 14:33:46 -0700 2009
1
2
3
highline/lib/highline/system_extensions.rb:145: CHARACTER_MODE = "stty" # For Debugging purposes only.
highline/lib/highline/system_extensions.rb:150: # *WARNING*: This method requires the external "stty" program!
highline/lib/highline/system_extensions.rb:165: # *WARNING*: This method requires the external "stty" program!