This file contains hidden or 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
/***********************************************************************/ | |
/**** C-Beam ******************************************/ | |
/***********************************************************************/ | |
// ***> NOTE: The init message must be a single line with no CRs or LFs | |
#define INIT_MESSAGE "Initializing configuration for C-Beam" | |
//**** GLOBAL / GENERAL SETTINGS ****************************************************** | |
// Machine configuration settings |
This file contains hidden or 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
# For this Github issue: | |
# https://github.com/kubernetes/kubernetes/issues/34772 | |
# | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-app | |
labels: | |
name: my-app | |
spec: |
This file contains hidden or 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/python | |
import picamera | |
import cv2 | |
import io | |
import numpy as np | |
import imutils | |
camera = picamera.PiCamera() |
This file contains hidden or 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
# Create using kubectl: | |
# $ kubectl create -f splunk-daemonset.yaml | |
# | |
# You should also add config on your indexer to deal with the json formatted files: | |
# https://answers.splunk.com/answers/148307/how-to-parse-and-extract-json-log-files-in-splunk.html | |
# | |
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: splunk-forwarder |