Skip to content

Instantly share code, notes, and snippets.

------------------------
Exception: Error: spawn Unknown system errno 12
Error: spawn Unknown system errno 12
at errnoException (child_process.js:481:11)
at ChildProcess.spawn (child_process.js:444:11)
at child_process.js:342:9
at Decoder.createMp3Encoder (/home/deployer/radio/releases/20121118075051/lib/decoder.js:78:17)
at Decoder.createStreams (/home/deployer/radio/releases/20121118075051/lib/decoder.js:30:19)
at ReadStream.<anonymous> (/home/deployer/radio/releases/20121118075051/lib/streamer.js:45:18)
at ReadStream.emit (events.js:67:17)
require([
"app/namespace",
// Libs
"jquery",
"use!backbone",
// Plugins
"use!jqueryCookie",
"use!jqueryValidate",
// Set the require.js configuration for your application.
require.config({
// Initialize the application with the main application file
deps: ["app/main"],
paths: {
// JavaScript folders
libs: "libs",
plugins: "plugins",
rake aborted!
Riak::Node configuration must include :source and :root keys.
/Users/pedromtavares/.rvm/gems/ruby-1.9.2-p290/bundler/gems/riak-ruby-client-38d07be7c4cb/lib/riak/cluster.rb:29:in `initialize'
/Users/pedromtavares/.rvm/gems/ruby-1.9.2-p290/bundler/gems/ripple-5e89166bbf76/lib/ripple/railties/ripple.rake:102:in `new'
/Users/pedromtavares/.rvm/gems/ruby-1.9.2-p290/bundler/gems/ripple-5e89166bbf76/lib/ripple/railties/ripple.rake:102:in `cluster'
/Users/pedromtavares/.rvm/gems/ruby-1.9.2-p290/bundler/gems/ripple-5e89166bbf76/lib/ripple/railties/ripple.rake:22:in `block (2 levels) in <top (required)>'
/Users/pedromtavares/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/pedromtavares/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/pedromtavares/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/pedromtavares/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2.2/lib/rake/task.r
# Configure Riak connections for the Ripple library.
development:
#http_port: 8092
#pb_port: 8087
nodes:
- host: 127.0.0.1
http_port: 8091
- host: 127.0.0.1
http_port: 8092
- host: 127.0.0.1
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define TAMANHO 10
long fibonacci(long);
main (){
long i, resultado[TAMANHO];
package com.ped;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.http.HttpResponse;
@pedromtavares
pedromtavares / gist:1136121
Created August 10, 2011 04:27
nodejs streamer
var http = require('http');
var url = 'http://radio.pedromtavares.com:10000'; // URL to a known Icecast stream
var icecast = require('icecast-stack');
var stream = icecast.createReadStream(url);
// var radio = require("radio-stream");
// var stream = radio.createReadStream(url);
require File.dirname(__FILE__) + '/acceptance_helper'
feature "Login", %q{
In order to be able to use the application
As a user
I want to be able to login
} do
background do
Factory(:user, :login => 'default', :name => 'Default')
Feature: Login
In order to be able to use the application
As a user
I want to be able to login
Background:
Given the following users exists:
| name | login | password | password_confirmation |
| Default | default | 123456 | 123456 |