Get credentials for a given GKE cluster
gcloud container clusters get-credentials $(gcloud container clusters list --format json | jq -r '.[] | "\(.name) --zone \(.location)"' | fzf --height 10 --sync)
% gcc main.c $(pkg-config --libs x11 xi --cflags) -o xinput-example | |
% ./xinput-example | |
Pointer id:2 at location 1011,756 |
# Create a self-signed cert | |
openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout lumberjack.key -out lumberjack.crt | |
# Create a self-signed with DNS SAN | |
openssl req -x509 -nodes -new -subj "/CN=localhost" -addext "subjectAltName = DNS:localhost" -newkey rsa:2048 -keyout | |
/tmp/server.key -out /tmp/server.crt | |
wpa_supplicant.conf
at top-level of SD card (boot)ssh
file on top-level of SD card.apt-get update
+ apt-get upgrade
)curl -fsSL https://get.docker.com | sudo sh
Wifi/SSH tips from this site: https://raspberrytips.com/raspberry-pi-wifi-setup/#Raspberry_Pi_WiFi_Headless_Configuration
There are roughly 70 code contributors to the logstash project as of today. Many more exist as helpful folks on IRC and the mailling list. Others post awesome bug reports and feature requests. The community is simply awesome.
I've been working on logstash for about 2 years. All as a hobby - all part-time. About 70% of the current content (commits, 'git blame' lines, etc) are by me.
Unfortunately, I've never used logstash in production. (Embarrassing, I know!)
I'm embarrassed to answer user questions like "How do I optimize elasticsearch's storage?" with "Sorry, I've never used elasticsearch outside of my laptop."
include foo |
input { stdin { } } | |
output { | |
stdout { | |
#codec => rubydebug | |
codec => dots | |
} | |
elasticsearch { | |
protocol => http |
% ./a.out $WINDOWID | |
Items: 22 | |
Type: STRING | |
WM_CLASS[0]: terminator | |
WM_CLASS[1]: Terminator |