http://tinkerman.cat/rpi3_iot_server.pdf (Catalan)
- download the latest image
#!/usr/bin/env python3 | |
# Copyright © 2023 Justin McGettigan | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
# and associated documentation files (the “Software”), to deal in the Software without | |
# restriction, including without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the | |
# Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all copies or |
Cheef's Grand APDU List Smartcard Selected Information APDU list | |
Reference: http://web.archive.org/web/20090630004017/http://cheef.ru/docs/HowTo/APDU.info | |
#------------+------------------------+------------------------+----------------------+--------------------------------+ | |
|ClaIns P1 P2|Lc Send Data |Le Recv Data | Specification | Description | | |
+------------+------------------------+------------------------+----------------------+--------------------------------+ | |
| 04 | ISO 7816-9 6.3 | DEACTIVATE FILE | | |
| A0 04 00 00 00 | 3GPP TS 11.11 | INVALIDATE | | |
| A0 04 00 00 00 | SAGEM SCT U34 6.15 | INVALIDATE | | |
+------------+------------------------+------------------------+----------------------+--------------------------------+ |
List with Compatible devices: | |
Look under About on the watch for the device Id. | |
looks something like this: | |
MOY-TEH5-1.7.7 | |
the middle section is the interesting part, if that is in this list here | |
it has the compatible bootloader and the same pinout as pinetime for Display and External Flash |
#!/bin/bash | |
# ldd drop-in replacement for cross-compilation toolchains. | |
# This file is a slightly modified version of xldd.in from | |
# crosstool-ng 1.22.0 | |
# In order to use it, copy it in same directory than other | |
# toolchain binaries and rename it with same tuple. | |
# (i.e. /opt/arm-sysmic-linux-gnueabihf/bin/arm-sysmic-linux-gnueabihf-ldd) |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"copyOnSelect": false, | |
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
// Add custom keybindings to this array. | |
// To unbind a key combination from your defaults.json, set the command to "unbound". | |
// To learn more about keybindings, visit https://aka.ms/terminal-keybindings | |
"keybindings": | |
[ | |
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. |
#!/usr/bin/env python3 | |
import aioesphomeapi | |
import asyncio | |
async def main(): | |
loop = asyncio.get_running_loop() | |
cli = aioesphomeapi.APIClient(loop, "foobarhostname", 6053, "foobarpassword") | |
await cli.connect(login=True) |
http://tinkerman.cat/rpi3_iot_server.pdf (Catalan)
This is a quick guide to OAuth2 support in GitHub for developers. This is still experimental and could change at any moment. This Gist will serve as a living document until it becomes finalized at Develop.GitHub.com.
OAuth2 is a protocol that lets external apps request authorization to private details in your GitHub account without getting your password. All developers need to register their application before getting started.
#!/bin/sh | |
# SPDX-FileCopyrightText: 2020-2024, Rylie Pavlik | |
# SPDX-License-Identifier: CC0-1.0 | |
# Nothing sh-specific here, these work fine in pwsh as well | |
### Aliases | |
# Lots of people use these, and I guess I type them a lot... | |
git config --global alias.ci commit | |
git config --global alias.co checkout |
The assumed default setting in /etc/systemd/journald.conf
is Storage=auto
which implies that systemd journaling will only persist the journal if the expected storage location is available. Otherwise, the journal data is stored in memory and lost between reboots. On Ubuntu 16.04, /var/log/journal
does not exist by default. Create it to keep and query events from previous boots.
Considerations: