Skip to content

Instantly share code, notes, and snippets.

@dhl
dhl / web3js-1.0.0-beta.31_clearSubscriptions_bug_demo.html
Last active June 21, 2018 06:59
Demo of web3.shh.clearSubscriptions Bug
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>web3.shh.clearSubscriptions bug demo</title>
</head>
<body>
<script src="https://rawgit.com/ethereum/web3.js/1.0/dist/web3.min.js"></script>
<script>
const web3 = new Web3('ws://localhost:8546');
@dhl
dhl / eventemitter3_demo.html
Last active February 28, 2018 16:07
Example of Inter Object Communication with EventEmitter3
<!doctype>
<html>
<head>
<title>Inter Object Communication Example</title>
</head>
<body>
<h1>OrderBooks</h1>
<p id="orders"></p>

Keybase proof

I hereby claim:

  • I am dhl on github.
  • I am dhl (https://keybase.io/dhl) on keybase.
  • I have a public key whose fingerprint is 217E 1ECE 2349 D178 73E5 C194 1E2E C02A A74A A531

To claim this, I am signing this object:

#!/usr/bin/perl
$f = $ARGV[0];
$pagestart = 0;
$charstart = 0;
$kernstart = 0;
$s = "<?xml version=\"1.0\"?>\n<font>\n";
open(F, $f);

Keybase proof

I hereby claim:

  • I am dhl on github.
  • I am dhl (https://keybase.io/dhl) on keybase.
  • I have a public key whose fingerprint is 217E 1ECE 2349 D178 73E5 C194 1E2E C02A A74A A531

To claim this, I am signing this object:

@dhl
dhl / hack4dimsum.md
Created April 23, 2014 14:55
Hack for Dim Sum

= Things to do =

  • Create a CRUD system to manage member data
  • Connect the member system to grant/deny access to dootdoorlock
  • Setup CMS (Wordpress?)
  • Connect the member system to auto create/delete account on CMS
  • Connect the member system to mailing list