- Create a file called
mainifest.yaml
with contents
# Automation to publish sensor data to MQTT | |
- id: publish_epaper_sensors | |
alias: Publish epaper sensors | |
initial_state: true | |
mode: parallel | |
max: 50 | |
trigger: | |
- platform: state | |
entity_id: input_boolean.waveshare_ota_mode | |
- platform: state |
#! /bin/bash | |
# | |
# Lenovo Legion 5 Patch Utility | |
# | |
# This script aims to simplify the application of various patches required for Lenovo Legion 5 15ARH05. | |
# For convenience you can run this script with `bash <(curl https://gist.githubusercontent.com/jbuncle/7dacde983b3c33b3b816b10e2fd2308a/raw/build-patched-kernel.sh)` | |
# | |
# References: | |
# - Original bug and related patch: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190 | |
# - Touchpad patch file: https://www.spinics.net/lists/linux-input/msg69458.html |
#!/bin/bash | |
# KIOSK generator for Scientific Linux and CentOS (versions 5; 6 and 7) | |
# Created using Scientific Linux | |
# Wasn't made and never tested on different distros than SL/CentOS/EL! | |
# Version 1.4 for i386 and x86_64 | |
# | |
# Feel free to contact me: [email protected] | |
# www.marcinwilk.eu | |
# Marcin Wilk |
# Zookeeper | |
job "zookeeper" { | |
# Specify Region | |
region = "uswest-fremont" | |
# Specify Datacenter | |
datacenters = [ "fremont-dc1"] | |
# Specify job type |
# Zookeeper | |
job "zookeeper" { | |
# Specify Region | |
region = "uswest-fremont" | |
# Specify Datacenter | |
datacenters = [ "fremont-dc1"] | |
# Specify job type |
global | |
maxconn 2000 | |
stats socket /tmp/haproxy.socket level admin | |
uid 80 | |
gid 80 | |
nbproc 1 | |
chroot /tmp/haproxy_chroot | |
daemon | |
tune.ssl.default-dh-param 2048 | |
# Modern browser compatibility only as mentioned here: |
Fortigate 300c log parsing in Logstash
QA ca be done with:
logstash-1.4.2/bin/logstash rspec --format documentation test.rb
There is so much documentation online from RedHat and CentOS about this topic - it's sad that I am writing this. But the real state of documentation on this topic (CentOS 7 + KS + ISO = Bootable DVD) is almost non-existent.
I found this: http://smorgasbork.com/component/content/article/35-linux/151-building-a-custom-centos-7-kickstart-disc-part-1
Which I greatly appreciate and +1, but the documentation is half-baked and there are numerous errors.
Finally... FINALLY! After four days of banging my head, I got this to work. Hopefully someone else will be able to do this in a few hours, instead of blowing their weekend like me. :(