Skip to content

Instantly share code, notes, and snippets.

Avatar

Kurt Jacobson KurtJacobson

View GitHub Profile
@KurtJacobson
KurtJacobson / stp.reg
Created Jun 29, 2022
Open STP file in active Inventor instance
View stp.reg
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
Set Screen resolution 1920x1080 VirtualBox
View setschreenres.sh
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 Jun 25, 2020
pygraphviz installation error and resolution
View pygraphviz_error.md

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 Mar 15, 2019
Fix Debian 9 (Stretch) "A start job is ruining for Raise network interfaces" hang at boot
View speed-up-debian9-boot.md

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 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
KurtJacobson / sys_notify.py
Created Jul 29, 2018
Qt DBus sys notify module for Linux systems
View sys_notify.py
#!/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 Oct 1, 2018
Script to clone, checkout and build a LinuxCNC branch RIP
View lcnc_rip.sh
#!/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 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
KurtJacobson / building 4.16.8 RT kernel.md
Last active May 25, 2018
Building 4.16.8 kernel with RT patch on Stretch
View building 4.16.8 RT kernel.md
@KurtJacobson
KurtJacobson / building_lcnc.md
Last active Jan 24, 2018
Building LinuxCNC RIP from source
View building_lcnc.md

Building LinuxCNC RIP

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

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