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 java.time.Instant | |
data class Location(@JsonProperty val userId: Int, | |
@JsonProperty val geohash: String, | |
@JsonProperty val createdAt: Instant, | |
@JsonProperty val updatedAt: Instant?) |
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 java.time.Instant | |
data class Location(@JsonProperty val userId: Int, | |
@JsonProperty val geohash: String, | |
@JsonProperty val createdAt: Instant, | |
@JsonProperty val updatedAt: Instant?) |
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
#!/usr/bin/env bash | |
set -ex | |
BACKUP_DIR=/path/to/where/backups/should/live | |
HOSTS=($(lxc list -c n --format csv)) | |
for HOST in "${HOSTS[@]}" | |
do | |
BACKUP_NAME=${HOST}-$(date +"%Y-%m-%d") |
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.fasterxml.jackson.module.kotlin.test.github.failing | |
import com.fasterxml.jackson.databind.type.TypeFactory | |
import com.fasterxml.jackson.module.kotlin.KotlinModule | |
import com.fasterxml.jackson.module.kotlin.jacksonTypeRef | |
import com.fasterxml.jackson.module.kotlin.jsonMapper | |
import com.fasterxml.jackson.module.kotlin.readValue | |
import org.junit.Test | |
import kotlin.test.assertEquals |
OlderNewer