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
configureFor(mockUri.getHost(), mockedPort); | |
stubFor(request(action, | |
urlEqualTo(serviceUrl.substring(mockUri.resolve("/").toString().length() - 1))) | |
.willReturn( | |
aResponse() | |
.withStatus(statusCode) | |
.withBody(response.replaceAll("\\\\n", "\n")))); |
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
# Run in Administrator | |
d:\Programs\FontForgeBuilds\bin\fontforge.exe -script font-patcher "c:\windows\fonts\DejaVu Sans Mono for Powerline.ttf" -w -c |
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
curl -XPUT 'http://localhost:9200/us/user/1?pretty=1' -d ' | |
{ | |
"email" : "john@smith.com", | |
"name" : "John Smith", | |
"username" : "@john" | |
} | |
' | |
curl -XPUT 'http://localhost:9200/gb/user/2?pretty=1' -d ' | |
{ |
NewerOlder