Skip to content

Instantly share code, notes, and snippets.

View jonathadev's full-sized avatar
👨‍💻

JÔNATHA jonathadev

👨‍💻
View GitHub Profile
@parap
parap / gist:4685904
Created January 31, 2013 20:00
PHP Network class for Olexander Bondarenko
<?php
/**
* @task Write a php class Network.
* The constructor should take a positive integer value indicating the number of elements in the set.
* Passing in an invalid value should throw InvalidArgumentException.
*
* The class should also provide two public methods, connect and query.
*
* The first method, connect will take two integers indicating the elements to connect.
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active June 7, 2025 09:54 — 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.