Skip to content

Instantly share code, notes, and snippets.

View joystick's full-sized avatar
🧨

Alexei Kozhushkov joystick

🧨
View GitHub Profile
C:\rutopia\ruote-kit>rake spec
(in C:/rutopia/ruote-kit)
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFF
1)
IOError in 'json helper rendering defaults should have the key & value'
closed stream
C:/rutopia/ruote-kit/vendor/gems/dirs/ruote/lib/ruote/util/bucket.rb:122:in `flo
ck'
Loaded suite test/test
Started
..........
using engine of class Ruote::Engine (cache off)
FF...............................................................................................................................................................................................F...........FFFFF........................................E.....................................
--------------------------------------------------------------------------------
caught process error(s)
** RuntimeError : no subprocess named 'C:/rutopia/ruote/test/pdef.xml' found
C:\rutopia>ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-mswin32]
C:\rutopia>gem list
*** LOCAL GEMS ***
bundler (0.7.1)
columnize (0.3.1)
daemons (1.0.10)
#container {
margin: 20px;
}
#dnd {
height: 100px;
width: 100px;
border: 2px solid red;
background: white;
<!DOCTYPE html>
<html>
<head>
<link href="http://code.jquery.com/mobile/latest/jquery.mobile.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.js"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.rc.1.js"></script>
var results = [];
$('#save').click(function(e) {
e.preventDefault();
var url = "http://md5.jsontest.com/?text=" + $('#basic').val();
$.getJSON(url,
function(data) {
addToList(data.md5);
});
});
<!DOCTYPE html>
<html>
<head>
<script src="http://documentcloud.github.io/underscore/underscore-min.js"></script>
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.css" />
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
{
"checks": {
"cron_check": {
"handlers": ["default", "mailer"],
"command": "/etc/sensu/plugins/check-procs.rb -p cron -C 1 ",
"interval": 60,
"subscribers": [ "test" ]
}
}
}
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<link href="https://code.jquery.com/qunit/qunit-git.css" rel="stylesheet" type="text/css" />
<script src="https://code.jquery.com/qunit/qunit-git.js"></script>
<script src="http://jashkenas.github.io/underscore/underscore-min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
@joystick
joystick / rx_meteor.js
Created March 24, 2016 11:09 — forked from voxlet/rx_meteor.js
Rx Observable from Meteor reactive source
import Rx from 'rx';
function fromTrackerSource(source) {
return fromAutorun(function(observer) {
try {
observer.onNext(source());
} catch (e) {
observer.onError(e);
}
});