View config-iterm.json
{ | |
"Ansi 7 Color" : { | |
"Green Component" : 0.7333333492279053, | |
"Red Component" : 0.7333333492279053, | |
"Blue Component" : 0.7333333492279053 | |
}, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { |
View _reset.scss
/* http://guicheffer.me/ | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
font-size: 100%; | |
font: inherit; |
View alias.txt
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
View @guicheffer.zsh-theme
# @guicheffer.zsh-theme, based on gnzh by Matthew Nelson. | |
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}" | |
local return_status="%{$fg[red]%}%(?..❌)%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_PREFIX="|" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}⚡%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg_bold[red]%}!%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}✓%{$reset_color%} " |
View .gitinit-config
/* Set up Git Configuration */ | |
git config --global user.email "hi@guicheffer.me" | |
git config --global user.name "João Guilherme" | |
git config --global core.editor "vi" | |
git config --global color.ui true |
View pre-push
#!/usr/bin/env bash | |
# .git/hooks/pre-push | |
# hook to force tests and prevent failing pushs to develop or master | |
# | |
# Refs: | |
# http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks | |
# http://blog.ittybittyapps.com/blog/2013/09/03/git-pre-push/ | |
# | |
# Bypassing the pre-push hook: |
View common .gitconfig
# https://gist.github.com/codexico/2a34c0d599f3af93b46f | |
[color] | |
# Use colors in Git commanfds that are capable of colored output when | |
# outputting to the terminal. (This is the default setting in Git ≥ 1.8.4.) | |
ui = auto |