Skip to content

Instantly share code, notes, and snippets.

View thelfensdrfer's full-sized avatar
🏠
Working from home

Tim Helfensdörfer thelfensdrfer

🏠
Working from home
View GitHub Profile
openapi: 3.0.3
info:
title: equation API
version: 1.0.0
paths:
/benchmark/:
get:
operationId: benchmark_retrieve
tags:
- benchmark
@thelfensdrfer
thelfensdrfer / sources.list
Created March 2, 2023 16:14 — forked from ishad0w/sources.list
Ubuntu 20.04 LTS (Focal Fossa) -- Full sources.list
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
#include <QDebug>
#include <QThread>
#include <QString>
#include <qtconcurrentrun.h>
#include <QApplication>
#include <QZXing.h>
using namespace QtConcurrent;
QString scan_image(QZXing decoder)
@thelfensdrfer
thelfensdrfer / jail.local
Created August 28, 2016 16:55
Send fail2ban and ssh notifications to a server
#/etc/fail2ban/jail.local
[DEFAULT]
action_ban_sec = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
sec[name=%(__name__)s]
action = %(action_ban_sec)s
@thelfensdrfer
thelfensdrfer / jail.local
Last active July 26, 2016 15:47 — forked from Nihisil/jail.local
Send notifications to the Slack from fail2ban
# /etc/fail2ban/jail.local
[...]
action_with_slack_notification = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
slack[name=%(__name__)s]
action = %(action_with_slack_notification)s
[...]
{
"jsdocs_align_tags": "no",
"jsdocs_return_description": false,
"jsdocs_param_description": false,
"jsdocs_spacer_between_sections": true
}
@thelfensdrfer
thelfensdrfer / installed packages
Last active September 27, 2018 10:59
Sublime Text 3 Configs
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"BracketHighlighter",
"DocBlockr",
"Git",