Skip to content

Instantly share code, notes, and snippets.

View andersonaguiar's full-sized avatar
🎯

Anderson Aguiar andersonaguiar

🎯
View GitHub Profile

Java Multi-versions

This tutorial is specific to OSX users currently. I haven't tested it anywhere else. If you can help in writing for other environments, please do contribute.

Install Homebrew cask

brew update
brew tap caskroom/cask
brew install brew-cask-completion
brew tap caskroom/versions
@andersonaguiar
andersonaguiar / .zshrc
Created February 13, 2018 13:05 — forked from dimitardanailov/.zshrc
My personal zsh and tmux configurations
# Path to your oh-my-zsh installation.
export ZSH=/Users/dimitar.danailov/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
# ZSH_THEME="robbyrussell"
ZSH_THEME="agnoster"

Brazil

FISL 8 - PUC – Porto Alegre/RS | 04/2007

OlhóSEO - Florianópolis | 05/2011

FISL 12 - PUC – Porto Alegre/RS | 07/2011

TDC2011 Florianópolis - Florianópolis/SC | 08/2011

@andersonaguiar
andersonaguiar / gulpfile.js
Created June 30, 2016 02:41 — forked from ahmadawais/gulpfile.js
Gulp: Useing ngrok with BrowserSync
// first run npm install ngrok - then put var ngrok = require('ngrok'); at the top of your gulpfile
var ngrok = require('ngrok');
var browserSync = require('browser-sync')
browserSync({
server: "./app"
}, function (err, bs) {
ngrok.connect(bs.options.get('port'), function (err, url) {
// https://757c1652.ngrok.com -> 127.0.0.1:8080
});
});
@andersonaguiar
andersonaguiar / gist:c79c3461bb4b68c4a2cb
Last active August 29, 2015 14:17
Set Option-arrow navigation in iTerm2
~/.inputrc content:
"\e[1;5C": forward-word
"\e[1;5D": backward-word
Config profile keys in preferences of iTerm2
Then I had to set up in iTerm2 preferences–under Profiles->Keys–the options for both key combinations:
Add a hotkey with the plus symbol at the bottom of the hotkey list
@andersonaguiar
andersonaguiar / gist:0d7d3f3038d2e96bd86b
Created February 19, 2015 18:03
CSS3 arrows - from css-tricks
.arrow-up {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid black;
}
.arrow-down {
@andersonaguiar
andersonaguiar / gist:9565343db078d3ea6725
Last active August 29, 2015 14:15
Reset select to customize
.select-style select {
border: none;
box-shadow: none;
background-color: transparent;
background-image: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
module.exports = function( grunt ) {
grunt.initConfig({
uglify : {
options : {
mangle : false
},
my_target : {
@andersonaguiar
andersonaguiar / steps-facebook-wall-image-url
Created October 23, 2012 18:48
Imagens no mural do Facebook via URL
Regra do Facebook para achar as imagens de uma determinada URL:
1 - Imagem deve ter mais de 200px em umas de suas extremidades
2 - Colocar o meta para aparecer somente 1 imagem OU colocar uma tag img com display: none; na página(assim ele adiciona essa a imagem na lista das já existentes)
3 - Caso não surta efeito colar a URL aqui: https://developers.facebook.com/tools/debug (além de debug essa URL limpa o cache do mural para o site em questão)
Obs.: O facebook lê de baixo para cima, portanto se quiser que a nova imagem da lista apareça primeiro, basta colocar antes do fechamento do <body>
@andersonaguiar
andersonaguiar / Custom.css
Created October 17, 2012 02:12 — forked from bentruyman/Custom.css
IR_Black Theme for Chrome Developer Tools
/**********************************************/
/*
/* IR_Black Skin by Ben Truyman - 2011
/*
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2
/*
/* Inspired by Darcy Clarke's blog post:
/* http://darcyclarke.me/design/skin-your-chrome-inspector/
/*