This file contains hidden or 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
Ticket: #141419 | |
OHtele Support | |
No connectivity to Xeriom.net | |
Created: 27 October 2011 08:09 PM Updated: 27 October 2011 08:09 PM | |
DEPARTMENT | |
OHtele Support | |
OWNER | |
Unassigned |
This file contains hidden or 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
#! /usr/bin/env ruby | |
require 'mechanize' | |
unless ARGV.size >= 2 | |
puts "#{File.basename($0)} <site-url> <user agent header>" | |
exit 1 | |
end | |
site = ARGV.shift |
This file contains hidden or 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
before: | |
def process_message message | |
logger.debug "Started #{message.headers["message-id"]}" | |
event = JSON.parse message.body | |
logger.debug "Action: #{event['action']}" | |
match_id = event['matchID'] | |
active_entries = PassingGame::Entry.count_active_for match_id | |
logger.info "#{active_entries} active entries for match_id = #{match_id}" | |
if fail_on? event |
This file contains hidden or 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
A B C | |
\ | / | |
\ | / | |
D | |
D^ = D^1 = A | |
D^2 = B | |
D^3 = C |
This file contains hidden or 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
filetype off | |
call pathogen#runtime_append_all_bundles() | |
filetype plugin indent on | |
set nocompatible | |
set modelines=0 | |
set tabstop=2 | |
set shiftwidth=2 |
This file contains hidden or 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
<div class="actions left"> | |
<h3>Home</h3> | |
<% @home_actions.each do |player_action| %> | |
<%=h player_action.inspect %><br /> | |
<% end %> | |
</div> | |
<div class="actions right"> | |
<h3>Away</h3> | |
This file contains hidden or 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
render 'foo/index.html.erb' | |
render :template => 'page_title.html.erb' # <%= yield :page_title %> | |
response.body.should == 'foo_title' |
This file contains hidden or 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
2010-07-19T17:08:28+00:00 hostname-004 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:28+00:00 hostname-004 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:29+00:00 hostname-004 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:32+00:00 hostname-008 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:33+00:00 hostname-008 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:33+00:00 hostname-008 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:38+00:00 hostname-004 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:38+00:00 hostname-004 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:38+00:00 hostname-004 epmd: epmd: epmd running - daemon = 1 | |
2010-07-19T17:08:42+00:00 hostname-008 epmd: epmd: epmd running - daemon = 1 |
This file contains hidden or 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
==> Waiting for Selenium RC server on port 4444... Ready! | |
==> Waiting for rails application server on port 3001... Ready! | |
11:08:53.065 ERROR - Failed to start new browser session, shutdown browser and clear all session data | |
org.openqa.selenium.server.RemoteCommandException: timed out waiting for window 'null' to appear | |
at org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java:569) | |
at org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java:526) | |
at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:373) | |
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:124) | |
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:86) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:733) |
This file contains hidden or 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
# run with ruby -rubygems serve.rb | |
require 'mongrel' | |
h = Mongrel::HttpServer.new("0.0.0.0", "3000") | |
h.register("/", Mongrel::DirHandler.new(File.dirname(__FILE__))) | |
h.run.join |