I hereby claim:
- I am ahmedelgabri on github.
- I am ahmedelgabri (https://keybase.io/ahmedelgabri) on keybase.
- I have a public key ASBn5CQMC-lRe3exGPiMon9fXrgYYbBm3ycEoHccpL1alQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$ npm install
$ export DELICIOUS_USER="<your username>" && export DELICIOUS_PASSWORD="<your password>"
$ node index.js
bookmarks.html
that you can save or import in Pocket.# From http://sass-guidelin.es/ | |
# For SCSS-Lint v0.31.0 | |
linters: | |
BangFormat: | |
enabled: true | |
space_before_bang: true | |
space_after_bang: false |
<p>Lorem <a href="#">ipsum dolor</a> sit amet</p> |
#!/bin/sh | |
# | |
# Usage: bbd "Sep 14" | |
# bbd "Sep" | |
git reflog --date=local | grep "$1 .* checkout: moving from .* to" | grep -o "[a-zA-Z0-9\-]*$" | sort | uniq |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>React for Beginners</title> | |
</head> | |
<body> | |
<div id="App"></div> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.3/react.min.js"></script> |
// $('div') or $('.class', $('div')) | |
const $ = (selector, parent) => (parent || document).querySelector(selector) | |
// $$('div') or $$('.class', $('div')) => returns a real Array not a NodeList | |
const $$ = (selector, parent) => [...(parent || document).querySelectorAll(selector)] |
function getType(target){ | |
return Object.prototype.toString.call(target).slice(8, -1).toLowerCase(); | |
} |
if findfile('.flowconfig', '.;') !=# '' | |
if executable($PWD .'/node_modules/.bin/flow') | |
let g:flow_path = $PWD .'/node_modules/.bin/flow' | |
else | |
let g:flow_path = 'flow' | |
endif | |
let g:neomake_javascript_flow_maker = { | |
\ 'exe': 'sh', | |
\ 'args': ['-c', g:flow_path.' --json --strip-root | flow-vim-quickfix'], |
{ | |
"ecmaVersion": 6, | |
"libs": [ | |
"ecma5", | |
"ecma6", | |
"browser" | |
], | |
"loadEagerly": [], | |
"async": true, | |
"plugins": { |