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
events:12 | |
throw arguments[1]; | |
^ | |
Error: ENOTFOUND, Domain name not found | |
at IOWatcher.callback (dns:53:15) | |
at node.js:265:9 |
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
NPROC USERNAME SWAP RSS MEMORY TIME CPU | |
12 node 20M 35M 14% 0:00:13 0.0% | |
1 daemon 1864K 7700K 2.9% 0:00:03 0.0% | |
17 root 485M 223M 87% 0:08:36 0.0% |
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
From 608c05870aad7a1fedf265b9ef34e600c9005851 Mon Sep 17 00:00:00 2001 | |
From: Trotter and Mat <dev@hoopla.net> | |
Date: Thu, 9 Sep 2010 11:26:44 -0400 | |
Subject: [PATCH] Properly re-sort two sided multi selector. | |
--- | |
.../jquery.twosidedmultiselect-3.0.0-modified.js | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/src/resources/Scoreboard/js/lib/jquery.twosidedmultiselect-3.0.0-modified.js b/src/resources/Scoreboard/js/lib/jquery.twosidedmultiselect-3.0.0-modified.js |
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
module MaRuKu::Out::Prawn | |
def to_prawn(pdf) | |
@pdf = pdf | |
@pdf.font_size = 11 | |
array_to_prawn(@children) | |
end | |
def array_to_prawn(children) | |
children.each do |c| | |
send("to_prawn_#{c.node_type}", c) |
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 'rubygems' | |
require 'jekyll' | |
require 'maruku' | |
require 'pathname' | |
# Need pre for inline format support | |
gem 'prawn', '=0.11.1.pre' | |
require 'prawn' | |
require 'to_prawn' | |
class Converter |
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
public class Player { | |
SinOsc s => dac; | |
440 => s.freq; | |
0.5 => s.gain; | |
fun void play() { | |
3::second => now; | |
} | |
} |
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
1::minute / 100 => dur T; | |
T - (now % T) => now; | |
T * 4 => dur t1; | |
T * 2 => dur t2; | |
T => dur t4; | |
T / 2 => dur t8; | |
T / 4 => dur t16; |
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 new_app_instance(): | |
"Makes a new app instance with an EBS volume" | |
# ... snip ... | |
prepare_app_instance(instance.dns_name) | |
return instance.id | |
def prepare_app_instance(hostname): | |
"Prepares the given hostname to run chef" | |
env.hosts = [hostname] | |
env.user = "root" |
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
module Selenium | |
Net = ::Net.dup | |
module Net | |
HTTP = Artifice::NET_HTTP | |
end | |
end | |
class Capybara::Server | |
Net = ::Net.dup | |
module Net |
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
❷ > ruby quicktest.rb | |
Loaded suite quicktest | |
Started | |
. | |
Finished in 0.001060 seconds. | |
1 tests, 3 assertions, 0 failures, 0 errors, 0 skips | |
Test run options: --seed 33394 |