ubuntu as base
https://counterpartytalk.org/t/counterparty-client-testnet-on-raspbian/1321 https://gist.github.com/JoshuaEstes/4065993 http://counterparty.io/docs/bitcoin_core/
tar -xzvf bitcoin-0.11.2-addrindex-linux64.tar.gz
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
<!--script src="http://ajax.aspnetcdn.com/ajax/knockout/knockout-3.3.0.js"></script--> | |
<script src="http://knockoutjs.com/downloads/knockout-3.2.0.js"></script> | |
<script language="JavaScript"> | |
<!-- | |
// CED subroutine for cleaning up JavaScript rounding errors |
ubuntu as base
https://counterpartytalk.org/t/counterparty-client-testnet-on-raspbian/1321 https://gist.github.com/JoshuaEstes/4065993 http://counterparty.io/docs/bitcoin_core/
tar -xzvf bitcoin-0.11.2-addrindex-linux64.tar.gz
{ | |
"preset": "idiomatic", | |
"validateIndentation": 4, | |
"disallowTabs": true, | |
"requireSpacesInsideParentheses": null, | |
"disallowSpacesInsideParentheses": null, | |
"requireSpacesInsideBrackets": null, | |
"disallowSpacesInsideBrackets": true, | |
"requireSpacesInsideObjectBrackets": null, | |
"requireCamelCaseOrUpperCaseIdentifiers": null, |
[-] lib/app.js
[-] npm-shrinkwrap.json
[-] package.json
[-] patch/connect-databank.patch
[-] test/activity-api-test.js
[-] test/app-bounce-test-as-root.js
[x] test/app-test.js
[-] test/filteredstream-test.js (location -> places... huh?)
[-] test/homepage-noweb-test.js
--- node_modules/simplesmtp/node_modules/rai/lib/rai.js 2015-02-06 09:22:33.000000000 +0000 | |
+++ ../../pump.io/node_modules/simplesmtp/node_modules/rai/lib/rai.js 2015-11-04 20:22:28.437407851 +0000 | |
@@ -425,8 +425,8 @@ | |
return; | |
} | |
this._destroyed = true; | |
- | |
this.removeAllListeners(); | |
+ this.on("error",function(err){}); | |
}; |
Upgrading dependencies:
Showdown: From github: Breaking Changes
NAMESPACE: showdown's namespace changed.
To migrate your code you should update all references to Showdown with showdown.
Converter: converter reference changed from converter to Converter.
curl -i -u 'profOnno:get27hubin' https://api.github.com/repos/profOnno/git_playground/hooks | |
HTTP/1.1 200 OK | |
Server: GitHub.com | |
Date: Fri, 25 Sep 2015 20:17:27 GMT | |
Content-Type: application/json; charset=utf-8 | |
Content-Length: 906 | |
Status: 200 OK | |
X-RateLimit-Limit: 5000 | |
X-RateLimit-Remaining: 4994 | |
X-RateLimit-Reset: 1443215370 |
var fibo = function(n) { | |
return n > 1 ? fibo(n - 1) + fibo(n - 2) : 1; | |
} | |
module.exports=fibo; | |
#!/usr/local/bin/node | |
wt = require('webworker-threads'); | |
fib=require('./fibo'); | |
function doit(){ | |
console.log('before fibo'); | |
console.log('fibo 30:'+fib(30)); |