This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check running processes | |
alias psjava='ps auxww | grep java' | |
alias pstomcat='ps auxww | grep tc-' | |
# describe all maven plugins | |
alias mvn-describe='mvn help:describe -Dplugin=nzz' | |
# basic installation commands | |
alias mvn-install='mvn clean install -Dauto-deploy=true' | |
alias build-pp='mvn clean install -pl modules/polopoly -am -Dauto-deploy=true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
fixup = !sh -c 'git commit --fixup=$1' - | |
squash = !sh -c 'git commit --squash=$1' - | |
llog = log --date=local | |
gitkconflict = !gitk --left-right HEAD...MERGE_HEAD | |
new = !sh -c 'git log $1@{1}..$1@{0} "$@"' | |
stsh = !CURRENT=$(git symbolic-ref HEAD) && git symbolic-ref HEAD refs/heads/stash && git commit -a -m stashed && git checkout $CURRENT | |
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -" | |
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short | |
debug = !GIT_PAGER= gdb --args git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Foo { | |
function __construct() | |
{ | |
$this->bar = new Bar($this); | |
} | |
} | |
class Bar { | |
function __construct($foo = null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.idea |