I hereby claim:
- I am chmelevskij on github.
- I am tomche (https://keybase.io/tomche) on keybase.
- I have a public key ASCWNfVvBXbsCCFMgQDQcyTG5EW3gYU3QTWt-9DkY3-IAAo
To claim this, I am signing this object:
#!/bin/bash | |
# egrep or grep -e can be used | |
# gollabedit|golang-web|css was stuff to exclude | |
find $(pwd) | egrep -vi '/\.|gollabedit|golang-web|/css/|\.log' | xargs wc -l 2> /dev/null | sed "s|$PWD||" |
" Created: Thu 2 Jun 2016 15:38:32 BST | |
" Vundle setup | |
syntax enable " Turn on syntax highlighting | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() |
set completion-ignore-case on | |
set visible-stats on | |
set editing-mode vi | |
$if mode=vi | |
set keymap vi-command | |
set keymap vi-insert | |
"\C-l": clear-screen | |
$endif |
let _ = { | |
range : n => [...Array(n).keys()] | |
} |
# |---ignores--------------| | |
diff --brief -Nr -x *.gif -x *.jpg -x *.png www-yellowbulldog-co-uk-intrigger-cms-production/ yellow-bulldog/dist |
/** | |
unwrap functional power from Arrays | |
*/ | |
const keys = [ | |
'concat', | |
'entries', | |
'every', | |
'filter', | |
'find', | |
'findIndex', |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Adapter to connect amplify hub and redux. Borrowed from: | |
* Thanks to https://github.com/richardzcode/Journal-AWS-Amplify-Tutorial/blob/master/step-08/journal/src/store/AmplifyBridge.js | |
*/ | |
import { Auth, Hub, Logger } from 'aws-amplify'; | |
import { Store } from 'redux'; | |
const logger = new Logger('AmplifyBridge'); | |
type AttributeArray = Array<{ Name: string; Value: any }>; |
import babel from '@rollup/plugin-babel'; | |
import commonjs from '@rollup/plugin-commonjs'; | |
import styles from 'rollup-plugin-styles'; | |
import resolve from '@rollup/plugin-node-resolve'; | |
import url from '@rollup/plugin-url'; | |
import svgr from '@svgr/rollup'; | |
import replace from '@rollup/plugin-replace'; | |
import { terser } from 'rollup-plugin-terser'; | |
import json from '@rollup/plugin-json' |
// from https://stackoverflow.com/a/47916931/3618387 | |
const destruct = (obj, ...keys) => | |
keys.reduce((a, c) => { a[c] = obj[c]; return a; }, {}); |