A giant ball of yarn containing notes on how to set up Debian/KDE Linux, with tips on useful software and commands.
setfont /usr/share/consolefonts/Lat7-Terminus28x14.psf
| # Get the distance and orientation of a QR code and plot a little XYZ axis gizmo in red/green/blue on top of the image. | |
| # This gets really nice low latency across a local wifi network, but the QR code detection can be a bit jumpy sometimes. | |
| # We try both the zbar and opencv libraries for QR code detection. | |
| # | |
| # This software is distributed under the "CC0 1.0 Universal (CC0 1.0)" license. | |
| # You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
| import datetime | |
| import math | |
| import numpy as np |
| #!/bin/bash | |
| # I do not want my screensaver to auto-activate after a timeout. | |
| # For some reason, you *have* to select a nonzero, finite timeout value for xscreensaver (there's no "infinity"). | |
| # I only want my screensaver to active when I lock my system by pressing [Meta]+[L]. | |
| # This hotkey is set up to launch this script, which | |
| # - starts the xscreensaver daemon, | |
| # - activates the screensaver (with lockscreen enabled), | |
| # - waits for it to terminate (unlocking logs an "UNBLANK" event), | |
| # - then kills the xscreensaver daemon. |
| // Beveled wedge shape for OpenSCAD | |
| // Written by C.A.P. Linssen <[email protected]>, Sept 2018 | |
| // This software is distributed under the "CC0 1.0 Universal (CC0 1.0)" license. | |
| // You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
| // module bwedge |
Uses backward Euler integration (maxord=1 option), which can be very slow.
Set maximum iteration counts: DC iteration count limit (itl1, default: 100), DC transfer curve iteration count limit (itl2, default: 50), and transient analysis time point iteration count limit (itl4, default: 10) [ltwiki]_.
.OPTIONS maxord=1
I initially had some problems installing on my laptop, so decided to boot Ubuntu 12.04.5 LTS, 3.13.0-32-generic from USB and work from there.
For an automated installation script, see gpib_install.sh (and gpib.conf) below. The rest of this document describes the actions of the installation script step-by-step.
First, get the packages that are necessary to support Python bindings: