Skip to content

Instantly share code, notes, and snippets.

View hgoldstein's full-sized avatar

Hunter Goldstein hgoldstein

  • San Francisco Bay Area
View GitHub Profile
<?hh
type JsonRule<T> = (function(mixed): T);
function int_strict(mixed $x): int {
return $x as int;
}
function int_lossy(mixed $x): int {
return (int)$x;
### Keybase proof
I hereby claim:
* I am hgoldstein on github.
* I am huntergoldstein (https://keybase.io/huntergoldstein) on keybase.
* I have a public key whose fingerprint is EB30 E19C AD14 4C89 A10D 3299 C996 9A4A 027A 2D89
To claim this, I am signing this object:
# Install Pathogen
set -ex
mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
# Install sensible defaults!
git clone git://github.com/tpope/vim-sensible.git ~/.vim/bundle/vim-sensible
git clone https://github.com/sheerun/vim-polyglot.git ~/.vim/bundle/vim-polyglot

Keybase proof

I hereby claim:

  • I am huntergoldstein on github.
  • I am huntergoldstein (https://keybase.io/huntergoldstein) on keybase.
  • I have a public key whose fingerprint is EB30 E19C AD14 4C89 A10D 3299 C996 9A4A 027A 2D89

To claim this, I am signing this object: