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.
from math import floor, ceil | |
from typing import AnyStr | |
ASCII_TO_INT: dict = {i.to_bytes(1, 'big'): i for i in range(256)} | |
INT_TO_ASCII: dict = {i: b for b, i in ASCII_TO_INT.items()} | |
def compress(data: AnyStr) -> bytes: | |
if isinstance(data, str): |
ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
"""Use Python re for sqlite3 REGEXP operator wíth SQLAlchemy. | |
added in https://docs.sqlalchemy.org/en/14/changelog/migration_14.html#support-for-sql-regular-expression-operators | |
""" | |
import re | |
from typing import Optional | |
import sqlalchemy as sa | |
import sqlalchemy.orm |
import sys | |
import requests | |
def download(url, filename): | |
with open(filename, 'wb') as f: | |
response = requests.get(url, stream=True) | |
total = response.headers.get('content-length') | |
if total is None: |
The following sample codes are not valid for the listed services but should allow basic testing of an authenticator application. Clicking on a QR code image will display just that code so it is easier to scan without interference from the other codes.
You can use this site to generate more QR codes as needed. It will also let you verify the produced codes against its own calculated code.
Unbuntu is no longer support by the Home Assistant project. | |
The installation commands previous listed here, are not up 2 date, not recommended, not supported and, therefore, removed. |
from trello import TrelloClient | |
import requests | |
API_KEY = "" | |
API_SECRET = "" | |
TOKEN = "" | |
BOARD_NO = 0 | |
LIST_NO = 10 |
# @ https://cheat.readthedocs.io/en/latest/python/mock.html | |
obj.call_count # number of times it was called | |
obj.called == obj.call_count > 0 | |
obj.call_args_list # a list of (args,kwargs), one for each call | |
obj.call_args # obj.call_args_list[-1] (args,kwargs from last call) | |
obj.return_value # set to what it should return | |
obj.side_effect # set to an exception class or instance that should be raised when its called | |
obj.assert_called() # doesn't work with autospec=True? just assert obj.called | |
obj.assert_called_with(*args, **kwargs) # last call was with (*args, **kwargs) |