Public Gists by jacqui

Gravatar
Fri Oct 16 13:02:48 -0700 2009
1
2
3
Processing Pencils::HomeController#index (for 127.0.0.1 at 2009-10-16 16:00:58) [GET]
  Session ID: 50bf0b59fa5617a1f0fdac56f65a0852
 
Gravatar
Fri Oct 16 08:48:30 -0700 2009
1
2
3
⚜:~/source/ruby-1.8.6-p287$ ./config.status
config.status: creating Makefile
⚜:~/source/ruby-1.8.6-p287$ make
Gravatar
Thu Jul 16 07:23:25 -0700 2009
1
2
3
[deploy@rm-207-210-123-165 ~]$ sudo yum install vim
Repository centosplus is listed more than once in the configuration
Repository base is listed more than once in the configuration
Gravatar
Wed Jul 08 13:54:09 -0700 2009
1
2
3
[40, 49] in /Users/jacqui/Code/Eastmedia/mdb/vendor/gems/authlogic-2.1.1/lib/authlogic/crypto_providers/sha512.rb
   40 digest
   41 end
Gravatar
Wed Jul 08 10:29:57 -0700 2009
1
2
3
  1 Factory.define :user do |u|
  2 u.username { Faker::Internet.user_name }
  3 u.email { Faker::Internet.email }
Gravatar
Thu Jun 04 09:56:16 -0700 2009
1
2
3
ActionView::TemplateError (getaddrinfo: Temporary failure in name resolution) on line #122 of app/views/layouts/portal.rhtml:
119:
120:
Gravatar
Thu May 07 07:31:34 -0700 2009
1
2
3
class Sponsor < ActiveRecord::Base
  has_slug :source_column => :name, :prepend_id => false
 
Gravatar
Wed May 06 16:17:18 -0700 2009
1
2
3
remote_task :new_stuff, :roles => :app do
  # fetch the last line of revisions.log
  output = run "tail -n1 #{deploy_to}/revisions.log"
Gravatar
Sun Apr 12 12:42:54 -0700 2009
1
2
3
 /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 
Gravatar
Tue Apr 07 15:24:27 -0700 2009
1
2
3
drugs_dispensed_last_time = Hash.new
previous_art_drug_orders.collect{|drug_order|
  drugs_dispensed_last_time[drug_order.drug] = true
Gravatar
Fri Mar 13 11:40:29 -0700 2009
1
2
3
 SQL (0.001587) INSERT INTO patient_historical_outcomes (patient_id, outcome_date, outcome_concept_id)
 SELECT encounter.patient_id, encounter.encounter_datetime, 324
 FROM encounter
Gravatar
Tue Mar 10 17:04:41 -0700 2009
1
2
3
>> u = Factory(:user)
ActiveRecord::StatementInvalid: Mysql::Error: Cannot add or update a child row: a foreign key constraint fails (`openmrs_development/users`, CONSTRAINT `user_creator` FOREIGN KEY (`creator`) REFERENCES `users` (`user_id`)): INSERT INTO `users` (`salt`, `creator`, `date_created`, `voided`, `secret_answer`, `changed_by`, `secret_question`, `system_id`, `username`, `void_reason`, `date_changed`, `voided_by`, `first_name`, `date_voided`, `last_name`, `password`, `middle_name`) VALUES('ied6FQj8o8', 1, '2009-03-10 20:03:19', 0, NULL, NULL, NULL, 'Baobab Admin', 'mike1', NULL, '2009-03-10 20:03:19', NULL, 'Mike1', '2009-03-10 20:03:19', 'McKay1', '750bda64556e9178987072b329f4f8a53c37cb9d', NULL)
 
Gravatar
Wed Feb 25 06:09:13 -0800 2009
1
2
3
module DelegateAttributes
 
  def self.included(base)
Gravatar
Thu Dec 11 21:44:50 -0800 2008
1
2
3
@search_results = WillPaginate::Collection.create(page, per_page) do |pager|
  xs = ActsAsXapian::Search.new(@search_models, @search_term, {:offset => pager.offset, :limit => pager.per_page})
  results = xs.results.map {|r| r[:model] }
Gravatar
Tue Dec 02 09:24:23 -0800 2008
1
2
3
the end of the strace started by the following command, then hitting the server:
 
$ strace rackup -D -E development -p 8910 -s mongrel config.ru
Gravatar
Thu Nov 20 08:31:55 -0800 2008
1
2
3
[app@server se]$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.0
Gravatar
Tue Oct 28 10:15:34 -0700 2008
1
2
3
jm:~/se/app/se (master)$ rake db:test:purge
(in /Users/jm/se/app/se)
jm:~/se/app/se (master)$ rake db:test:clone_structure
Gravatar
Wed Oct 01 12:41:38 -0700 2008
1
2
3
  [15:40] [jm@tinsel:~/test] $ ls *
clone.git:
zutalors.rb
Gravatar
Mon Sep 29 14:07:18 -0700 2008
1
2
3
Ren: [afflicted with Space Madness and holding a bar of soap he's been chewing] Oh, no! I know what you want! You coveteth my ice cream bar!
Stimpy: Easy now...
Ren: [shouts] No you don't! You can't take it from me now!