I hereby claim:
- I am dkmonaghan on github.
- I am dkmonaghan (https://keybase.io/dkmonaghan) on keybase.
- I have a public key whose fingerprint is B07C 5AA3 CACC 3C67 905C 6E7B B057 5E32 A56B 23C4
To claim this, I am signing this object:
| # NOTE - This was accurate as of 2019. Industrial Years are now assessed differently in Computer Science. | |
| # As such, this script will no longer produce accurate results. You may be able to tweak this script to work. | |
| y4 = [62,62,62,62,62,62,62,62,62,62,62,62] | |
| y3 = [70,71,53,81,74,74,90,90,90,90,70,70] | |
| y2 = [73,90,81,67,67,64,64,60,81,72,80,80] | |
| band_s = [83] # IY Band | |
| # 9 modules per band | |
| BAND_SIZE = 9 |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| if [ -f "/sys/class/net/ens192/address" ]; then | |
| # Temporarily bring up the network | |
| sed -i 's/eth0/ens192/g' /etc/network/interfaces | |
| service networking restart | |
| fi | |
| # Apt-get update | |
| apt-get update |
| <?php | |
| $json = json_decode(file_get_contents('php://input'), true); | |
| if ($json['action'] !== 'created'){ die('Only create actions are alerted'); } | |
| $error = $json['data']['issue']; | |
| if ($error['project']['id'] == 1){ die('Ignore internal errors.'); } | |
| if (empty($error['shortId'])){ die('No shortId passed'); } | |
| // Set channel and username |
| #!/usr/bin/python3 | |
| import json | |
| import math | |
| with open('Tesco-Customer-Data.json') as json_file: | |
| data = json.load(json_file) | |
| orders = [] | |
| for purchase_block in data['Purchase']: | |
| for purchase in purchase_block: |
| #!/usr/bin/python3 | |
| import ipaddress | |
| import subprocess | |
| import socket | |
| import sys | |
| import multiprocessing | |
| bad_quo = "8W8hdONuKKpe9zKedhBFAvuxhDgKmnySglYc" | |
| # Replace with your IP ranges! |
| #!/usr/bin/python3 | |
| from typing import NamedTuple | |
| import os | |
| import json | |
| from pprint import pprint | |
| import paho.mqtt.client as mqtt | |
| from influxdb import InfluxDBClient | |
| INFLUXDB_ADDRESS = 'localhost' | |
| INFLUXDB_DATABASE = 'metrics' |