Skip to content

Instantly share code, notes, and snippets.

View int2001's full-sized avatar

Joerg (DJ7NT) int2001

View GitHub Profile
@int2001
int2001 / Dockerfile
Last active March 5, 2024 07:19
Dockerize Wavelog
FROM php:8.3-apache
RUN touch /usr/local/etc/php/conf.d/uploads.ini \
&& echo "file_uploads = On" >> /usr/local/etc/php/conf.d/uploads.ini \
&& echo "memory_limit = 256M" >> /usr/local/etc/php/conf.d/uploads.ini \
&& echo "upload_max_filesize = 64M" >> /usr/local/etc/php/conf.d/uploads.ini \
&& echo "post_max_size = 64M" >> /usr/local/etc/php/conf.d/uploads.ini \
&& echo "max_execution_time = 600" >> /usr/local/etc/php/conf.d/uploads.ini
RUN apt-get update \
&& apt-get install -y git curl libxml2-dev libonig-dev libzip-dev
RUN docker-php-ext-install mysqli mbstring xml zip
@int2001
int2001 / qrg_config.php
Created February 3, 2024 13:56
Current QRV-State as image from Wavelog // Quick Hack
<?php
return array (
'servername' => "localhost",
'username' => "dbusername",
'password' => "dbpassword",
'dbname'=> "dbname"
);
?>
@int2001
int2001 / gist:0aeb68538eb995ba6acc
Last active August 29, 2015 14:22
iptables-46-multiport-log.conf
# Fail2Ban configuration file
#
# Author: Guido Bozzetto
# Modified: Cyril Jaquier
#
# make "fail2ban-<name>" chain to match drop IP
# make "fail2ban-<name>-log" chain to log and drop
# insert a jump to fail2ban-<name> from -I <chain> if proto/port match
#
#

Keybase proof

I hereby claim:

  • I am int2001 on github.
  • I am intel2k (https://keybase.io/intel2k) on keybase.
  • I have a public key whose fingerprint is FE96 71A0 E4A1 AAA5 5122 56B6 585A 6F80 4A9A 85DF

To claim this, I am signing this object: