Skip to content

Instantly share code, notes, and snippets.

View madadam's full-sized avatar

Adam Cigánek madadam

View GitHub Profile
@madadam
madadam / B9.netkan
Last active August 29, 2015 14:10
CKAN config for B9
{
"spec_version" : 1,
"identifier" : "B9",
"$kref" : "#/ckan/kerbalstuff/132",
"license" : "CC-BY-NC-SA-3.0",
"depends" : [
{ "name" : "CrossFeedEnabler" },
{ "name" : "FirespitterCore" },
{ "name" : "KineTechAnimation" },
{ "name" : "KlockheedMartian-Gimbal" },
def has_selector?(*args)
options = if args.last.is_a?(Hash) then args.last else {} end
wait_conditionally_until do
results = all(*args)
if results.empty?
false
else
case
when options[:between]
@madadam
madadam / dsss.conf
Created September 27, 2010 21:49
dsss @Property link bug
[main.d]
> ruby test.rb
Loaded suite test
Started
F
Finished in 0.004835 seconds.
1) Failure:
test_foo(FooTest)
[test.rb:13:in `assert_foo'
test.rb:7:in `test_foo']:
> ruby test.rb
Loaded suite test
FooTest
test_foo FAIL
test.rb:13:in `assert_foo'
foo failed.
<true> expected but was
<false>.
==============================================================================
pass: 0, fail: 1, error: 0
require 'rubygems'
require 'test/unit'
require 'turn'
class FooTest < Test::Unit::TestCase
def test_foo
assert_foo false
end
private