A collection of links to the "Master the JavaScript Interview" series of medium stories by Eric Elliott.
Ethereum is a trustless network of VMs which run smart contracts submitted by users. It uses proof-of-work to synchronize state across the network, and has every node execute the contracts in order to verify the state's validity. Each transaction is stored in the blockchain for replayability. Read more about it here.
Ethereum's "trustless network" model has some disadvantages:
- Transaction processing is slow - it maxes at roughly 25tx/s right now for all contracts combined.
- Every transaction costs money to execute.
- The entire blockchain state must be shared across the computing network.
- No private transactions.
These are instructions for setting up git to authenticate with GitHub when you have 2-factor authentication set up. This authentication should be inherited by any GUI client you are using. These are intentionally brief instructions, with links to more detail in the appropriate places.
-
Download and install the git command-line client (if required).
-
Open the git bash window and introduce yourself to git (if required):
git config --global user.name 'Firstname Lastname' git config --global user.email 'firstname.lastname@gov.bc.ca'
| module.exports = { | |
| promisify: function (web3) { | |
| // Pipes values from a Web3 callback. | |
| var callbackToResolve = function (resolve, reject) { | |
| return function (error, value) { | |
| if (error) { | |
| reject(error); | |
| } else { | |
| resolve(value); | |
| } |
This guide assumes you have the emmet and language-babel packages already installed in Atom
- Open the
keymap.csonfile by clicking onAtom -> Keymap…in the menu bar - Add these lines of code to your keymap:
'atom-text-editor[data-grammar~="jsx"]:not([mini])':| { | |
| "presets": ["es2015"], | |
| "plugins": ["transform-async-to-generator"] | |
| } |
| const I = x => x | |
| const K = x => y => x | |
| const A = f => x => f (x) | |
| const T = x => f => f (x) | |
| const W = f => x => f (x) (x) | |
| const C = f => y => x => f (x) (y) | |
| const B = f => g => x => f (g (x)) | |
| const S = f => g => x => f (x) (g (x)) | |
| const S_ = f => g => x => f (g (x)) (x) | |
| const S2 = f => g => h => x => f (g (x)) (h (x)) |
Make sure you have installed Homebrew and (Homebrew-Cask)[http://caskroom.io/].
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Homebrew-cask
brew install caskroom/cask/brew-cask
| import transitions from './transitions.css'; | |
| export default () => ( | |
| <ReactCSSTransitionGroup transitionName={transitions}> | |
| { ... } | |
| </ReactCSSTransitionGroup> | |
| ); |
