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
FROM 763104351884.dkr.ecr.eu-west-1.amazonaws.com/pytorch-training:1.5.1-gpu-py36-cu101-ubuntu16.04 | |
RUN mkdir -p /opt/service/boot | |
COPY entrypoint.sh /opt/service/boot/ | |
RUN chmod +x /opt/service/boot/entrypoint.sh | |
WORKDIR /opt/service/boot | |
ENTRYPOINT ["/opt/service/boot/entrypoint.sh"] |
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 javax.persistence.AttributeConverter; | |
import javax.persistence.Converter; | |
import java.sql.Timestamp; | |
import java.time.ZoneId; | |
import java.time.ZonedDateTime; | |
@Converter(autoApply = true) | |
public class ZonedDateTimeAttributeConverter implements AttributeConverter<ZonedDateTime, Timestamp> { | |
static ZoneId utcZoneId = ZoneId.of("UTC"); |
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.philips.research.pathis.slideanalysis.domain.entity; | |
import javax.persistence.AttributeConverter; | |
import javax.persistence.Converter; | |
import java.sql.Timestamp; | |
import java.time.ZoneId; | |
import java.time.ZonedDateTime; | |
@Converter(autoApply = true) | |
public class ZonedDateTimeAttributeConverter implements AttributeConverter<ZonedDateTime, Timestamp> { |
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
The following properties are necessary for configuring Spring Zuul Proxy with SSL | |
Create a self signed certificate | |
keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass digilabs -validity 360 -keysize 2048 | |
Place the keystore.jks in the resources folder of your application. | |
server: | |
ssl: |
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 React, { View, PropTypes, Platform } from 'react-native'; | |
import Svg,{ | |
Circle, | |
Path, | |
G | |
} from 'react-native-svg'; | |
export default class CircleProgress extends React.Component { | |
constructor(props) { |