I hereby claim:
- I am hiquest on github.
- I am yanis (https://keybase.io/yanis) on keybase.
- I have a public key ASDGw1CrZ6iXLOwaIMGvLj4cEkMYgD4nVJVOF2fKWPGVmAo
To claim this, I am signing this object:
// http://www.html5rocks.com/en/tutorials/es6/promises/ | |
function get(url) { | |
// Return a new promise. | |
return new Promise(function(resolve, reject) { | |
// Do the usual XHR stuff | |
var req = new XMLHttpRequest(); | |
req.open('GET', url); | |
req.onload = function() { |
#!/bin/bash | |
set -e | |
ls ~/.vim/bundle | | |
xargs -n1 | | |
while read l; do | |
cd ~/.vim/bundle/$l && git pull | |
done |
#!/bin/sh | |
# This will open a browser window with pull-request | |
set -e | |
project=`git remote -v | grep origin | head -n 1 | awk '{print $2}' | sed 's/.*github.com.//' | sed 's/\.git//'` | |
branch=`git rev-parse --abbrev-ref HEAD` | |
url="https://github.com/$project/compare/$branch?expand=1" | |
open $url |
grep 'Started' production.log \ | |
| grep -o '".*"' \ | |
| sed --regexp-extended 's/[0-9]+/:id/' \ | |
| sort \ | |
| uniq -c \ | |
| sort --reverse \ | |
| more |
I hereby claim:
To claim this, I am signing this object:
Value | JavaScript | Ruby | Python |
---|---|---|---|
null | false | false | false |
0 | false | true | false |
"" | false | true | false |
[] | true | true | false |
{} | true | true | false |
import React from 'react' | |
// ... other imports | |
import nothis from '../shared/nothis' | |
export default nothis({ | |
willMount, | |
render, | |
}) |