Skip to content

Instantly share code, notes, and snippets.

View jonseymour's full-sized avatar

Jon Seymour jonseymour

View GitHub Profile
git results DO NOT have input parameters, git commands DO. git results DO NOT have outputs, git commands DO Both the original question and the Quora's revision of my correct make no grammatical sense in English as spoken in the English speaking world.
@jonseymour
jonseymour / aemo_nmi_checksum.py
Last active January 31, 2022 10:48
AEMO NMI checksum calculator
from itertools import chain
# Calculates the AEMO NMI checksum according to:
#
# https://www.aemo.com.au/Electricity/National-Electricity-Market-NEM/Retail-and-metering/-/media/EBA9363B984841079712B3AAD374A859.ashx
#
# Always calculates the checksum with the 10 left-most digits if supplied with
# a 10 or 11 character string. Unspecified results occur for inputs of other lengths.
#
Received: from ME1PR01MB1570.ausprd01.prod.outlook.com
(2a01:111:e400:5a69::21) by ME1PR01MB1570.ausprd01.prod.outlook.com with
HTTPS via ME1PR01CA0056.AUSPRD01.PROD.OUTLOOK.COM; Thu, 3 May 2018 05:26:31
+0000
Received: from MEXPR01CA0093.ausprd01.prod.outlook.com (2603:10c6:200:2d::26)
by ME1PR01MB1570.ausprd01.prod.outlook.com (2603:10c6:200:1c::22) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.735.16; Thu, 3 May
2018 05:26:29 +0000
Received: from ME1AUS01FT008.eop-AUS01.prod.protection.outlook.com
2018-03-18T15:00:23Z [INFO] Waiting for any previous stops to complete module="TaskEngine" task="testing_testing_archiver:26 arn:aws:ecs:ap-southeast-2:675884183894:task/48fe5b04-5986-4d12-bc77-b716b3f734
31, TaskStatus: (NONE->RUNNING) Containers: [testing_testing_archiver (NONE->RUNNING),]" seqnum="23980"
2018-03-18T15:00:23Z [INFO] Wait over; ready to move towards status: RUNNING module="TaskEngine" task="testing_testing_archiver:26 arn:aws:ecs:ap-southeast-2:675884183894:task/48fe5b04-5986-4d12-bc77-b716
b3f73431, TaskStatus: (NONE->RUNNING) Containers: [testing_testing_archiver (NONE->RUNNING),]"
2018-03-18T15:00:23Z [INFO] Pulling container testing_testing_archiver(675884183894.dkr.ecr.ap-southeast-2.amazonaws.com/agl/worker:5ca41b847c21bc9ba3b401d55fbb61e887c62ebf) (NONE->RUNNING) concurrently.
Task: testing_testing_archiver:26 arn:aws:ecs:ap-southeast-2:675884183894:task/48fe5b04-5986-4d12-bc77-b716b3f73431, TaskStatus: (NONE->RUNNING) Containers: [testing_testing_archiver (NONE->RUNNING),]
2018-03-1

Keybase proof

I hereby claim:

  • I am jonseymour on github.
  • I am jonseymour (https://keybase.io/jonseymour) on keybase.
  • I have a public key ASAHYb1w8EHBlEmpwUhyTGpzNkUK7xjwuOWZJUkAx1CxOQo

To claim this, I am signing this object:

http://hackingdistributed.com/
https://docs.google.com/document/d/10kTyCmGPhvZy94F7VWyS-dQ4lsBacR2dUgGTtV98C40/edit?pref=2&pli=1#
https://blog.ethereum.org/2016/06/19/thinking-smart-contract-security/
https://github.com/ethereum/mist/releases
https://forum.daohub.org/
http://etherscan.io/
https://blog.ethereum.org/
https://solidity.readthedocs.io/en/latest/installing-solidity.html
http://vessenes.com/
https://github.com/ethereum/wiki/wiki/White-Paper
@jonseymour
jonseymour / gist:6244b7abf7aca08f5a90
Created November 16, 2015 06:59
20336ec5-e5e2-4490-9cab-078366ac4e42 dmesg prior to reboot 2015/11/16
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.12.10-ninja-spheramid-dev201510210722 (root@cc093e1cd442) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #1 Wed Oct 21 07:40:17 UTC 2015
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: Variscite AM335x SOM (Ninja Blocks Spheramid)
[ 0.000000] cma: CMA: reserved 24 MiB at 9e000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 130304
oatok_0d9a653bd36597fa8bbf7512d02cfc29
@jonseymour
jonseymour / SETUP.md
Last active August 29, 2015 14:24
Setup of Docker VM on AGL PC
@jonseymour
jonseymour / gist:e8b97a538a2249cd455a
Created December 13, 2014 13:38
Output of attempt to flash gestic
bad: gestic: is installed, 72bcd71e61bc4ed423979b0e3f7fb75e should be installed.
Found gestic '' installed. Flashing gestic with '72bcd71e61bc4ed423979b0e3f7fb75e'...
Could not read running firmware version.
GestIC-ENC-Flash Demo version 1.1.8
[ GestIC Library ]
Currently running: