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
.
#!/usr/bin/env python | |
# Copyright (c) 2017 Kurt Jacobson | |
# License: https://kcj.mit-license.org/@2017 | |
import cairo | |
import gi | |
gi.require_version('Gtk', '3.0') | |
gi.require_version('Gdk', '3.0') |
#!/usr/bin/env python | |
# Copyright (c) 2017 Kurt Jacobson | |
# License: https://kcj.mit-license.org/@2017 | |
import os | |
import sys | |
import mimetypes | |
try: |
This fixes A start job is ruining for Raise network interfaces
hang
sudo nano /etc/network/interfaces.d/setup
change:
auto lo
iface lo inet loopback
auto eth0
#!/usr/bin/env python | |
# Copyright (c) 2017 Kurt Jacobson | |
# License: https://kcj.mit-license.org/@2017 | |
import logging | |
from colored_log import ColoredFormatter | |
# Create top level logger | |
log = logging.getLogger("main") |
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; |
#!/bin/bash | |
# default options | |
BRANCH="master" | |
DIRECTORY="$PWD/linuxcnc-dev" | |
# constants | |
BOLD=`tput bold` | |
RED=`tput setaf 1` | |
GREEN=`tput setaf 2` |
cd ~
sudo apt-get update
sudo apt-get install build-essential bin86 libqt4-dev libncurses5-dev pkg-config bison flex libssl-dev libelf-dev
mkdir rtlinux
cd rtlinux
wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.16.8.tar.xz
wget https://www.kernel.org/pub/linux/kernel/projects/rt/4.16/patch-4.16.8-rt3.patch.gz
tar -xpf linux-4.16.8.tar.xz
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>WebSocket</title> | |
</head> | |
<body> | |
<h2>WeeWx WebSocket Example</h2> | |
<p>Example of real time weather data display using WebSockets. The data is | |
updated on each LOOP packet. | |
</p> |
#!/usr/bin/env python | |
# Author: Chris Eberle <eberle1080@gmail.com> | |
# Watch for any changes in a module or package, and reload it automatically | |
import pyinotify | |
import imp | |
import os | |
class ModuleWatcher(pyinotify.ProcessEvent): | |
""" |