Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
//import "openzeppelin-solidity/contracts/ECRecovery.sol"; | |
contract InviteLink { | |
using ECRecovery for bytes32; | |
IERC1077 owner; | |
// Mappings of transit pub key => true if link is used. | |
mapping (bytes => bool) usedLinks; | |
constructor(IERC1077 _owner) { |
Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
from pyxdameraulevenshtein import damerau_levenshtein_distance | |
words = [line.strip().split(" ")[1] for line in open('wordlist.txt')] | |
out = [] | |
for word in words: | |
if len(out) >= 2148: break | |
if len(word) < 4 or len(word) > 8: continue | |
if len(out) > 0 and min(damerau_levenshtein_distance(x, word) for x in out) < 2: continue | |
if any(x.startswith(word[:4]) for x in out): continue | |
print word | |
out.append(word) |
Name: Flash | |
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc= | |
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676 | |
Thank you! |
This Gist presents a new design of class-based object construction in ES6 that does not require use of the two-phase @@create protocol.
One of the characteristics of this proposal is that subclass constructors must explicitly super invoke their superclass's constructor if they wish to use the base class' object allocation and initialization logic.
An alternative version of this design automatically invokes the base constructor in most situations.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |