Skip to content

Instantly share code, notes, and snippets.

View robertkowalski's full-sized avatar

Robert Kowalski robertkowalski

View GitHub Profile
@robertkowalski
robertkowalski / npm-registry-licenses.txt
Created November 23, 2013 22:31
The licenses in the npm-registry from their package.json, from the latest version of each module 23.11.2013
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 December 4, 2012 17:17
adding meta tags to head with javascript
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);

Algo Orders Setup Guide

  1. On https://honey.bitfinex.com/, download the latest version of the Honey Framework:

Screen Shot 2020-11-11 at 13 40 32

  1. When you double click on the downloaded file, it is extracted for you on Mac OS. On Windows, right-click to select "Extract All", and then follow the instructions.

  2. Start the application by double clicking bfx-hf-ui.app (OSX) or The Honey Framework (Windows)

  3. When the application has started, enter a safe password which will be used to encrypt your Bitfinex API Keys:

'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')
'use strict'
const dazaar = require('dazaar')
const swarm = require('dazaar/swarm')
const Hyperbee = require('hyperbee')
const times = {
'1m': 60 * 1000,
'5m': 5 * 60 * 1000,
'use strict'
// process.env.DEBUG = '*'
const path = require('path')
const async = require('async')
const hypercore = require('hypercore')
const Hyperbee = require('hyperbee')
'use strict'
// process.env.DEBUG = '*'
const path = require('path')
const async = require('async')
const hypercore = require('hypercore')
const Hyperbee = require('hyperbee')
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHlSTnX+h3zCDKWZhFDKU2KXzJPg9enu65Fl0ckiYUbdg+f1U5WE3EB2LGHg7CHS7nOVjDNypVAI9haRZ9Payy8nSSZBidxTt0TdUSLpI1qv7EMjWjv6hejdXjPVUVbzKOhc5Anb3UEAzOd3L/+2FqsaM0+/c0nLTxajReq9jUr8Mu+d2gisICkEKPccyZqV7bmbv2zN5XFWt6amw+fjT1Wnna/FjBMOa3ysnwg1ZNa8oR/oyjx9rzzYCpjvJxIH462XeBzzMV1pnq+Xq7CquTG4gFoXEeFii3fYX0r3/L4amHcl4TTqBP/sAWfGb7MVPeUKnpYcdrHQ77jk6TDkb1 robert@tequila-new.fritz.box
// 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]
node test.js --debug 1 --foo=2 --blerg
// { debug: '1', foo: '2', blerg: true }