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
try { | |
final String ip = "83.231.226.12";//"173.194.40.143"; | |
//InetAddress inetAddr = InetAddress.getByName("192.168.0.255"); | |
InetAddress inetAddr = InetAddress.getByName(ip); | |
// Get the host name | |
String hostname = inetAddr.getHostName(); | |
// Get canonical host 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
@AfterReturning("this(org.springframework.data.jpa.repository.JpaRepository) "+ | |
"&& @target(org.javers.spring.annotation.JaversSpringDataAuditable) "+ | |
"&& execution(public * saveAndPublish(..)) ") | |
public void onSaveExecutedJpaRepo(JoinPoint pjp) { | |
onVersionEvent(pjp, saveHandler); | |
} |
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 sample.blinking; | |
import javafx.animation.KeyFrame; | |
import javafx.animation.Timeline; | |
import javafx.application.Application; | |
import javafx.beans.value.ChangeListener; | |
import javafx.collections.FXCollections; | |
import javafx.collections.ObservableList; | |
import javafx.css.PseudoClass; | |
import javafx.scene.Scene; |