Skip to content

Instantly share code, notes, and snippets.

View bneiluj's full-sized avatar
🏠
Working from home

Julien Bouteloup bneiluj

🏠
Working from home
View GitHub Profile
@Dobrokhvalov
Dobrokhvalov / InviteLink.sol
Last active January 22, 2019 10:44
InviteLink module for ERC-1077
@bneiluj
bneiluj / Rinkeby.md
Created October 20, 2017 14:59 — forked from learner-long-life/Rinkeby.md
How to get on Rinkeby Testnet in less than 10 minutes

How to get on Rinkeby Testnet in less than 10 minutes

Following instructions from the excellent https://www.rinkeby.io/

Synchronizing a Full Node

A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,

@Arachnid
Arachnid / genwordlist.py
Last active June 19, 2017 12:22
An attempt at a better mnemonic wordlist. All words are 4-8 characters; all 4-character prefixes are unique, and no two words have edit distance < 2.
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!
@bneiluj
bneiluj / 0Option2ConstructorSummary.md
Created May 26, 2016 10:01 — forked from allenwb/0Option2ConstructorSummary.md
New ES6 constructor features and semantics: Alternative 2 manual super in derived classes

New ES6 Constructor Semantics and Usage Examples

Manual super: Alternative Design where subclass constructors do not automatically call superclass constructors

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.

@staltz
staltz / introrx.md
Last active August 1, 2024 08:51
The introduction to Reactive Programming you've been missing
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active July 24, 2024 15:28
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/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