Skip to content

Instantly share code, notes, and snippets.

View nikdoof's full-sized avatar
👋

Andrew Williams nikdoof

👋
View GitHub Profile

openpgp4fpr:AED7F07FE3A146A280CADB6686DAB9F71FF20A3A

@nikdoof
nikdoof / Memex -> Logseq
Last active September 30, 2023 00:55
A copy template for Memex that'll paste nicely into Markdown mode LogSeq
[{{{title}}}]({{{url}}}) #Article
### **Summary**
{{#Notes}}
#### {{{NoteText}}}
{{/Notes}}
### **Highlights**
{{#Notes}}
#### {{{NoteHighlight}}}
{{/Notes}}
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
#!/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.