This file contains hidden or 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
@Override | |
public ProjectBlueprint scenario(ScenarioBlueprint... scenarioBlueprints) { | |
Collections.addAll(this.scenarios, scenarioBlueprints); | |
return this; | |
} |
This file contains hidden or 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
validator: { v -> | |
try{ | |
v = parseInt(v) | |
} catch (NumberFormatException e) { | |
field.background = Color.RED | |
field.revalidate() | |
return false | |
} | |
if (v >= 0 && v < MAX_VALUE) { | |
field.background = Color.WHITE |
This file contains hidden or 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
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/[\1]/' | |
} | |
PS1="$PS1\$(parse_git_branch)$ " |
This file contains hidden or 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
nothing - do not push anything. | |
matching - push all matching branches. All branches having the same name in both ends are considered to be matching. This is the default. | |
upstream - push the current branch to its upstream branch. | |
tracking - deprecated synonym for upstream. | |
current - push the current branch to a branch of the same name. |
NewerOlder