Skip to content

Instantly share code, notes, and snippets.

View whirmill's full-sized avatar

Lorenzo De Santis whirmill

View GitHub Profile

Keybase proof

I hereby claim:

  • I am whirmill on github.
  • I am whirmill (https://keybase.io/whirmill) on keybase.
  • I have a public key ASAObHDqqc0IGIMKBWK42LbPBE-gbOkuFqLp0xq5iSlsGQo

To claim this, I am signing this object:

#!/bin/sh
# requires jq to work
cat package.json | jq ".dependencies" | jq "keys[]" | xargs echo | xargs -i echo 'add {}' | xargs yarn && \
cat package.json | jq ".devDependencies" | jq "keys[]" | xargs echo | xargs -i echo 'add {} --dev' | xargs yarn
parser: babel-eslint
parserOptions:
ecmaFeatures:
binaryLiterals: false
blockBindings: true
defaultParams: true
forOf: true
generators: false
objectLiteralComputedProperties: true
objectLiteralDuplicateProperties: false
--exclude=.git
--exclude=.hg
--exclude=log
--exclude=tmp
--languages=-javascript,sql
--langdef=clojure
--langmap=clojure:.clj
--regex-clojure=/\([ \t]*create-ns[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/n,namespace/
@whirmill
whirmill / .vimrc
Last active November 11, 2017 10:28
""""""""""""""""""""""""""""""""""""""""
" Lorenzo De Santis Vimrc configuration
""""""""""""""""""""""""""""""""""""""""
set nocompatible
syntax on
set nowrap
set encoding=utf8
"""" START Vundle Configuration
@whirmill
whirmill / eslintrc-es5.json
Last active September 21, 2017 08:41
eslintrc es5
{
// http://eslint.org/docs/rules/
"parserOptions": {
"ecmaFeatures": {
"binaryLiterals": false, // enable binary literals
"blockBindings": true, // enable let and const (aka block bindings)
"defaultParams": true, // enable default function parameters
"forOf": true, // enable for-of loops
"generators": false, // enable generators
@whirmill
whirmill / eslintrc-react.json
Last active July 7, 2017 11:32
eslintrc react
{
// http://eslint.org/docs/rules/
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"binaryLiterals": false, // enable binary literals
"blockBindings": true, // enable let and const (aka block bindings)
"defaultParams": true, // enable default function parameters
"forOf": true, // enable for-of loops
@whirmill
whirmill / eslintrc.json
Last active July 7, 2017 11:32
eslintrc
{
// http://eslint.org/docs/rules/
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"binaryLiterals": false, // enable binary literals
"blockBindings": true, // enable let and const (aka block bindings)
"defaultParams": true, // enable default function parameters
"forOf": true, // enable for-of loops
function slaughter() { ps aux | grep '['${1:0:1}']'${1:1} | awk '{print $2}' | xargs -r kill -9 }