Skip to content

Instantly share code, notes, and snippets.

View Leeft's full-sized avatar

Lianna Eeftinck Leeft

View GitHub Profile
@Leeft
Leeft / lm-sensors-temperatures.pl
Last active April 11, 2021 11:36
checkmk local script for lm-sensors CPU temperature readings
#!/usr/bin/env perl
use utf8;
use strict;
use warnings;
use feature 'say';
use JSON::XS;
binmode STDOUT, ':utf8';
# Crude checkmk script to read "sensors -j" JSON output (from lm-sensors,
@Leeft
Leeft / python279-win-xplane.md
Last active August 8, 2021 21:51
Installing Python 2.7.9 for X-Plane and "SIDS STARS GUI" on Windows

Installing Python 2.7.9 for X-Plane and "SIDS STARS GUI" on Windows

Installing the dependencies that this script needs can be a bit of a pain. Additionally, X-Plane (from my experience) only works well together with one particular Python version, 2.7.9. So here's what you need to do:

  1. Go to: https://www.microsoft.com/en-us/download/details.aspx?id=44266 and download and install this compiler for Python.

  2. Download Python 2.7.9 64bit from https://www.python.org/downloads/release/python-279/ and make sure to pick the "Windows x86-64 MSI installer" for the 64 bit version.

    Run the installer you just downloaded to install Python. Most defaults are fine, you can choose a different drive if you really want to. Python isn't very large though, so your system drive is probably just fine.