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
mogrify -format ico -density 600 -define "icon:auto-resize" -transparent white *.svg |
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
@('feature-1', 'bug-2') | % { | |
git worktree add -b $_ "$(git rev-parse --show-toplevel)\..\$_" "origin/$_" | |
} |
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
@('feature-1', 'bug-2') | | |
%{ $pattern = $_; $( | |
git worktree list | %{ $_.Split()[0] } | Select-String $pattern | |
) | |
} | | |
%{ Remove-Item -Recurse -Force $_ }; git worktree prune |
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
git branch -vv|select-string "\[origin/(.*): gone\]"|%{$_.matches.groups[1].value}|%{git branch -D $_} |
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
#!/usr/bin/env bash | |
set -o nounset | |
set -o pipefail | |
set -o errexit | |
### Uncomment to enable debugging | |
#set -o verbose | |
#set -o xtrace | |
declare -r BOLD="$(tput bold)" |
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
Scenario: Edit String Property Field | |
!-- | |
Given I am logged in | |
When I create document A of type Article | |
And I enter some text T into property Title | |
Then the preview will update to contain text T |
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
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.util.Collection; | |
import java.util.HashMap; | |
import java.util.Map; | |
/** | |
* <p> | |
* Tracks references between BDD steps. Typically you need some global variables or something alike to remember |
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
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.junit.runners.Parameterized; | |
import java.util.List; | |
import static java.util.Arrays.asList; | |
import static org.junit.Assert.assertEquals; | |
@RunWith(Parameterized.class) |
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
@When("I log in as user $user with password $password") | |
public void login1(String user, String password) { | |
... | |
} | |
[...] | |
@When("I log in as user named $user with password $password") | |
public void login2(String user, String password) { | |
... | |
} |
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
@Then("the delete button will be enabled") | |
public void deleteButtonEnabled() { | |
// ... | |
} |
NewerOlder