Skip to content

Instantly share code, notes, and snippets.

View korteke's full-sized avatar

Keijo Korte korteke

View GitHub Profile
{
"handler": {
"type": "Chain",
"config": {
"filters": [
{
"type": "PasswordReplayFilter",
"config": {
"loginPageContentMarker": "Welcome",
"request": {
@korteke
korteke / restore_from_archive.py
Last active July 21, 2018 05:34
Splunk - Restore from archive
#!/usr/bin/python
import os
import time
import datetime
from subprocess import call
# VARIABLES
archivepath = '/archive/'
logpath = '/logdata/'
splunkbin = '/opt/splunk/bin/'
@korteke
korteke / docker-compose.yaml
Last active May 30, 2025 10:53
Traefik + ModSecurity plugin
version: "3.8"
services:
traefik:
image: traefik
ports:
- "8000:80"
- "8080:8080"
command:
- --api.dashboard=true
@korteke
korteke / configuration.yaml
Last active September 17, 2025 08:56
Cozify HAN-port meter + Home Assistant integration
default_config:
homeassistant:
packages: !include_dir_named packages
frontend:
themes: !include_dir_merge_named themes
extra_module_url:
- /hacsfiles/custom-sidebar/custom-sidebar-yaml.js