As of July 2018, Raspbian does not yet include the latest Python release, Python 3.7.4. This means we will have to build it ourselves, and here is how to do it.
- Install the required build-tools (some might already be installed on your system).
| sudo -i | |
| apt-get install software-properties-common | |
| add-apt-repository universe | |
| apt-get update | |
| apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat | |
| #The jetson already has docker installed | |
| #curl -fsSL get.docker.com | sh | |
| curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s -- -m qemuarm-64 |
I found that the "best" way is to use HTML, as it works both in Readme/.md files and also in comments (within Issues, Gist...)
E.g. when adding/editing a comment (within Issues, Gist...) :
 with <img src="https://your-image-url.type" width="100" height="100">As mentioned by @cbestow (thanks!), it's not mandatory to set both width and height. If only one is set, the other will be adjusted accordingly to preserve the aspect ratio of the image.
| import asyncio | |
| import logging | |
| from typing import List | |
| def _ignore_task_exception(task: asyncio.Future, logger: logging.Logger): | |
| # noinspection PyBroadException | |
| try: | |
| task.result() | |
| except BaseException: |
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.
| CREATE TABLE accounts( | |
| id serial PRIMARY KEY, | |
| name VARCHAR(256) NOT NULL | |
| ); | |
| CREATE TABLE entries( | |
| id serial PRIMARY KEY, | |
| description VARCHAR(1024) NOT NULL, | |
| amount NUMERIC(20, 2) NOT NULL CHECK (amount > 0.0), | |
| -- Every entry is a credit to one account... |
| CREATE TABLE IF NOT EXISTS `currency` ( | |
| `iso` char(3) CHARACTER SET utf8 NOT NULL DEFAULT '', | |
| `name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, | |
| `symbol` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | |
| INSERT INTO `currency` (`iso`, `name`, `symbol`) VALUES | |
| ('ADP', 'Andorran Peseta', 'ADP'), |
| <form method="post" action=""> | |
| {{ form.name}} | |
| {{ form.hidden_tag() }} | |
| <br/> | |
| {% for entry in form.hours %} | |
| {{ loop.index0|dow }} | |
| {{ entry() }} | |
| {% endfor %} | |
| <input type="submit"/> | |
| </form> |
| -- | |
| -- Table structure for table `country` | |
| -- | |
| CREATE TABLE IF NOT EXISTS `country` ( | |
| `iso` char(2) COLLATE utf8_unicode_ci NOT NULL, | |
| `name` varchar(80) COLLATE utf8_unicode_ci NOT NULL, | |
| `nicename` varchar(80) COLLATE utf8_unicode_ci NOT NULL, | |
| `iso3` char(3) COLLATE utf8_unicode_ci DEFAULT NULL, | |
| `numcode` smallint(6) DEFAULT NULL, |
Please see other gists for updated information. https://gist.github.com/XenoPanther/15d8fad49fbd51c6bd946f2974084ef8