- Wisdom of the Idiots by Idries Shah
- Tao Te Ching by Lao Tzu & Stephen Mitchell
- Napalm & Silly Putty by George Carlin
- Grooks by Piet Hein
- [The Scripture in 42 Parables: and Other Buddhist Classics from the Chinese Transmission by We
npm install --save-dev babel-cli babel-preset-env babel-plugin-transform-runtime
{
"presets": ["env"],
"plugins": ["transform-runtime"]
}
This file contains hidden or 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
| /* | |
| Here's a bit of code demonstrating the cascade of usign `static` functions within a class. | |
| From top to bottom each subsiquent function utilizes the next. This allows you to piece-meal | |
| the functions needed by declaring the method names based on what they return i.e. `bool`, `throw`, and `middleware`. | |
| Note, I'm intentionally not using a constructor here, and I am also intentionally passing in | |
| the same arguments to each of the function methods. | |
| */ |
This file contains hidden or 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 React, {Component} from 'react' | |
| import FontAwesome from 'react-fontawesome' | |
| const range = (range) => Array(range).fill().map((_, i) => i * i) | |
| export const YELLOW = 'yellow' | |
| export const GRAY = 'gray' | |
| export const BLACK = 'black' | |
| export const WHITE = 'white' | |
| export const HEX_YELLOW = '#FBD330' |
- http://localhost:3000/mock/cs/distributors
- http://localhost:3000/mock/cs/distributor/1
- http://localhost:3000/mock/cs/distributor/1/edit-hours
- http://localhost:3000/mock/cs/customers
- http://localhost:3000/mock/cs/customer/1
- http://localhost:3000/mock/cs/orders
- http://localhost:3000/mock/cs/order/1
- http://localhost:3000/mock/cs/past-orders
This file contains hidden or 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
| #!/usr/local/bin/expect -f | |
| set timeout -1 | |
| spawn $env(SHELL) | |
| match_max 100000 | |
| send -- "eb init\r" | |
| expect "Select a default region" | |
| send -- "5\r" | |
| expect "Select an application to use" | |
| send -- "1\r" |
This file contains hidden or 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 {set} from 'lodash' | |
| export const epicGenerator = (generalType, fulfilledType, rejectedType, asyncCall) => { | |
| return (action$, store) => { | |
| return action$.filter(action => action.type === generalType) | |
| .flatMap(async (action) => { | |
| try { | |
| const payload = await asyncCall(action) | |
| return { | |
| type: fulfilledType, |
This file contains hidden or 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
| npm ERR! Error: connect ECONNREFUSED 127.0.0.1:5080 | |
| npm ERR! at Object.exports._errnoException (util.js:870:11) | |
| npm ERR! at exports._exceptionWithHostPort (util.js:893:20) | |
| npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) | |
| npm ERR! { [Error: connect ECONNREFUSED 127.0.0.1:5080] | |
| npm ERR! code: 'ECONNREFUSED', | |
| npm ERR! errno: 'ECONNREFUSED', | |
| npm ERR! syscall: 'connect', | |
| npm ERR! address: '127.0.0.1', | |
| npm ERR! port: 5080, |
This file contains hidden or 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 'rxjs' | |
| import { createStore, applyMiddleware } from 'redux' | |
| import { combineEpics, createEpicMiddleware } from 'redux-observable' | |
| import { filter } from 'lodash' | |
| import {APP_NAME} from './app' | |
| const REDUCER = 'puppy' | |
| const SELECT = `${APP_NAME}/${REDUCER}/SELECT` |
I hereby claim:
- I am reggi on github.
- I am reggi (https://keybase.io/reggi) on keybase.
- I have a public key whose fingerprint is AC12 0D94 299F 9003 3F9F D104 953B 1058 2B89 E9E2
To claim this, I am signing this object: