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
$ java -version | |
java version "1.6.0_26" | |
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425) | |
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode) |
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
14:43:13,526 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) Warning: no min runtimes specified. | |
14:43:13,532 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) Warning: no max runtimes specified. | |
14:43:13,536 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) An exception happened during JRuby-Rack startup | |
method 'to_yaml' not defined in Object | |
--- System | |
jruby 1.6.6 (ruby-1.9.2-p312) (2012-01-30 5673572) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java] | |
Time: 2012-01-30 14:43:13 -0700 | |
Server: JBoss Web/7.0.7.Final | |
jruby.home: classpath:/META-INF/jruby.home |
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
def find_by_row_identifier_and_column_name(row_identifier, column_name) | |
#XPath resources | |
# http://msdn.microsoft.com/en-us/library/ms256086.aspx | |
# | |
# Figure out the column number for the given column_name | |
# //th[contains(., 'Magic')] find the first TH whose enclosing EM is 'Magic' | |
# /preceding::th finds the collection of TH elements which appear before this one | |
# XML indexes start with 1 not 0, so we add 1 | |
column_number = 1 + all(:xpath, "//th[contains(., '#{column_name}')]/preceding::th").length |
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
<VirtualHost *:80> | |
ServerName pow | |
ServerAlias *.dev | |
ServerAlias *.xip.io | |
ProxyPassMatch ^/~ ! | |
ProxyPass / http://localhost:20559/ | |
ProxyPassReverse / http://localhost:20559/ | |
ProxyPreserveHost On | |
</VirtualHost> |
I hereby claim:
- I am dobbs on github.
- I am dobbs (https://keybase.io/dobbs) on keybase.
- I have a public key whose fingerprint is 1DC7 AB3B 74DE 8F9F 31D0 D1A9 5AC0 5EE0 DBBE B4CF
To claim this, I am signing this object:
Mouseover to repel nodes. Adapted from an adaptation of Mike Bostock's talk on force layouts.
Trying to get collision detection of rectangular objects.
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<html> | |
<head> | |
<title>grids</title> | |
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript"></script> | |
<style type="text/css"> | |
svg {border: 1px solid #d0d0d0;} | |
</style> | |
</head> |
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
###### go-server.deb ########################################################### | |
$ curl -O http://download.go.cd/gocd-deb/go-server-14.2.0-377.deb | |
###### SHA1 | |
$ echo "5f66e4effde11695f606270ea0eb27eb36226033 go-server-14.2.0-377.deb" | sha1sum -c - | |
go-server-14.2.0-377.deb: FAILED | |
sha1sum: WARNING: 1 computed checksum did NOT match | |
$ sha1sum go-server-14.2.0-377.deb | |
77da6bab514c386f4a41304ab9dc66504bf385b0 go-server-14.2.0-377.deb |
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 'capybara' | |
Capybara.default_driver = :selenium | |
Capybara.javascript_driver = :selenium | |
Capybara.run_server = false | |
Capybara.app_host = 'http://localhost:3000' | |
class Scratch | |
include Capybara::DSL |
OlderNewer