Skip to content

Instantly share code, notes, and snippets.


João Guilherme guicheffer

View GitHub Profile
View config-iterm.json
"Ansi 7 Color" : {
"Green Component" : 0.7333333492279053,
"Red Component" : 0.7333333492279053,
"Blue Component" : 0.7333333492279053
"Tags" : [
"Ansi 12 Color" : {
guicheffer / _reset.scss
Last active Jun 8, 2018
_reset.scss ❤️
View _reset.scss
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;
guicheffer / alias.txt
Last active Dec 3, 2020
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.
local return_status="%{$fg[red]%}%(?..❌)%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}✓%{$reset_color%} "
View .gitinit-config
/* Set up Git Configuration */
git config --global ""
git config --global "João Guilherme"
git config --global core.editor "vi"
git config --global color.ui true
guicheffer / socialmedia.js
Last active Jun 7, 2016
social media (share) functions
View socialmedia.js
function shareFacebook(title, summary, url, image) {
url = ['[summary]=', encodeURI(summary), '&p[title]=', encodeURI(title), '&p[url]=', encodeURI(url), '&p[images][0]=', encodeURI(image)];''), 'facebook', 'height=300,width=600');
function shareFacebookFBui(options, callbackShare) {
var defaults = {
method: 'feed',
link: '',
guicheffer / pre-push
Created Jan 5, 2016
hook to force tests and prevent failing pushs to develop or master
View pre-push
#!/usr/bin/env bash
# .git/hooks/pre-push
# hook to force tests and prevent failing pushs to develop or master
# Refs:
# Bypassing the pre-push hook:
View common .gitconfig
# 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