Skip to content

Instantly share code, notes, and snippets.

Process: Echofon [583]
Path: /Applications/Echofon.app/Contents/MacOS/Echofon
Identifier: com.echofon.Echofon
Version: 0.98.5 (0.98.5)
Code Type: X86 (Native)
Parent Process: launchd [196]
Date/Time: 2010-02-09 07:00:45.830 -0600
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
~ ruby nokogiri_test.rb
got 8 rows, expected 4 on try 289
~ ruby nokogiri_test.rb
got 8 rows, expected 4 on try 495
~ ruby nokogiri_test.rb
got 8 rows, expected 4 on try 256
~ ruby nokogiri_test.rb
got 8 rows, expected 4 on try 256
~ ruby nokogiri_test.rb
got 8 rows, expected 4 on try 745
require 'rubygems'
require 'nokogiri'
html = <<EOS
<html>
<head>
<title>test</title>
</head>
<body>
<table id="some_id">
[~]> irb
irb(main):001:0> {'a' => 1, 'b' => 2}
=> {"a"=>1, "b"=>2}
irb(main):002:0> {'b' => 2, 'a' => 1}
=> {"a"=>1, "b"=>2}
[~]> jirb
irb(main):001:0> {'a' => 1, 'b' => 2}
=> {"a"=>1, "b"=>2}
irb(main):002:0> {'b' => 2, 'a' => 1}
@When("I add a table")
public void iAddATable(Table table) {
List<List<String>> diffList = new ArrayList<List<String>>();
diffList.add(Arrays.asList("a", "b"));
diffList.add(Arrays.asList("1", "2"));
table.diffLists(diffList);
List<Map<String, String>> hashes = new ArrayList<Map<String, String>>(table.hashes());
Map<String, String> newRow = hashes.get(0);
hashes.add(newRow);
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
Java version: 1.6.0_15
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6" arch: "x86_64" Family: "mac"
[DEBUG] Building Maven user-level plugin registry from: '/Users/dholst/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: '/usr/local/maven/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] cuke4duke-maven-plugin: resolved to version 0.1.2 from local repository
/**
* @noinspection ConfusingMainMethod
*/
public static int main( String[] args, ClassWorld classWorld )
{
// ----------------------------------------------------------------------
// Setup the command line parser
// ----------------------------------------------------------------------
CLIManager cliManager = new CLIManager();
git checkout master
git pull
if test -z "`git tag -l last-build`" -o -n "`git diff last-build HEAD`"; then
mvn --batch-mode release:prepare release:perform
git tag -f last-build
else
echo "no changes since last build, skipping release"
fi
private void parseWebPage() {
String line = "";
String url = "";
String proto[] = { "http://", "https://" };
try {
RandomAccessFile f = new RandomAccessFile(getAction(), "r");
while ((line = f.readLine()) != null) {
for (int protocounter = 0; protocounter < proto.length; protocounter++)
if (line.contains(proto[protocounter])) {
try {
Math.calculateViewerLength = function(start, end, xPixelRatio, yPixelRatio, minimumX, minimumY) {
var x1 = (start.x * xPixelRatio) + minimumX
var y1 = (start.y * yPixelRatio) + minimumY
var x2 = (end.x * xPixelRatio) + minimumX
var y2 = (end.y * yPixelRatio) + minimumY
var majorAxis = 6378137
var minorAxis = 6356752.3142
//Determines the true angle of the point with respect to the earth