Skip to content

Instantly share code, notes, and snippets.

View jdee's full-sized avatar
🏳️‍🌈

Jimmy Dee jdee

🏳️‍🌈
View GitHub Profile
@jdee
jdee / rake output
Created October 26, 2010 14:40
ee failure during db_rebuild_full
== GeocodeForCsv: migrating ==================================================
rake trisano:ee:load_defaults
(in /home/jdee/github/csinitiative/trisano/webapp)
Loading EE defaults
Loading addiitonal EE privileges
Adding EE privs to existing roles
Load geocode csv fields
rake aborted!
PGError: ERROR: relation "csv_field_translations" does not exist
LINE 1: INSERT INTO csv_field_translations (id, csv_fi...
@jdee
jdee / cucumber output
Created October 26, 2010 22:22
smoking gun?
jdee@fatman:webapp$ bundle exec cucumber -r features/support/env.rb -r features/support/standard.rb -r features/shared_step_definitions -r features/standard_step_definitions --tags @pending features/standard/staging_area.feature:213
Feature: Staging Electronic Messages
To process electonically submitted messages
A user needs to be able to view messages and assign them to CMRs
@pending
Scenario: Assigning a staged message with a home phone number # features/standard/staging_area.feature:213
Given I am logged in as a super user # features/standard_step_definitions/common_helper_steps.rb:22
And I have the staged message "realm_campylobacter_jejuni" # features/standard_step_definitions/accept_staged_messages_as_hl7_steps.rb:19
@jdee
jdee / phantom tomcat
Created October 29, 2010 18:34
ps output from locust
jdee@locust:~> ps -e | grep java
10483 ? 00:31:08 java
jdee@locust:~> ps -flp 10483
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
0 S root 10483 1 0 80 0 - 615558 futex_ Oct22 ? 00:31:08 /usr/
jdee@locust:~> ps uaxwww | grep java
root 10483 0.3 2.5 2462232 211884 ? Sl Oct22 31:08 /usr/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/csi/production/package/hudson/standard/apache-tomcat-6.0.18/conf/logging.properties -Djava.endorsed.dirs=/opt/csi/production/package/hudson/standard/apache-tomcat-6.0.18/endorsed -classpath :/opt/csi/production/package/hudson/standard/apache-tomcat-6.0.18/bin/bootstrap.jar -Dcatalina.base=/opt/csi/production/package/hudson/standard/apache-tomcat-6.0.18 -Dcatalina.home=/opt/csi/production/package/hudson/standard/apache-tomcat-6.0.18 -Djava.io.tmpdir=/opt/csi/production/package/hudson/standard/apache-tomcat-6.0.18/temp org.apache.catalina.startup.Boo
@jdee
jdee / gist:670875
Created November 10, 2010 13:56
nslookup results
jdee@fatman:~$ nslookup
> github.com
Server: 192.168.2.1
Address: 192.168.2.1#53
Non-authoritative answer:
Name: github.com
Address: 207.97.227.239
> server ns1.slicehost.net
Default server: ns1.slicehost.net
@jdee
jdee / gist:740531
Created December 14, 2010 14:55
environment
jdee@fatman:webapp$ env | grep TRI
TRISANO_URL=http://localhost:8080
TRISANO_UID=trisano_user
TRISANO_ID=trisano_user
@jdee
jdee / boot.rb
Created January 13, 2011 13:37
an entire Rails 3 boot.rb file
require 'rubygems'
# Set up gems listed in the Gemfile.
gemfile = File.expand_path('../../Gemfile', __FILE__)
begin
ENV['BUNDLE_GEMFILE'] = gemfile
require 'bundler'
Bundler.setup
rescue Bundler::GemNotFound => e
STDERR.puts e.message
@jdee
jdee / gist:786686
Created January 19, 2011 19:26
output from vagrant up
[default] Copying box to temporary location...
[default] Extracting box...
[default] Verifying box...
[default] Cleaning up downloaded box...
[default] Importing base box 'base'...
No base MAC address was specified. This is required for the NAT networking
to work properly (and hence port forwarding, SSH, etc.). Specifying this
MAC address is typically up to the box and box maintiner. Please contact
the relevant person to solve this issue.
@jdee
jdee / gist:786904
Created January 19, 2011 21:31
more output
[default] Provisioning enabled with Vagrant::Provisioners::ChefSolo...
[default] Importing base box 'base'...
[default] Matching MAC address for NAT networking...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 3.2.8
@jdee
jdee / new.xml
Created March 2, 2011 22:07
new task XML
jdee@fatman:app$ curl http://localhost:3000/events/1/tasks/new.xml
<?xml version='1.0' encoding='utf-8' ?>
<task xmlns:atom="http://www.w3.org/2005/Atom"><atom:link href="http://localhost:3000/events/1/tasks/new" rel="self" />
<atom:link href="http://localhost:3000/events/1/tasks" rel="index" />
<atom:link href="http://localhost:3000/codes/task_category" rel="https://wiki.csinitiative.com/display/tri/Relationship+-+TaskCategory" />
<atom:link href="http://localhost:3000/users" rel="https://wiki.csinitiative.com/display/tri/Relationship+-+User" />
<name></name>
<notes></notes>
<category-id rel="https://wiki.csinitiative.com/display/tri/Relationship+-+TaskCategory"></category-id>
<priority></priority>
@jdee
jdee / id_rsa.pub
Created September 11, 2012 16:52
public key
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA9HOsMHgdQHSi9mvim616AtcyhIum1n0aA0OepC9rSHB/GSZ4fp3NDnCyKQM9pWdL6R536kGnBWeRxjtqVDFw8vdYPbAQdY2f2xGHDeiXr6nI4GDdfajaUfh4i94CFVeBskglwlA+GbbFQdXYWmpkMHzLA0iAY06oKBr9A331W44mG6TdgtbZNBf/ZhTu+4+kSwi60lkDJycX3w1bhycf8DfET3UP3YUNlk64x0+yxoo6JhNtDukf7B4EpAmXtWNVyAYP/C+hVDSROwwbPBVIfeSkTungdTshmTGkKflkHzTP0sd07OB3UAABTnTf+FT8MZRXtXoAz17iiy8Zvj+hhQ== jdee@fatman