Joined May 2013
·
Posted to
Efficient pattern search for multiple local git repos
over 1 year
ago
Had to add a semicolon to make it work in my ~/.profile on Mac OS X 10.8.4 but then it's great! Thanks for sharing
grepcode() {
find ~/dev/repos -type d -name .git | parallel "cd {.} && git grep --color -I --full-name -i '$@' | sed 's@^\(.*\):@{.}\1: @'";
}
Posted to
Git Branch Graph
over 1 year
ago
Thanks! Already added to my .profile ;)
alias tree="git log --graph --full-history --all --color --pretty=format:\"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s\""
Posted to
The only Eclipse keyboard shortcut you need
over 1 year
ago
I thought Ctrl + 3 was the black magic shortcut you will never want to miss again.
Achievements
235 Karma
26,237 Total ProTip Views

24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2014

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Mongoose
Have at least one original repo where Ruby is the dominant language

Komodo Dragon 3
Have at least three original repos where Java is the dominant language

Komodo Dragon
Have at least one original repo where Java is the dominant language

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need
@zilti Sorry, if I wasn't too precise about this: It's not meant for a single application, but for different applications you start via command line. I have several old applications which don't run with JDK8, yet, which is my command line default at the moment.
Therefore I added the above to each app's "run script" which I found to be redundant and therefore externalized it so I can use it from the scripts as well as from the command line.