I hereby claim:
- I am gtramontina on github.
- I am gtramontina (https://keybase.io/gtramontina) on keybase.
- I have a public key whose fingerprint is 4D7C 2D7B 0C49 EEF7 0455 DE04 7655 A276 F38C 7CF9
To claim this, I am signing this object:
L.Map.addInitHook(function () { | |
const dom = this.getContainer(); | |
const forward = (e) => | |
dom.dispatchEvent( | |
new CustomEvent(`map:${e.type}`, { | |
detail: { | |
originalEvent: e, | |
zoom: this.getZoom(), | |
center: this.getCenter(), |
#!/usr/bin/env python3 | |
import sys | |
from inspect import getmembers, isfunction | |
from os.path import getmtime, exists | |
from pathlib import Path | |
from shutil import which | |
from subprocess import call | |
def pre_requisites(): |
(function () { | |
var head = document.getElementsByTagName('head')[0]; | |
var styles = document.createElement('style'); | |
styles.innerHTML = ` | |
[data-watchers]:hover { | |
outline: 1px dotted black; | |
} | |
[data-watchers]:hover:before { | |
content: attr(data-watchers); |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash -e | |
if [[ -z "$1" ]] | |
then | |
echo "Please specify a command to run inside the container." | |
exit 1 | |
fi | |
COMMAND=$1 | |
IMAGE=`git rev-parse HEAD` |
brew_cask_install() { | |
if ! brew_cask_is_installed "$1"; then | |
brew cask install "$@" | |
fi | |
} | |
brew_cask_is_installed() { | |
local NAME=$(brew_cask_expand_alias "$1") | |
brew cask list -1 | grep -Fqx "$NAME" | |
} |
fancy_echo "Installing Homebrew Cask, so you don't drag'n'drop applications anymore…" | |
brew tap caskroom/cask | |
brew tap caskroom/versions | |
brew_install_or_upgrade 'brew-cask' |
fancy_echo "Installing Prezto – Instantly Awesome Zsh…" | |
git_clone_or_pull 'https://github.com/sorin-ionescu/prezto.git' "${ZDOTDIR:-$HOME}/.zprezto" | |
TMP_RC_FILE=$(mktemp -t rcfile); cat << EOF > $TMP_RC_FILE | |
setopt EXTENDED_GLOB | |
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do | |
ln -f -s "\$rcfile" "\${ZDOTDIR:-$HOME}/.\${rcfile:t}" | |
done | |
rm -f $TMP_RC_FILE | |
EOF | |
zsh --rcs $TMP_RC_FILE |
#!/bin/sh -e | |
curl -L http://install.ohmyz.sh | sh | |
exec $SHELL -l | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
brew install caskroom/cask/brew-cask | |
brew tap jenv/jenv | |
brew update |