Skip to content

Instantly share code, notes, and snippets.


Kurt Jacobson KurtJacobson

View GitHub Profile
KurtJacobson /
Last active Jun 25, 2020
pygraphviz installation error and resolution

Error when trying to install pygraphviz on Linux Mint 19.3.


sudo apt-get install python-dev graphviz libgraphviz-dev pkg-config
pip install pygraphviz


pip install pygraphviz.

KurtJacobson /
Last active Mar 15, 2019
Fix Debian 9 (Stretch) "A start job is ruining for Raise network interfaces" hang at boot

This fixes A start job is ruining for Raise network interfaces hang

sudo nano /etc/network/interfaces.d/setup


auto lo
iface lo inet loopback

auto eth0
KurtJacobson / pokeys.comp
Created Dec 14, 2018
LinuxCNC HAL pokeys.comp, edited per Andy P to support scaled anolog outputs
View pokeys.comp
component pokeys "PoKeys IO driver, by Mit Zot";
option userspace yes;
pin out bit in-# [55];
pin out float ain-# [3];
pin out bit err;
pin in float analog-scale-# [3];
pin in unsigned devSerial;
KurtJacobson /
Created Jul 29, 2018
Qt DBus sys notify module for Linux systems
#!/usr/bin/env python
# Copyright (c) 2018 Kurt Jacobson
# <>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
KurtJacobson /
Last active Oct 1, 2018
Script to clone, checkout and build a LinuxCNC branch RIP
# default options
# constants
BOLD=`tput bold`
RED=`tput setaf 1`
GREEN=`tput setaf 2`
KurtJacobson / bp_logo.svg
Last active May 30, 2018
Bridgeport Mill Logo SVG
View bp_logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
KurtJacobson / building 4.16.8 RT
Last active May 25, 2018
Building 4.16.8 kernel with RT patch on Stretch
View building 4.16.8 RT
KurtJacobson /
Last active Jan 24, 2018
Building LinuxCNC RIP from source

Building LinuxCNC RIP

Clone the source: linuxcnc-dev

$ cd linuxcnc-dev
$ cd debian
$ ./configure sim

KurtJacobson / index.html
Created Jan 22, 2018
WebSocket server extension for WeeWx for real time weather data without having to refresh web page.
View index.html
<!DOCTYPE html>
<h2>WeeWx WebSocket Example</h2>
<p>Example of real time weather data display using WebSockets. The data is
updated on each LOOP packet.
KurtJacobson /
Last active Sep 26, 2021
Building PyQt5 to support Python2 based QtDesigner Plugins

Building PyQt5 to support Python2 based QtDesigner Plugins

As far as I can tell, the reason Qt5 Designer does not load custom PyQt5 widgets is due to the 'stock' shared library (which comes with PyQt5) not being built for the correct combination of the Python and Qt versions. It seems the only way to get around this is to build PyQt5 from source so we will have a that is correct and will be able to load the custom widgets.

Install Python dev tools