Inspired By: https://github.com/grafana/loki/issues/333
version: "3" networks: loki:
||Compose file describing what to deploy|
||Executing unit to trigger reload on
||Timer unit to plan the reloads|
||Service unit to start and manage docker compose|
reduce method on arrays, conceptually, I came up with the following - hopefully it's helpful; happy to tweak it if anyone has suggestions.
List is a native data type, in JS and this post, I'm referring to the concept. Everywhere I use the word "list" you can assume I'm talking about a JS Array) This means, to perform a single operation on the list as a whole ("atomically"), and to return a new list - thus making it mu
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes $ docker volume rm $(docker volume ls -qf dangling=true) $ docker volume ls -qf dangling=true | xargs -r docker volume rm
|# Tweaked Win10 Initial Setup Script|
|# Primary Author: Disassembler <email@example.com>|
|# Modified by: alirobe <firstname.lastname@example.org> based on my personal preferences.|
|# Version: 2.20.2, 2018-09-14|
|# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script|
|# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/|
|# Tweak difference:|
|# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...|
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
A file below this one contains the steps for doing this with Travis CI. However, these days I recommend GitHub Actions, for the following reasons: