Skip to content

Instantly share code, notes, and snippets.

@robertkowalski
robertkowalski / npm-registry-licenses.txt
Created Nov 23, 2013
The licenses in the npm-registry from their package.json, from the latest version of each module 23.11.2013
View npm-registry-licenses.txt
The licenses in the npm-registry from their package.json, from the latest version of each module
23.11.2013
[ { key: 'undefined', value: 27785 },
{ key: 'MIT', value: 20811 },
{ key: 'BSD', value: 5240 },
{ key: 'BSD-2-Clause', value: 621 },
{ key: 'Apache 2.0', value: 263 },
{ key: 'GPL', value: 233 },
@robertkowalski
robertkowalski / gist:4206422
Created Dec 4, 2012
adding meta tags to head with javascript
View gist:4206422
var meta=document.createElement('meta');
meta.name='viewport';
meta.setAttribute('content', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0');
document.getElementsByTagName('head')[0].appendChild(meta);
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.
You can’t perform that action at this time.