Skip to content

Instantly share code, notes, and snippets.

@lucasomigli
lucasomigli / Blockchain.py
Last active Sep 11, 2019
Blockchain Example
View Blockchain.py
import datetime
import hashlib
import random
class Block:
blockNo = 0
data = None
next = None
hash = None
nonce = 0
@lucasomigli
lucasomigli / README.md
Last active Dec 23, 2017 — forked from remarkablemark/README.md
Classes - ES5 vs ES6
View README.md

JavaScript Classes - ES5 vs ES6

An example that shows the difference between creating a JavaScript class and subclass in ES5 and ES6.

Reference