Skip to content

Instantly share code, notes, and snippets.

View AutomationD's full-sized avatar
🎛️
Turning Knobs

Dmitry Kireev AutomationD

🎛️
Turning Knobs
View GitHub Profile
@AutomationD
AutomationD / gist:dfd1f82568b37ff95398
Created February 27, 2015 23:58
fpm - build openresty deb package
#!/bin/bash
version=1.7.7.2
wget http://openresty.org/download/ngx_openresty-${version}.tar.gz
tar zxf ngx_openresty-${version}.tar.gz
cd ngx_openresty-${version}
./configure --with-luajit \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
@AutomationD
AutomationD / run.sh
Last active December 22, 2017 00:01
xfce HDPI
#!/bin/bash
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
AutomationD / gist:9b438c2de72ce1294642
Created November 24, 2014 23:17
python 3.4 on Raspbian wheezy
sudo su
cat << EOF > /etc/apt/preferences
Package: *
Pin: release n=wheezy
Pin-Priority: 900
Package: *
Pin: release n=jessie
Pin-Priority: 300
@AutomationD
AutomationD / ramdisk-manage
Last active March 28, 2018 17:03
Ramdisk persitance daemon
#!/bin/sh
# /etc/init.d/ramdisk-manage
#
case "$1" in
start)
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
AutomationD / template.xml
Last active April 4, 2018 12:57
Dell iDrac Zabbix 3.0
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.0</version>
<date>2016-06-28T16:26:35Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
@AutomationD
AutomationD / Logstash.xml
Last active June 18, 2020 20:39
Logstash IntelliJ Idea Filetype
<filetype binary="false" description="Logstash Config" name="Logstash Config">
<highlighting>
<options>
<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
AutomationD / keybase.md
Created February 26, 2021 15:03
keybase.md

Keybase proof

I hereby claim:

  • I am automationd on github.
  • I am automationd (https://keybase.io/automationd) on keybase.
  • I have a public key ASDLuMtXEzhlNlmisnfQO8wdiI6ZGNfh-I0nS-8FccyY8Ao

To claim this, I am signing this object: