Skip to content

Instantly share code, notes, and snippets.

@robin13
robin13 / 5-fhem.conf
Created February 24, 2016 18:56
Logstash config for fhem
filter {
if [type] == "fhem" {
grok {
match => { "message" => "%{NOTSPACE:timestamp} %{NOTSPACE:device} %{GREEDYDATA:event}" }
}
grok {
match => {
"device" => "%{DATA:protocol}_%{DATA:manufacturer}_%{DATA:device_type}_%{INT:device_number:int}"
}
#!/bin/sh
#TMPDIR=`mktemp -d`
TMPDIR=/tmp/zoom-report
ZOOM_LOGS=~/.zoom/logs
rm -rf $TMPDIR
mkdir $TMPDIR
sudo lshw > $TMPDIR/lshw.txt
uname -a > $TMPDIR/uname.txt
dpkg -l | grep '^ii' > $TMPDIR/dpkg-install-list.txt
@robin13
robin13 / docker-ip
Created May 12, 2015 07:56
docker-ip
#!/usr/bin/env perl
use strict;
use warnings;
my $ps = `docker ps`;
my @lines = split( /\n/, $ps );
# Remove headers

Keybase proof

I hereby claim:

  • I am robin13 on github.
  • I am robin13 (https://keybase.io/robin13) on keybase.
  • I have a public key whose fingerprint is 7D90 EE98 6E1D 6200 B2AC D354 2CB7 2902 2863 5FDD

To claim this, I am signing this object: