openpgp4fpr:AED7F07FE3A146A280CADB6686DAB9F71FF20A3A
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: "${devicename}" | |
comment: "${device_description}" | |
build_path: "${devicename}" | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password | |
domain: !secret wifi_domain | |
fast_connect: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECIMAL HEXADECIMAL DESCRIPTION | |
-------------------------------------------------------------------------------- | |
84792 0x14B38 CRC32 polynomial table, little endian | |
86716 0x152BC xz compressed data | |
131072 0x20000 uImage header, header size: 64 bytes, header CRC: 0xB07BDC72, created: 2023-11-05 19:22:42, image size: 104304 bytes, Data Address: 0x0, Entry Point: 0x0, data CRC: 0xA4DFAB1B, OS: Firmware, CPU: ARM, image type: OS Kernel Image, compression type: lzma, image name: "MVX4##I6B0gf3a2dcfCM_UBT1501#XVM" | |
131136 0x20040 xz compressed data | |
327680 0x50000 uImage header, header size: 64 bytes, header CRC: 0x53A646C, created: 2023-11-12 23:19:25, image size: 1855208 bytes, Data Address: 0x20008000, Entry Point: 0x20008000, data CRC: 0x25417C70, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: "Linux-4.9.84-ssc333" | |
342619 0x53A5B xz compressed data | |
342953 0x53BA9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Scrapes for phlebotomy appointments at St Helens & Knowsley Teaching Hospitals locations. | |
The local NHS trust uses Simplybook to manage their bloods appointment, and | |
unfortunatly the Web UI for doing this is slow and unreliable. It can take | |
upwards of 5-10 minutes to check for available appointments at each location. | |
This script scrapes the API to provide a list of the next available appointment | |
at each location, saving time when hunting for one. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Builder | |
FROM ghcr.io/hugomods/hugo:dart-sass AS build | |
ARG GH_ACCESS_TOKEN | |
WORKDIR /tmp/hugo | |
COPY . . | |
RUN apk add --no-cache make && git config --global url.https://${GH_ACCESS_TOKEN}@github.com/.insteadOf https://github.com/ && make build | |
# Ngnix container with site | |
FROM nginx:alpine-slim | |
WORKDIR /usr/share/nginx/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import argparse | |
import csv | |
from urllib.parse import urljoin | |
from datetime import datetime | |
import airportsdata | |
airports = airportsdata.load("IATA") | |
def get_icao_code(iata_code): |
OlderNewer