Skip to content

Instantly share code, notes, and snippets.

View mschmitt's full-sized avatar
🥾
Busier than a one-legged man in an ass-kicking contest.

Martin Schmitt mschmitt

🥾
Busier than a one-legged man in an ass-kicking contest.
View GitHub Profile
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 8, 2026 10:23 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@ThomasLeister
ThomasLeister / rspamd-whitelisting.md
Last active January 2, 2026 22:28
How to whitelist IP addresses or domains in Rspamd

Whitelist IP addresses based on pre-filter policy

/etc/rspamd/local.d/multimap.conf:

  IP_WHITELIST {
      type = "ip";
      prefilter = true;
      map = "/${LOCAL_CONFDIR}/local.d/ip_whitelist.map";
 action = "accept";
{
"info": {
"_postman_id": "16236cd9-63ed-4d5e-805b-5d25781090b0",
"name": "Audi Authentication",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Auth - 1 - Get OpenID configuration",
"protocolProfileBehavior": {
@gladiatx0r
gladiatx0r / gist:c52d529ea268f7e74295c2c492cf9774
Created October 6, 2020 21:05 — forked from jeffmcjunkin/gist:d5fb8dbf15cbd5d37a77fafccda4d969
Retrieving SSSD plain text passwords (krb5_store_password_if_offline)
for who ever this interest, if you enable krb5_store_password_if_offline in the SSSD configuration, the AD password for accounts is stored in plaintext in the kernel keyring
to dump the clear text password you can do :
```
gdb -p <PID_OF_SSSD>
call system("keyctl show > /tmp/output")
```
From the /tmp/output locate the key_id for the user you want
Example of an output is :
@BusterNeece
BusterNeece / video_stream.liq
Last active June 26, 2025 18:43
Liquidsoap 2.1 Video Stream with HLS
# Update:
# I am moving this script back to its original home as part of the AzuraCast repository:
# https://github.com/AzuraCast/radio-video-stream
# --
# See updated instructions there.
@rkallensee
rkallensee / Gemfile
Last active April 11, 2024 01:59
Script to convert datetimes in an icalendar ics file to local time
source 'https://rubygems.org'
gem 'icalendar'
gem 'activesupport'
# gem 'pry'
@nakov
nakov / http-get.js
Created February 20, 2023 14:09
Shelly HTTP GET
Shelly.call(
"HTTP.GET",
{"url": "https://api.zippopotam.us/us/90210"},
function (response) {
if (response && response.code && response.code === 200) {
print(JSON.stringify(response.body));
Shelly.emitEvent("HTTP-result", response.body);
}
else {
print("Error: HTTP request failed.");