Skip to content

Instantly share code, notes, and snippets.

View iterator.js
'use strict'
process.env.DEBUG = process.env.DEBUG || 'bfx:*'
const path = require('path')
const Hyperbee = require('hyperbee')
const hypercore = require('hypercore')
const replicate = require('@hyperswarm/replicator')
View empty-results.js
'use strict'
const dazaar = require('dazaar')
const swarm = require('dazaar/swarm')
const Hyperbee = require('hyperbee')
const times = {
'1m': 60 * 1000,
'5m': 5 * 60 * 1000,
View tweak-2.js
'use strict'
// process.env.DEBUG = '*'
const path = require('path')
const async = require('async')
const hypercore = require('hypercore')
const Hyperbee = require('hyperbee')
View tweak.js
'use strict'
// process.env.DEBUG = '*'
const path = require('path')
const async = require('async')
const hypercore = require('hypercore')
const Hyperbee = require('hyperbee')
View robert.key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHlSTnX+h3zCDKWZhFDKU2KXzJPg9enu65Fl0ckiYUbdg+f1U5WE3EB2LGHg7CHS7nOVjDNypVAI9haRZ9Payy8nSSZBidxTt0TdUSLpI1qv7EMjWjv6hejdXjPVUVbzKOhc5Anb3UEAzOd3L/+2FqsaM0+/c0nLTxajReq9jUr8Mu+d2gisICkEKPccyZqV7bmbv2zN5XFWt6amw+fjT1Wnna/FjBMOa3ysnwg1ZNa8oR/oyjx9rzzYCpjvJxIH462XeBzzMV1pnq+Xq7CquTG4gFoXEeFii3fYX0r3/L4amHcl4TTqBP/sAWfGb7MVPeUKnpYcdrHQ77jk6TDkb1 robert@tequila-new.fritz.box
View proxy.js
// wrap "old" sunbeam instance so usage stays same for users
class Sbw {
constructor(client, opts) {
const w = new Sunbeam({}, opts)
const trap = {
get: function(obj, prop) {
if (obj[prop]) return obj[prop]
View 1.txt
node test.js --debug 1 --foo=2 --blerg
// { debug: '1', foo: '2', blerg: true }
@robertkowalski
robertkowalski / Unconf.md
Created Apr 5, 2018
What is an Unconference?
View Unconf.md

What is an Unconference?

An Unconference is an event for and driven by the attendees. The audience actively participates in the unconference by proposing topics, holding presentations (if you like to) and by choosing which topics shall be presented. Only the most interesting ones are presented.

How does an Unconference work?

  • Each attendee can propose contributions, which can be talks, workshops, discussion ideas or happenings.
  • Everyone can claim an interest, which can be everything. Hopefully, someone will contribute something to that topic.
  • The porposed contributions are presented to the audience.
  • Everyone votes on the contributions.
View test.diff
diff --git a/test/ping.js b/test/ping.js
index a9631d9..3288440 100644
--- a/test/ping.js
+++ b/test/ping.js
@@ -44,6 +44,7 @@ test('testing clones', function (t) {
dht2.on('ready', function () {
dht2.destroy(function () {
+ //console.log("----")
dht3 = dht({bootstrap: ['127.0.0.1:10000']})
View example-language-tool.js
{
"software":{
"name":"LanguageTool",
"version":"4.0-SNAPSHOT",
"buildDate":"2017-11-29 21:01",
"apiVersion":1,
"status":""
},
"warnings":{
"incompleteResults":false
You can’t perform that action at this time.