This filebeat.yml config will receive input from stdout, do some processing and write output to stdout.
echo "message" | filebeat -c `pwd`/filebeat.yml -e 2> /dev/null
FROM ubuntu:20.04 | |
RUN apt-get update | |
# Set locales | |
RUN apt-get update && \ | |
apt-get install -y locales && \ | |
locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LC_CTYPE en_US.UTF-8 |
build { | |
# ... | |
provisioner "shell" { | |
inline = [ | |
"echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections", | |
"sudo apt-get update", | |
"sudo apt-get dist-upgrade -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef -y --allow-downgrades --allow-remove-essential --allow-change-held-packages", | |
"sudo apt-get autoremove -y", | |
"sudo apt-get clean", |
This filebeat.yml config will receive input from stdout, do some processing and write output to stdout.
echo "message" | filebeat -c `pwd`/filebeat.yml -e 2> /dev/null
[ | |
{ | |
"abbrev":"AF", | |
"name":"Afghanistan", | |
"postal":"[0-9]{4}" | |
}, | |
{ | |
"abbrev":"AL", | |
"name":"Albania", | |
"postal":"(120|122)[0-9]{2}" |
This short guides shows you how to setup a new skeleton Jekyll project, using the Jekyll CLI to generate the files for you.
This guide does not require Jekyll to be installed globally. Rather, it takes you through installing Jekyll in a new project that only has one file in it, then uses that project Jekyll to create all the Jekyll base files in the same directory.
Under Jekyll docs, you can see the Installation page. That provides links to install for each OS. These are covered in some detail here.
See also New under my Jekyll recipes for a few ways to set up a new Jekyll site.
# Source: https://gist.github.com/48f44d3974db698d3127f52b6e7cd0d3 | |
########################################################### | |
# Automation of Everything # | |
# How To Combine Argo Events, Workflows, CD, and Rollouts # | |
# https://youtu.be/XNXJtxkUKeY # | |
########################################################### | |
# Requirements: | |
# - k8s v1.19+ cluster with nginx Ingress |