This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am benjaminkimball on github. | |
* I am benjaminkimball (https://keybase.io/benjaminkimball) on keybase. | |
* I have a public key ASBv-EhEbo6vk_fNJtmV6idVEAAbIMqLcStaZ4NvKQB0Ugo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install command line tools | |
xcode-select --install | |
# Install Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Install Git and GPG | |
brew install git gnupg | |
# Install Docker Desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { h, Component } from 'preact' | |
const colors = { | |
cyan: '#00b8b8', | |
grey: '#e0e5db', | |
magenta: '#de3d83', | |
yellow: '#e4bd0b' | |
} | |
function QualityHex () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mo'orea, bb! | |
const latitude = -17.538843 | |
const longitude = -149.829529 | |
// With precision 9 | |
const geohash = '2svknx1ky' | |
const flatten = require('lodash.flatten') | |
const padStart = require('lodash.padStart') | |
const zip = require('lodash.zip') |