Skip to content

Instantly share code, notes, and snippets.

View 3isenHeiM's full-sized avatar
🏠
Working from home

3isenHeiM 3isenHeiM

🏠
Working from home
View GitHub Profile
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 24, 2025 05:26 — 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.

@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active April 23, 2025 14:10
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@tinybike
tinybike / mssql_to_csv.py
Last active October 22, 2023 18:12
simple mssql -> csv file example using pymssql
#!/usr/bin/env python
"""
simple mssql -> csv file example using pymssql
@author [email protected]
"""
import csv
import datetime
import pymssql
from decimal import Decimal
@nikvdp
nikvdp / merge-ovpn-keys.sh
Last active January 4, 2021 08:13
Merges separated ovpn scripts into one
#!/bin/bash
#######################################################################
# Taken from: https://www.dropbox.com/s/v228zvccef9d10c/merge.sh
# Latest versions of Openvpn supports inline certs and keys
# so you have one client script, instead of script plus 4 keys and certs
#
# This tool assumes
# 1) Openvpn script and certs plus keys are in same directory
# 2) Certs are usually specified in Openvpn script like
# ca ca.crt
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active April 24, 2025 23:53
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@shime
shime / github_secrets.md
Last active September 11, 2024 01:25
Secret Github Features

Taken from Zach Holman's "Git and Github Secrets".

Keyboard Shortcuts

t - quickly jump through files (similar to cmd+T in VI or Text Mate)

w - quickly switch branches

s - search