Skip to content

Instantly share code, notes, and snippets.

View techman83's full-sized avatar
:octocat:
*keyboard noises*

Leon Wright techman83

:octocat:
*keyboard noises*
View GitHub Profile
@techman83
techman83 / .env
Created January 22, 2022 06:45
GitHub Runner Docker
RUNNER_VERSION=2.283.3
@techman83
techman83 / roomba500.be
Created December 12, 2021 07:49
Berry Script Roomba iRobot 500 driver for Tasmota
import string
class ROOMBA500 : Driver
var serial
var initialised
var state
var mv
var current
var temp
var charge
@techman83
techman83 / update_inverter_time.py
Created May 6, 2021 02:23
Fronius5000 Offline Time Update
#!/usr/bin/env python3
import os
import requests
import time
USERNAME = os.getenv('INTERTER_USER')
PASSWORD = os.getenv('INVERTER_PASS')
INVERTER_IP = os.getenv('INVERTER_IP')
@techman83
techman83 / decorator_demo.py
Created April 7, 2021 07:50
Sometimes you think you know a language, sometimes you question your entire existence.
"""
➜ ~ python3 --version
Python 3.8.5
➜ ~ python3 decorator_demo.py
---------------------
Decorator Start...
No Space
Decorator End.....
---------------------
Decorator Start...
@techman83
techman83 / resume.json
Last active September 17, 2020 07:16
Leon Wright's Resume
{
"meta": {
"theme": "flat"
},
"basics": {
"name": "Leon Wright",
"label": "DevOps Engineer",
"image": "",
"summary": "I’m an outgoing DevOps/Programmer/Developer with over 15 years of experience. I have a passion for People, Computers, Open Source, Automation and Embedded Hardware. I’m involved with a number of Open Source projects and have attended, volunteered, and assisted with the organisation of Linux Conf AU.\n\nOutside of my day to day, I’m the infrastructure/indexing development lead for KSP-CKAN, the go-to mod manager for Kerbal Space Program. This involves managing a small team of developers located around the globe and ensuring operations are smooth for the predominantly non-developer user base.",
"website": "https://registry.jsonresume.org/techman83",
@techman83
techman83 / values.xml
Created June 26, 2019 03:50
values.xml from NetKAN Bot
<values>
<value name="KSPBuilds"
type="string">{
&quot;builds&quot;: {
&quot;464&quot;: &quot;0.23.5.464&quot;,
&quot;559&quot;: &quot;0.24.2.559&quot;,
&quot;642&quot;: &quot;0.25.0.642&quot;,
&quot;705&quot;: &quot;0.90.0.705&quot;,
&quot;830&quot;: &quot;1.0.0.830&quot;,
&quot;842&quot;: &quot;1.0.2.842&quot;,
@techman83
techman83 / send_netkan.py
Last active June 23, 2019 08:35
Minimal Python3 script to Submit a Netkan file to an Inbound Queue
import boto3
import sys
from hashlib import md5
filename = sys.argv[1]
if not filename:
print('/path/to/Mod.netkan required')
sys.exit()
@techman83
techman83 / spacedock_to_ia.pl
Created January 9, 2017 13:53
Script for changing download links to the Internet archive
#!/usr/bin/env perl
use strict;
use 5.018;
use File::Find::Rule;
use Data::Dumper;
use App::KSP_CKAN::Metadata::Ckan;
my @ckans = File::Find::Rule->file()->name('*.ckan' )->in( "CKAN-meta/." );
@techman83
techman83 / iMoodJournal-graph.pl
Last active July 27, 2016 11:12
Basic Graph Generator for iMoodJournal csv data.
#!/usr/bin/env perl
use strict;
use warnings;
use Parse::CSV;
use File::BOM qw( open_bom );
use Date::Parse;
use Chart::Gnuplot;
use Statistics::LineFit;
use Data::Dumper;
@techman83
techman83 / test.html
Created August 31, 2015 10:20
React JS learnings
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</head>