Skip to content

Instantly share code, notes, and snippets.

Dmitry Kireev AutomationD

Block or report user

Report or block AutomationD

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
xfconf-query -c xsettings -p /Xft/DPI -s "190"
xfconf-query -c xfwm4 -p /general/theme -s "Default-hdpi"
xfconf-query -c xfce4-panel -p /panels/panel-0/size -s "49"
xfconf-query -c xfce4-desktop -p /desktop-icons/icon-size -s 64
AutomationD / template.xml
Last active Apr 4, 2018
Dell iDrac Zabbix 3.0
View template.xml
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
View kafka.conf
command = /usr/local/kafka/bin/ -name kafkaServer -loggc kafka.Kafka /usr/local/kafka/config/
stopwaitsecs = 60
redirect_stderr = true
stdout_logfile = /var/log/kafka/kafka-stdout.log
stdout_logfile_maxbytes = 0
stdout_logfile_backups = 0
environment =
AutomationD / Logstash.xml
Last active Apr 4, 2019
Logstash IntelliJ Idea Filetype
View Logstash.xml
<filetype binary="false" description="Logstash Config" name="Logstash Config">
<option name="LINE_COMMENT" value="#" />
<option name="COMMENT_START" value="" />
<option name="COMMENT_END" value="" />
<option name="HEX_PREFIX" value="" />
<option name="NUM_POSTFIXES" value="" />
<option name="HAS_BRACES" value="true" />
<option name="HAS_BRACKETS" value="true" />
AutomationD / ramdisk-manage
Last active Mar 28, 2018
Ramdisk persitance daemon
View ramdisk-manage
# /etc/init.d/ramdisk-manage
case "$1" in
echo "Syncing files from harddisk to ramdisk"
rsync -av /var/lib/ramdisk-persisance/ /mnt/ramdisk/
echo [`date +"%Y-%m-%d %H:%M"`] Ramdisk Synched from HD >> /var/log/ramdisk-manage.log
AutomationD / gist:1f512ef4cbfb09ac918c
Created Jul 7, 2015
Arduino 2 Nodemcu Passthrough
View gist:1f512ef4cbfb09ac918c
#include <dht.h>
#define DHT11_PIN 4
dht DHT;
HardwareSerial trm = Serial2;
HardwareSerial esp = Serial1;
HardwareSerial dbg = Serial;
const int moistureAO = 7;
float moisture = 0.0;
float temperature = 0.0;
AutomationD / gist:daa5a6ac55ec4cadd0c8
Created May 27, 2015
Remove java from windows via puppet
View gist:daa5a6ac55ec4cadd0c8
puppet apply -e "package {'Java 7 Update 71': ensure => absent} package {'Java 8 Update 31': ensure => absent} package {'Java 8 Update 31 (64-bit)': ensure => absent}"
AutomationD / main.c.patch
Last active Aug 29, 2015
Spiffy patches for Windows
View main.c.patch
< //16k
< #define MAX_SIZE 4*4*1024
> //192k
> #define MAX_SIZE 12*4*4*1024
AutomationD / Ubuntu -
Last active Aug 29, 2015
Merge bin and add files to spiffs
View Ubuntu -
# Getting required packages - Ubuntu
sudo apt-get install -y python-serial srecord bc
# Prerequisites:
# Xcode
# Homebrew:
ruby -e "$(curl -fsSL"
brew tap homebrew/dupes
brew install binutils coreutils automake wget gawk libtool gettext gperf gnu-sed --with-default-names grep
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
You can’t perform that action at this time.