- http://serverfault.com/questions/416787/nginx-403-forbidden-error-hosting-in-user-home-directory
- rails deploy with rvm, capistrano, uniron, nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nltk | |
text = """The Buddha, the Godhead, resides quite as comfortably in the circuits of a digital | |
computer or the gears of a cycle transmission as he does at the top of a mountain | |
or in the petals of a flower. To think otherwise is to demean the Buddha...which is | |
to demean oneself.""" | |
# Used when tokenizing words | |
sentence_re = r'''(?x) # set flag to allow verbose regexps | |
([A-Z])(\.[A-Z])+\.? # abbreviations, e.g. U.S.A. |
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# review: bitcoin | |
- "blockchain" | |
- byzantine fault-tolerant consensus in an unpermissioned setting | |
- before, only had BFT in permissioned setting | |
- bitcoin: applied to digital currency, with limited "smart contract" | |
support | |
- simplest version of this: | |
- state machine for currency | |
- replicated log (ledger) -> replicated state machine |
Unofficial guide on deploying a custom Optimism rollup on Kovan
Clone optimism contracts:
git clone https://github.com/ethereum-optimism/contracts-v2.git