Skip to content

Instantly share code, notes, and snippets.

@MAFLO321
MAFLO321 / ajenti-auth.conf
Created October 13, 2015 19:09
Fail2Ban ajenti auth filter. To protect ajeti from spam and bruteforce attacks.
View ajenti-auth.conf
# Fail2Ban filter for ajenti
#
[INCLUDES]
before = common.conf
[Definition]
_daemon = ajenti
@MAFLO321
MAFLO321 / rdd-to-sql
Last active December 26, 2015 00:49 — forked from raelga/rdd-to-sql
Export Fröling data to SQL.
View rdd-to-sql
echo '--
-- Tabellenstruktur für Tabelle `data`
--
' >> data.sql;
echo 'CREATE TABLE IF NOT EXISTS `data` (
`timestamp` date NOT NULL COMMENT 'Uhr',
`Zustand` text,
`Kesseltemp` int(11) DEFAULT NULL COMMENT '°C',
`Abgastemp` int(11) DEFAULT NULL COMMENT '°C',
`Kesselstrg` int(11) DEFAULT NULL COMMENT '%',