(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.
| ### | |
| FROM mhart/alpine-node | |
| RUN npm install -g http-server | |
| WORKDIR /site | |
| ADD ./ /site | |
| # The default port of the application |
(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.
| /* | |
| wordArray: { words: [..], sigBytes: words.length * 4 } | |
| */ | |
| // assumes wordArray is Big-Endian (because it comes from CryptoJS which is all BE) | |
| // From: https://gist.github.com/creationix/07856504cf4d5cede5f9#file-encode-js | |
| function convertWordArrayToUint8Array(wordArray) { | |
| var len = wordArray.words.length, | |
| u8_array = new Uint8Array(len << 2), | |
| offset = 0, word, i |