Skip to content

Instantly share code, notes, and snippets.

@andreav
andreav / .aliases
Last active December 18, 2015 13:25
My .aliases
alias ls='ls --color=tty'
alias ll='ls -lah'
alias lll='ls -lahtr'
alias ff='find $( pwd ) -follow -name '
alias fic='find $( pwd ) -follow -name "*.c" -o -name "*.cc" -o -name "*.cpp" | xargs grep --color -e '
alias fih='find $( pwd ) -follow -name "*.h" | xargs grep --color -e '
alias fis='find $( pwd ) -follow -name "*.c" -o -name "*.cc" -o -name "*.cpp" -o -name "*.h" | xargs grep --color -e '
alias fif='find $( pwd ) -follow -type f -not -name "*~" -not -name "*swp" | xargs grep --color -e '
alias fip='find $( pwd ) -follow -name "*.py" | xargs grep --color -e '
@andreav
andreav / .gitconfig-andreav
Last active March 12, 2020 10:05
my .gitconfig
[user]
email = [email protected]
name = uallaualla
[color]
ui = true
interactive = auto
diff = auto
branch = auto
status = auto
[core]
@andreav
andreav / git4f
Created September 19, 2012 12:24
git4f - git aliases for automate common every-day develop/integration operations with git (https://github.com/andreav/git4f/wiki)
# Copyright (C) 2012 Andrea Valle
#
# This file is part of git4f.
#
# git4f is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# git4f is distributed in the hope that it will be useful,