Skip to content

Instantly share code, notes, and snippets.

First, install the extension here:
http://secure.www.speech.is/FreeSpeechMe.xpi
Reboot Firefox. If Firefox hangs while rebooting, kill the Firefox
process and try again.
Then, visit the following URL:
https://secure.www.speech.is/
'use strict';
function map(doc,emit,rejectify) {
var that = this;
this.regexes = {
good: (/^[a-z0-9][a-z0-9.-:]{2}[a-z0-9_.!~*'()#;,?:-@&=+$]|\/*/),
bad: (/^(0|10|127|192|198|24[0-5]|255).*|^localhost.*|^(::$|::1$|2001:db8:.*)|^\s.*/),
name: (/^[a-z]$|^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/)
};
$ echo '"time" : 1303217980"' | grep -o "\"time\" : [0-9]*"
$ "time" : 1303217980
$ echo '"time" : 1303217980"' | grep -o "(?:\"time\" \: )[0-9]*"
$
var dbname = "dbtemp" + randomName();
var docname = "doc" + randomName();
var PouchDB = require('pouchdb');
var pouch = new PouchDB(dbname);
pouch.put({_id: docname}).then(function() {
pouch.put({_id: docname}).then(function() {
pouch.replicate.to('http://localhost:5984/'+ dbname).on('error', function(err) {
console.log('error');
console.log(err);
complete
{ ok: true,
start_time: Fri May 16 2014 18:43:13 GMT-0700 (PDT),
docs_read: 0,
docs_written: 0,
doc_write_failures: 0,
errors: [],
status: 'complete',
end_time: Fri May 16 2014 18:43:14 GMT-0700 (PDT),
last_seq: 0 }
tempdb.replicate.to('http://localhost:5984/namecoin')
.on('error', function (err, resp) {
console.log("err", err, "resp", resp);
})
Marker - May 16, 2014, 5:43:01 PM
[info] [<0.12643.0>] 127.0.0.1 - - GET /namecoin/ 200
[info] [<0.12624.0>] 127.0.0.1 - - GET / 200
[info] [<0.12625.0>] 127.0.0.1 - - GET /namecoin/_local/00b5292c6133e6367a17d23aac7dd2be 404
client
dev tun
proto udp
remote us-seattle.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
tls-client
indolering@ubuntu:~/nmc-libcoin$ autoreconf -vif -Wall
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=all -Im4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
configure.ac:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
aclocal.m4:432: AM_INIT_AUTOMAKE is expanded from...
configure.ac:2: the top level
configure.ac:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=all -Im4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
configure.ac:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
aclocal.m4:438: AM_INIT_AUTOMAKE is expanded from...
configure.ac:2: the top level
configure.ac:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:3: You should use the 'AC_CONFIG_HEADERS' macro instead.