I hereby claim:
- I am gurre on github.
- I am gurre (https://keybase.io/gurre) on keybase.
- I have a public key ASDCO6KPRsTvh7hUpJAJcgGQd58YRD8us6ETmy23Ve8f1wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
uuidgen | tr "[:upper:]" "[:lower:]" |
$ lsusb | |
Bus 001 Device 005: ID 0ccd:10af TerraTec Electronic GmbH | |
Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. | |
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter | |
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. | |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
$ dmesg | |
[2702794.172946] usb 1-1.5: new high-speed USB device number 5 using dwc_otg | |
[2702794.277932] usb 1-1.5: New USB device found, idVendor=0ccd, idProduct=10af |
ffmpeg -i "http://svtplay8g-f.akamaihd.net/i/se/open/20170414/1373874-001A/PG-1373874-001A-DOXTHATSUGAR-02_,988,240,348,456,636,1680,2796,.mp4.csmil/index_5_av.m3u8?null=0" -vcodec copy -strict experimental "file:dox-sockerfilmen-avsnitt-1.mp4" |
import R from 'ramda' | |
import { Jobs } from '../actions/index' | |
const reducer = (state = [], action) => R.cond([ | |
[ R.equals(Jobs.TYPE.receive), R.always(action.payload) ], | |
[ R.T, R.always(state) ] | |
])(action.type) | |
export default reducer |
const { apply, concat, identity, pipe, pipeP, unapply } = require('ramda'); | |
/** | |
* Similar to `pipe` and `pipeP`, but this method allows interpolation of | |
* async and sync functions by preceding all the passed in functions with a | |
* resolved promise. All functions must be unary (unlike the first argument | |
* of it's sister functions). | |
*/ | |
module.exports = | |
pipe( |
import {prop, memoize, converge} from "ramda" | |
const state = { | |
foo: 1, | |
bar: 2 | |
} | |
const fooSelector = prop("foo") // 1 | |
const barSelector = prop("bar") // 2 |
import { omit } from 'ramda'; | |
import { | |
compose, | |
withState, | |
branch, | |
lifecycle, | |
mapProps, | |
renderComponent, | |
setDisplayName | |
} from 'recompose'; |