jq is useful to slice, filter, map and transform structured json data.
brew install jq
| {Time since VM started, in seconds}: [GC {Time since VM started}: [{GC type} | |
| Desired survivor size {size of one survivor space} bytes, new threshold {y} (max {x}) <- how many collections objects can stay in the young gen. More on this later | |
| - age 1: {a} bytes, {a} total <- How many objects have survived one collection. Next collection, any surviving objects will appear in age 2 | |
| - age 2: {b} bytes, {a+b} total | |
| : {pre-collection young gen[5] usage}K->{post-collection young gen usage}K({Total young gen size}K), {young gen time} secs] | |
| {pre-collection heap size}K->{post-collection heap size}K({total heap size}K), {total collection time} secs] |
| #!/usr/bin/env bash | |
| # print usage | |
| DOMAIN=$1 | |
| if [ -z "$1" ]; then | |
| echo "USAGE: $0 domain.lan" | |
| echo "" | |
| echo "This will generate a non-secure self-signed wildcard certificate for given domain." | |
| echo "This should only be used in a development environment." |
| #!/bin/bash | |
| hg clone http://hg.openjdk.java.net/jdk10/jdk10 && cd jdk10 && chmod +x get_source.sh && ./get_source.sh |
| version: '3.7' | |
| services: | |
| # Elasticsearch Docker Images: https://www.docker.elastic.co/ | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:7.4.0 | |
| container_name: elasticsearch | |
| environment: | |
| - xpack.security.enabled=false |