I hereby claim:
- I am eschaefer on github.
- I am eschaefer (https://keybase.io/eschaefer) on keybase.
- I have a public key ASBbNCfGB9yehV7P_wkcXw09d5JhxGeUT_4GZVlmEZx-Nwo
To claim this, I am signing this object:
ffmpeg -i test.mov -vf "fps=15,scale=720:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
const duped = [1, 2, 3, 3, 3, 2, 1]; | |
const deduped = [...new Set(duped)]; |
/* | |
jscodeshift --parser=flow --extensions=js,jsx -t ./mod.js ~/Projects/frontend/app/* | |
*/ | |
const GENERALS = { | |
AddToCartBtn: 'addToCartBtn/', | |
AddToLightbox: 'addToLightbox/', | |
AdManagerExportButton: 'adManagerExportButton/', |
let nestedArray = [|[|1, 1|], [|1, 2|], [|1, 3|]|]; | |
let _ = nestedArray |> Array.fold_left(Array.append, [||]) |> Js.log; | |
/* [1,1,1,2,1,3] */ | |
let _ = nestedArray |> Js.Array.reduce(Js.Array.concat, [||]) |> Js.log; | |
/* [1,3,1,2,1,1] */ | |
I hereby claim:
To claim this, I am signing this object:
Lint all staged .js
and .jsx
files
git diff --cached --diff-filter=ACMRTUXB --pretty='format:' --name-only | grep -E .jsx?\\?$ | xargs node_modules/eslint/bin/eslint.js --quiet --ext .jsx,.js
Lint all staged .scss
files
git diff --name-only --staged --diff-filter=ACMRTUXB --relative | grep -E .scss\\?$ | xargs --no-run-if-empty node_modules/sass-lint/bin/sass-lint.js -v --max-warnings 0
find . -name "*.orig" -type f -delete |
alias gitpurge='git branch --merged | grep -v "\*" | grep -Ev "(\*|master|develop|staging)" | xargs -n 1 git branch -d' |
const DEFAULT_HEIGHT = 20; | |
export default class Textarea extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
height: DEFAULT_HEIGHT, | |
value: "Don't get lost in the upside down", |