Skip to content

Instantly share code, notes, and snippets.

View andersonaguiar's full-sized avatar
🎯

Anderson Aguiar andersonaguiar

🎯
View GitHub Profile
@andersonaguiar
andersonaguiar / how-to-install-sass-on-windows
Created April 16, 2012 18:03
How to install SASS on Windows 7
How to install SASS on Windows 7
1 - Download the ruby http://rubyinstaller.org/downloads/
2 - Click install and select the option to create environment variables
(
If you forgot to schedule go to:
My Computer> Properties> Advanced Options> Environment Variables
Look for path and put in the path of the ruby bin installed, eg: C:\Ruby193\bin;
)
3 - Open cmd and download the gem of the SASS, typing: gem install sass
@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/
/*
@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>
module.exports = function( grunt ) {
grunt.initConfig({
uglify : {
options : {
mangle : false
},
my_target : {
@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;
}
@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: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 / 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
});
});

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 / .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"