Skip to content

Instantly share code, notes, and snippets.

View benjaesq's full-sized avatar

Benjamin Esquivel benjaesq

  • Pivotal Commware
View GitHub Profile
@benjaesq
benjaesq / .gitconfig
Created October 17, 2023 18:03
.gitconfig
[alias]
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /'
br = branch
bra = branch -a
cam = commit --amend
casv = commit -asv
co = checkout
cob = checkout -b
lo = log --oneline
scs = show --compact-summary
@benjaesq
benjaesq / .gitignore
Created June 21, 2016 20:17 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc
@benjaesq
benjaesq / alias-cmailx.sh
Last active August 29, 2015 14:23
alias compose mailx
# Usage: mailx <to-address>
# Will prompt for Subject
# Then compose the message and Ctr-D to send
# Requires previous setting of EMAIL_ADDRESS AND SMTP_SERVER
alias cmailx='mailx -b $EMAIL_ADDRESS -r $EMAIL_ADDRESS -S smtp=$SMTP_SERVER'
@benjaesq
benjaesq / .vimrc
Last active February 28, 2018 05:32
saving vimrc for future reference
" [email protected]
" .vimrc file. Based on:
" http://vim.wikia.com/wiki/Example_vimrc
" some coding perks here below
" ----------------------------
set autoindent
syntax on
filetype plugin on
filetype indent plugin on
@benjaesq
benjaesq / prompt.sh
Last active September 7, 2015 18:44 — forked from tobiassjosten/prompt.sh
# Default unset
c_reset=
c_user=
c_host=
c_path=
c_git_clean=
c_git_staged=
c_git_unstaged=
# Configure colors, if available.