Skip to content

Instantly share code, notes, and snippets.

The system is: Darwin - 12.5.0 - i386
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
/*
* object.watch polyfill
*
* 2012-04-03
*
* By Eli Grey, http://eligrey.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/
/**
* Saves record to appropriate container and inits $jsdns if needed.
* @param {Record} r DNS record to be saved.
* @param {function} callback Function to send response to.
*/
this.save = function(r, callback) {
callback = callback || function(m) {log.log(m)};
if (typeof r.$jsdns === 'undefined' || r.$jsdns === null) {
r = new Record(r.name, r.value);
}
#!/bin/sh
# Based on http://jswiki.lab-01.com/wiki/doku.php?id=install-couch
echo "Downloading Linux build tools and Erlang"
sudo apt-get install libmozjs185-1.0 build-essential libicu-dev libcurl4-gnutls-dev libtool erlang-dev erlang zip -y
#sudo /sbin/ldconfig
#echo "Spidermonkey installed."
# Work on tmp directory
@indolering
indolering / namecoind.conf
Last active August 29, 2015 13:57
Upstart script for Namecoin
#save as /etc/init/namecoind.conf
#sudo initctl reload-configuration
#sudo start namecoind
description "namecoind"
start on filesystem
stop on runlevel [!2345]
oom never
expect daemon
var fs = require('fs');
var locations = ['%APPDATA%\\Roaming\\namecoin\\namecoin.conf','%APPDATA%\\namecoin\\namecoin.conf','C:\\Users\\'+process.env.USER+'\\AppData\\Roaming\\Bitcoin\\bitcoin.conf'];
//var locations = [process.env.HOME + '/.namecoin/namecoin.conf','/Users/'+ process.env.USER +'/Library/Application Support/Namecoin/namecoin.conf'];
var worked = [];
for (var i = 0, len = locations.length; i < len; i++) {
var path = locations[i];
if (fs.existsSync(path)) {
worked.push(path);
console.log(i + ': ' + path);
};
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.
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.
client
dev tun
proto udp
remote us-seattle.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
tls-client
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