Skip to content

Instantly share code, notes, and snippets.

☕️

Guilherme J. Tramontina gtramontina

☕️
Block or report user

Report or block gtramontina

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View homebrew
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'
View mac-functions
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"
}
@gtramontina
gtramontina / dockerize
Last active Aug 29, 2015
Given a git repository with a `Dockerfile`, this runs the given command within the container in the context of your repository.
View dockerize
#!/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`
View keybase.md

Keybase proof

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:

View watches.js
(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);
You can’t perform that action at this time.