I hereby claim:
- I am dslounge on github.
- I am groundcontrol (https://keybase.io/groundcontrol) on keybase.
- I have a public key ASBH_UT7HmI1ZHevwgHVTqNEEnac9v2zvJkM1gdHr5Fdtwo
To claim this, I am signing this object:
fzf --preview 'bat {-1} --color=always' |
# put this in your .bashrc or .zshrc | |
fd() { | |
preview="git diff $@ --color=always -- {-1}" | |
git diff $@ --name-only | fzf -m --ansi --preview $preview | |
} | |
git diff master... --name-only | grep -E '.js$' | xargs ./node_modules/eslint/bin/eslint.js |
I hereby claim:
To claim this, I am signing this object:
export const cachedFetch = url => { | |
const key = `@MySuperStore:${url}`; | |
return AsyncStorage.getItem(key) | |
.then(data => { | |
if (!data) { | |
return Promise.reject("no data found in async storage"); | |
} | |
console.log("found data on disk"); | |
return JSON.parse(data); | |
}) |
{ | |
"fa-glass": "\uf000", | |
"fa-music": "\uf001", | |
"fa-search": "\uf002", | |
"fa-envelope-o": "\uf003", | |
"fa-heart": "\uf004", | |
"fa-star": "\uf005", | |
"fa-star-o": "\uf006", | |
"fa-user": "\uf007", | |
"fa-film": "\uf008", |
/* | |
Comparing AirBnB information and sharing it with your friends so you can decide where to stay is a pain in the ass. | |
When you're looking at an AirBnB listing, you can copy and paste this thing into the Chrome developer console to get basic information on your clipboard. You'll then be able to paste directly onto a google spreadsheet. | |
It copies: | |
- price per night | |
- total price | |
- name | |
- number of reviews |