Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
import math
import sys
import argparse
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('-e', '--elevation')
parser.add_argument('-p', '--pressure')
parser.add_argument('-m', '--msl')
@DougieLawson
DougieLawson / 5.4.29+.spi.log
Last active August 26, 2020 03:43
5.4.29+ SPI Log
# tracer: nop
#
# entries-in-buffer/entries-written: 1341/1341 #P:1
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / delay
# TASK-PID CPU# |||| TIMESTAMP FUNCTION
This file has been truncated, but you can view the full file.
# tracer: nop
#
# entries-in-buffer/entries-written: 13824/13824 #P:1
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / delay
# TASK-PID CPU# |||| TIMESTAMP FUNCTION
@DougieLawson
DougieLawson / sample.cobol
Created April 6, 2020 21:14
COBOL basics
000100 TITLE 'DOUGIE''S TEST COBOL PROGRAM'
000200 IDENTIFICATION DIVISION.
000300 PROGRAM-ID. DGL.
000400 ENVIRONMENT DIVISION.
000500 INPUT-OUTPUT SECTION.
000600 FILE-CONTROL.
000700 SELECT INPUT-FILE
000800 ASSIGN TO INFILE
000900 ORGANIZATION IS SEQUENTIAL.
001000 SELECT OUTPUT-FILE
@DougieLawson
DougieLawson / keybase.md
Created October 11, 2019 00:31
Keybase

Keybase proof

I hereby claim:

  • I am dougielawson on github.
  • I am dougiel (https://keybase.io/dougiel) on keybase.
  • I have a public key ASAEy0VmnDcItcKnveSn-z5QH9kfEVtR8JBdAUAx45NrXwo

To claim this, I am signing this object: