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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.anton-johansson</groupId> | |
<artifactId>my-app</artifactId> | |
<version>1-SNAPSHOT</version> | |
<packaging>pom</packaging> | |
<name>Anton :: My app</name> |
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
.github-corner:hover .octo-arm | |
{ | |
animation:octocat-wave 560ms ease-in-out | |
} | |
@keyframes octocat-wave | |
{ | |
0%,100% | |
{ | |
transform:rotate(0) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.anton-johansson</groupId> | |
<artifactId>assembly-test</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>assembly-test-assembly</artifactId> |
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
java.util.concurrent.TimeoutException: Timeout waiting for task. | |
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:269) | |
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:96) | |
at org.testfx.util.WaitForAsyncUtils.waitFor(WaitForAsyncUtils.java:144) | |
at org.testfx.api.FxToolkit.waitForSetup(FxToolkit.java:291) | |
at org.testfx.api.FxToolkit.setupApplication(FxToolkit.java:189) | |
at org.testfx.framework.junit.ApplicationTest.internalBefore(ApplicationTest.java:55) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
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
package com.antonjohansson.svncommit2.core.ioc; | |
import com.antonjohansson.svncommit2.core.ui.IView; | |
import java.io.IOException; | |
import java.net.URL; | |
import com.google.inject.AbstractModule; | |
import com.google.inject.Provider; |
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
// For a single book, I guess I would do something like this: | |
Book book = speedment.managerOf(Book.class) | |
.stream() | |
.findAny() | |
.orElseThrow(() -> new RuntimeException()); | |
double averageRating = book.findBookRatings() | |
.collect(averagingDouble(r -> r.getRating())); |
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
<plugin> | |
<groupId>com.speedment</groupId> | |
<artifactId>speedment-maven-plugin</artifactId> | |
<version>${speedment.version}</version> | |
<configuration> | |
<server>${speedment.databaseServer}</server> | |
<schema>${speedment.databaseSchema}</schema> | |
<user>${speedment.databaseUser}</user> | |
<password>${speedment.databasePassword}</password> | |
</configuration> |
NewerOlder