Skip to content

Instantly share code, notes, and snippets.

View KurtJacobson's full-sized avatar

Kurt Jacobson KurtJacobson

View GitHub Profile
@KurtJacobson
KurtJacobson / stp.reg
Created June 29, 2022 12:42
Open STP file in active Inventor instance
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.stp]
@="stp_auto_file"
[HKEY_CLASSES_ROOT\stp_auto_file]
@=""
[HKEY_CLASSES_ROOT\stp_auto_file\shell]
@KurtJacobson
KurtJacobson / setschreenres.sh
Created May 31, 2022 17:18
Set Screen resolution 1920x1080 VirtualBox
xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --output Virtual1 --mode 1920x1080
@KurtJacobson
KurtJacobson / pygraphviz_error.md
Last active June 25, 2020 00:46
pygraphviz installation error and resolution

Error when trying to install pygraphviz on Linux Mint 19.3.

Resolution

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

Error

pip install pygraphviz.

@KurtJacobson
KurtJacobson / speed-up-debian9-boot.md
Last active March 15, 2019 14:36
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

change:

auto lo
iface lo inet loopback

auto eth0
@KurtJacobson
KurtJacobson / pokeys.comp
Created December 14, 2018 16:16
LinuxCNC HAL pokeys.comp, edited per Andy P to support scaled anolog outputs
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
KurtJacobson / sys_notify.py
Created July 29, 2018 05:41
Qt DBus sys notify module for Linux systems
#!/usr/bin/env python
# Copyright (c) 2018 Kurt Jacobson
# <kurtcjacobson@gmail.com>
#
# 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
KurtJacobson / lcnc_rip.sh
Last active October 1, 2018 19:11
Script to clone, checkout and build a LinuxCNC branch RIP
#!/bin/bash
# default options
BRANCH="master"
DIRECTORY="$PWD/linuxcnc-dev"
# constants
BOLD=`tput bold`
RED=`tput setaf 1`
GREEN=`tput setaf 2`
@KurtJacobson
KurtJacobson / bp_logo.svg
Last active March 9, 2023 02:25
Bridgeport Mill Logo SVG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@KurtJacobson
KurtJacobson / building 4.16.8 RT kernel.md
Last active May 25, 2018 16:27
Building 4.16.8 kernel with RT patch on Stretch
@KurtJacobson
KurtJacobson / building_lcnc.md
Last active April 19, 2024 01:29
Building LinuxCNC RIP from source

Building LinuxCNC RIP

Clone the source:
git@github.com:LinuxCNC/linuxcnc.git linuxcnc-dev

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