This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
## Setup as per https://docs.graylog.org/en/4.0/pages/installation/os/ubuntu.html | |
## Dependancies | |
apt-get update && sudo apt-get upgrade -y | |
apt-get install apt-transport-https openjdk-8-jre-headless uuid-runtime pwgen -y --no-install-recommends | |
add-apt-repository universe | |
apt-get update && sudo apt-get upgrade -y | |
apt-get install apt-transport-https openjdk-8-jre-headless uuid-runtime pwgen -y --no-install-recommends |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import subprocess | |
import os | |
import sys | |
SECONDS=5 | |
if len(sys.argv) > 1: | |
print("Recording topics...", ) | |
topics = ["/an_device/sync/Imu", \ |
OlderNewer