Skip to content

Instantly share code, notes, and snippets.

View nahuelsotelo's full-sized avatar

Nahuel Sotelo nahuelsotelo

View GitHub Profile
@nahuelsotelo
nahuelsotelo / .zshrc
Last active June 8, 2016 10:57
Aliases for zsh
# ##############################
# Git push and pull allways from the current branch.
# ##############################
get_git_branch() {
echo `git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
}
alias gpull='git pull origin `get_git_branch`'
alias gpush='git push origin `get_git_branch`'
# ##############################
@nahuelsotelo
nahuelsotelo / error.js
Last active April 20, 2016 09:23
ERROR HANDLER
var beep = require('beepbeep');
var colors = require('colors');
var onError = function(err) {
beep([200, 200]);
var formatOutput = function(context) {
var msg, file, line, description;
if(context == 'gulp-babel') {
@nahuelsotelo
nahuelsotelo / dabblet.css
Created May 16, 2012 22:04
Experimenting with CSS3 selector by @nahuelsotelo
/**
* Experimenting with CSS3 selector by @nahuelsotelo
* forge with Dabblet (http://dabblet.com)
* url: http://dabblet.com/gist/2714343
*/
body {
background: lavender;
font-family: sans-serif;
}
.container {
@nahuelsotelo
nahuelsotelo / dabblet.css
Created March 9, 2012 19:45
Kill Bill logo CSS version by @nahuelsotelo
/*
* Kill Bill logo CSS version by @nahuelsotelo
* forge with Dabblet (http://dabblet.com)
* url: http://dabblet.com/gist/2008294
*/
body {
background: #fcf9e5;
}
.container {
background:#fada00 url(http://cl.ly/3D1u3a1d1X0f0Z391C1n/killbill_bg.jpg) center;