This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chinook:~ mattkern$ dscl localhost -read /Local/Default/Hosts/ey.stg.dcgateway.pvpowered.com | |
AppleMetaNodeLocation: /Local/Default | |
IPAddress: 72.46.233.19 | |
RecordName: ey.stg.dcgateway.pvpowered.com | |
RecordType: dsRecTypeStandard:Hosts | |
chinook:~ mattkern$ host ey.stg.dcgateway.pvpowered.com | |
ey.stg.dcgateway.pvpowered.com has address 70.42.33.176 | |
chinook:~ mattkern$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Return-Path: <[email protected]> | |
Delivered-To: [email protected] | |
Received: (qmail 5103 invoked by uid 1011); 8 Jul 2010 22:13:06 +0000 | |
Received: from 70.42.33.253 by crow.artisantechnologies.com (envelope-from <[email protected]>, uid 1009) with qmail-scanner-1.25-st-qms | |
(clamdscan: 0.94.2/9177. spamassassin: 3.2.5. perlscan: 1.25-st-qms. | |
Clear:RC:0(70.42.33.253):SA:0(-1.3/5.0):. | |
Processed in 1.129724 secs); 08 Jul 2010 22:13:06 -0000 | |
X-Spam-Status: No, hits=-1.3 required=5.0 | |
X-Spam-Report: SA TESTS | |
1.9 TVD_RCVD_IP TVD_RCVD_IP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chinook:opt mattkern$ less /Users/mattkern/.rvm/log/ruby-1.8.6-p399/make.error.log | |
ptr.c:461: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 8 has type ‘void *’ | |
void | |
char | |
short | |
int | |
long | |
float | |
double |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rexml/document' | |
require "models/prog_const.rb" | |
# TODO: MK Get rid of all vestiges of Dupin's global cache that doesn't cache anything. | |
$prog_const = ProgConst.new if $prog_const.nil? | |
$prog_const.check_reload | |
#This object holds all the required information about a PVM post the system | |
#will need to work with the xml message | |
# | |
class PostPackage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#\ -w -p 8765 | |
use Rack::ContentLength | |
use Rack::Reloader, 0 | |
require "net/http" | |
class Rack::Proxy | |
def initialize(app, &block) | |
self.class.send(:define_method, :uri_for, &block) | |
@app = app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rexml/document' | |
require "models/prog_const.rb" | |
# TODO: MK Get rid of all vestiges of Dupin's global cache that doesn't cache anything. | |
$prog_const = ProgConst.new if $prog_const.nil? | |
$prog_const.check_reload | |
#This object holds all the required information about a PVM post the system | |
#will need to work with the xml message | |
# | |
class PostPackage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#\ -w -p 8765 | |
use Rack::ContentLength | |
use Rack::Reloader, 0 | |
require "net/http" | |
class Rack::Proxy | |
def initialize(app, &block) | |
self.class.send(:define_method, :uri_for, &block) | |
@app = app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pvpower@ey06-s00033 /data/gar/current $ RAILS_ENV=staging script/console | |
Loading staging environment (Rails 2.0.2) | |
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in `load_missing_constant':NameError: uninitialized constant Paperclip::CallbackCompatability | |
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- html/document (MissingSourceFile) | |
from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' | |
from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' | |
from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' | |
from /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/assertions/response_assertions.rb:2 | |
from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_requir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActiveSupport::TestCase | |
def setup_fault | |
@inverter_model = Factory(:inverter_model) | |
@inverter = Factory(:inverter, :inverter_model => @inverter_model) | |
@fault_message = Factory(:fault_message, :inverter => @inverter) | |
@inverter_property = Factory(:inverter_property, :inverter => @inverter) | |
@inverter_state = Factory(:inverter_state) | |
@old_inverter_state = Factory(:old_inverter_state) | |
@device = Factory(:device) | |
@fault_group = Factory(:fault_group, :device => @device) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## monitor_poll_test.rb | |
require 'test_helper' | |
class MonitorPollTest < ActiveSupport::TestCase | |
should_belong_to :inverter | |
should_belong_to :inverter_property | |
context "An instance of MonitorPoll" do | |
setup do |