I hereby claim:
- I am jillesvangurp on github.
- I am jillesvangurp (https://keybase.io/jillesvangurp) on keybase.
- I have a public key ASCWZzL3Ou4D9nzEIsWt9PT4KHd0thkFfmEDNzVPLsRCygo
To claim this, I am signing this object:
@file:Suppress("unused") | |
package indexeddb | |
import com.jillesvangurp.serializationext.DEFAULT_JSON | |
import kotlin.coroutines.resume | |
import kotlin.coroutines.resumeWithException | |
import kotlin.time.Duration.Companion.milliseconds | |
import kotlinx.coroutines.ExperimentalCoroutinesApi | |
import kotlinx.coroutines.channels.Channel |
plugins { | |
kotlin("multiplatform") version "1.3.72" | |
id("com.github.ben-manes.versions") version "0.28.0" // gradle dependencyUpdates -Drevision=release | |
id("org.jmailen.kotlinter") version "2.4.1" | |
`maven-publish` | |
} | |
repositories { | |
mavenCentral() | |
maven(url = "https://jitpack.io") |
Uncaught exception com.google.gwt.event.shared.UmbrellaException: Exception caught: undefined | |
at Unknown.Ub(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) | |
at Unknown.Tb(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) | |
at Unknown.ac(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) | |
at Unknown.Iyd(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) | |
at Unknown.Myd(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) | |
at Unknown.Txd(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) | |
at Unknown.Dp(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) | |
at Unknown.Np(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) | |
at Unknown.Ync(https://console.aws.amazon.com/cloudfront/home?region=eu-west-1 line 9 > scriptElement) |
# generate certificate and key with openssl and then mount them | |
version: '2.3' | |
postgres: | |
image: postgres:alpine | |
# specify location to the keys explicitly | |
command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key | |
environment: | |
POSTGRES_DB: mydb | |
POSTGRES_USER: user | |
POSTGRES_PASSWORD: secret |
jillesvangurp@ip-192-168-1-3 ~/git/inbot/inbot-eth-contracts[master]* | |
$ gradle -PjcenterApiKey=XXXXXXX -PpgpPassword=XXXXXXX bintrayUpload --debug | |
10:18:51.303 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: /Users/jillesvangurp/.gradle/native | |
10:18:51.462 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Executing build c24372db-ffd5-4c01-84c8-895e18d07acc.1 in daemon client {pid=65514} | |
10:18:51.469 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface en5 | |
10:18:51.470 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false | |
10:18:51.470 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a multicast interface? true | |
10:18:51.472 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:aede:48ff:fe00:1122%en5 | |
10:18:51.472 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Addin |
I hereby claim:
To claim this, I am signing this object:
#! /bin/bash | |
# call ./registerPrivateIpForCloudFormationStack.sh domainName stackName hostedZoneName | |
# requires aws-cli and jq installed, you may want to | |
function hostedzoneId() { | |
export hostedzone | |
hostedzone=$(aws route53 list-hosted-zones | jq --raw-output '.HostedZones[] | select(.Name == "$1").Id') | |
echo "$hostedzone" | |
} |
# we have Name tags and environment_name tags so it makes sense to add those as columns | |
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" | jq --raw-output '.Reservations[].Instances[] | [.Placement.AvailabilityZone, .PrivateDnsName, .InstanceType, (.Tags[] | select(.Key == "Name").Value),(.Tags[] | select(.Key == "environment_name").Value)] | @csv' |
eclipse->Preferences->java->editor->templates
create a new template with the name LOG and paste this
private static final Logger LOG = LoggerFactory.getLogger(${enclosing_type}.class);
Now when you type LOG and ctrl+space, you can autocomplete and insert a logger definition.