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
git tag -l --points-at HEAD |
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
#!/usr/bin/env bash | |
SIZE=1gb | |
IMAGE=ubuntu-16-10-x64 | |
REGION=fra1 | |
TAG=droplet_sh | |
function createDroplet() { | |
: ${1?"Usage: createDroplet name sshkey-passphrase"} | |
: ${2?"Usage: createDroplet name sshkey-passphrase"} |
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
git push --delete origin tagname | |
git tag --delete tagname |
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
package org.modelmapper.internal; | |
import de.troi.common.util.mapper.ModelMapperConfiguration; | |
import org.junit.Test; | |
import org.modelmapper.ModelMapper; | |
import java.util.Map; | |
import java.util.UUID; | |
import static org.junit.Assert.assertEquals; |
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
// reference to ComponentTestConfiguration results in a compilation error | |
// whereas reference to IshouldBeCompiled is fine | |
@ContextConfiguration(classes = [ComponentTestConfiguration.class]) | |
class UserAccountRepositorySaveSpec extends Specification { | |
@Autowired | |
UserAccountRepository repository | |
def saveReturnsInstance() { | |
given: |
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
private static final Logger LOGGER=LoggerFactory.getLogger($classname$.class); |
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
@${testType:newType(org.junit.Test)} | |
public void test${name}() throws Exception { | |
${staticImport:importStatic('org.junit.Assert.*')} | |
//given | |
${cursor} | |
//when | |
//then | |
} |
NewerOlder