Skip to content

Instantly share code, notes, and snippets.

David Navia davidnaviaweb

  • David Navia
  • Madrid, SPAIN
Block or report user

Report or block davidnaviaweb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
davidnaviaweb / .gitconfig
Last active Oct 11, 2018
Git aliases for .gitconfig
View .gitconfig
# logs
l = log --pretty=format:"%C(Yellow)%H\\ %C(reset)%ad\\ %C(Green)%cr%C(reset)%x09\\ %Cred%d\\ %C(Cyan)%an:\\ %C(reset)%s" --decorate --date=format:%c
lg= log --graph --oneline --decorate --all
# add
a = add
au = add -u
ap = add -p
aa = add .
davidnaviaweb / .gitconfig
Last active Oct 11, 2018
First part of .gitconfig
View .gitconfig
default = simple
email =
name = David Navia
davidnaviaweb / .bash_profile
Created Oct 11, 2018
Git alias for .bash_profile
View .bash_profile
# ----------------------
# Git Aliases
# ----------------------
alias g='git'
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
davidnaviaweb / functions.php
Created Oct 1, 2016
WordPress Dashboard tips & tricks @ WC Sevilla 2016
View functions.php
* Mostrar / Ocultar Admin Bar
* Según el Codex, basta retornar el valor 'false' en la función 'show_admin_bar' para ocultar
* la barra de administración. Sin embargo, esta implementación parece que no funciona correctamente.
function remove_admin_bar($show_admin_bar)
You can’t perform that action at this time.