Skip to content

Instantly share code, notes, and snippets.

View ghalfacree's full-sized avatar

Gareth Halfacree ghalfacree

View GitHub Profile
@ghalfacree
ghalfacree / Whirlpool Washer Recall December 2019.txt
Created December 17, 2019 14:50
Whirlpool Washer Recall December 2019
FML 742P UK
WMAOD 743G UK
WMOAD 743P UK
WMAQB 721P UK.M
WMAQC 641P UK/M
WMAQC 741G UK
WMAQC 741P UK
WMAQC 741P UK.M
WMAQF 621G UK
WMAQF 621P UK
@ghalfacree
ghalfacree / Raspberry Pi 4 CPU Info.b64
Created June 24, 2019 14:44
Raspberry Pi 4 CPU Info (base64 encoded)
cHJvY2Vzc29yCTogMAptb2RlbCBuYW1lCTogQVJNdjcgUHJvY2Vzc29yIHJldiAzICh2N2wpCkJv
Z29NSVBTCTogMTA4LjAwCkZlYXR1cmVzCTogaGFsZiB0aHVtYiBmYXN0bXVsdCB2ZnAgZWRzcCBu
ZW9uIHZmcHYzIHRscyB2ZnB2NCBpZGl2YSBpZGl2dCB2ZnBkMzIgbHBhZSBldnRzdHJtIGNyYzMy
IApDUFUgaW1wbGVtZW50ZXIJOiAweDQxCkNQVSBhcmNoaXRlY3R1cmU6IDcKQ1BVIHZhcmlhbnQJ
OiAweDAKQ1BVIHBhcnQJOiAweGQwOApDUFUgcmV2aXNpb24JOiAzCgpwcm9jZXNzb3IJOiAxCm1v
ZGVsIG5hbWUJOiBBUk12NyBQcm9jZXNzb3IgcmV2IDMgKHY3bCkKQm9nb01JUFMJOiAxMDguMDAK
RmVhdHVyZXMJOiBoYWxmIHRodW1iIGZhc3RtdWx0IHZmcCBlZHNwIG5lb24gdmZwdjMgdGxzIHZm
cHY0IGlkaXZhIGlkaXZ0IHZmcGQzMiBscGFlIGV2dHN0cm0gY3JjMzIgCkNQVSBpbXBsZW1lbnRl
cgk6IDB4NDEKQ1BVIGFyY2hpdGVjdHVyZTogNwpDUFUgdmFyaWFudAk6IDB4MApDUFUgcGFydAk6
IDB4ZDA4CkNQVSByZXZpc2lvbgk6IDMKCnByb2Nlc3Nvcgk6IDIKbW9kZWwgbmFtZQk6IEFSTXY3
@ghalfacree
ghalfacree / Raspberry Pi 4 CPU Info.txt
Created June 24, 2019 14:21
Raspberry Pi 4 CPU Info
pi@raspberrypi:~ $ lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
**Hardware:**
Commodore 128, good condition, yellowing to keyboard
Commodore 128 spare upper and lower plastics, acceptable condition
Commodore 64C, excellent condition
Commodore 64C, some yellowing
Commodore 64C, boxed, good condition
Commodore 64C, boxed, yellowing
Commodore 1570 Disk Drive, good Condition
Commodore 1571 Disk Drive, excellent Condition
Commodore 1541-II Disk Drive, yellowing
/* IOBench - a simple benchmark for Arduinos and compatibles.
* Written by Gareth Halfacree <freelance@halfacree.co.uk>
*
* Principle: perform digitalRead and digitalWrite operations
* to measure the relative performance of Arduino MCUs and
* compatible devices.
*
* The read benchmark begins by measuring the time, in
* microseconds, it takes to complete a large loop.
* The loop is then repeated with a digitalRead operation,
@ghalfacree
ghalfacree / gist:2f870cc274d6df3418cd3e8df370797f
Created August 21, 2017 10:41
Gamebuino/MAKERbuino benchmarks
Gamebuino:
==========
Dhrystone Benchmark, Version 2.1 (Language: C)
Execution starts, 300000 runs through Dhrystone
Execution ends
Microseconds for one run through Dhrystone: 56.09
Dhrystones per Second: 17828.28
VAX MIPS rating = 10.15
Whetstone Benchmark, Version 1.2 (Language: C)
/*
Timing Accuracy Test
*/
unsigned long time;
void setup() {
Serial.begin(9600);
}
@ghalfacree
ghalfacree / openpgp.txt
Created April 5, 2016 18:07
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:06225fa7755e352749b9cc335308b8cbf093c7cc]
// ==UserScript==
// @name HTML5 Notifications fix for Firefox
// @namespace https://zornco.com/
// @include http*://mightytext.net/web*/*
// @version 1.0.3
// @run-at document-start
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
// @downloadURL https://userscripts.org/scripts/source/410713.user.js
// @updateURL https://userscripts.org/scripts/source/410713.meta.js
// @grant none