Skip to content

Instantly share code, notes, and snippets.

View jbussdieker's full-sized avatar

Joshua Bussdieker jbussdieker

  • Anchorage, AK
View GitHub Profile
import RPi.GPIO as GPIO
import logging
import busio
import adafruit_sgp30
import board
import time
import sys
autoCalibrate = True
logging.basicConfig(
@jbussdieker
jbussdieker / IC2-Addresses.md
Created December 21, 2020 11:25
Common I2C Addresses

Common I2C Addresses

0x48 - ADS1115
@jbussdieker
jbussdieker / README.md
Created December 17, 2020 20:29
Install Ultimaker Cura on Ubuntu

Download the AppImage from https://ultimaker.com/software/ultimaker-cura and copy it to /opt

Extract the AppImage

/opt/Ultimaker_Cura-4.8.0.AppImage --appimage-extract

Get the icon cp squashfs-root/usr/share/icons/hicolor/64x64/apps/cura-icon.png /opt/Ultimaker_Cura-4.8.0.png

@jbussdieker
jbussdieker / README.md
Created December 17, 2020 20:14
Install Autodesk EAGLE 9.6.2 on Ubuntu
@jbussdieker
jbussdieker / README.md
Created December 13, 2020 00:47
Build Raspbian for US
git clone git@github.com:RPi-Distro/pi-gen
cd pi-gen
echo "Put the config file here"
sudo ./build.sh
@jbussdieker
jbussdieker / .bash_aliases
Last active December 13, 2020 05:01
Git Prompt
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
GIT_PS1_SHOWCOLORHINTS=true
GIT_PS1_SHOWUPSTREAM="auto"
PROMPT_COMMAND='__git_ps1 "${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]" " \$ "'
@jbussdieker
jbussdieker / setup-sans.sh
Created March 12, 2018 09:38
Adding SANs to FreeIPA
# Add SANs for Apache service
ipa service-add-principal HTTP/${hostname}@${realm} HTTP/freeipa.${domain}@${realm}
ipa service-add-principal HTTP/${hostname}@${realm} HTTP/freeipa@${realm}
HTTPD_CERT_ID=$(getcert list -d /etc/httpd/alias | grep "Request ID" | cut -d"'" -f 2)
getcert resubmit -i ${HTTPD_CERT_ID} -D freeipa.${domain} -D freeipa
while ! getcert list -d /etc/httpd/alias | grep status | grep MONITORING; do
log "Waiting for HTTPD certificate to be reissued"
done
# Add SANs for LDAP service
<html>
<head>
<title>Home</title>
<style>
body {
background-color: white;
}
</style>
</head>

Keybase proof

I hereby claim:

  • I am jbussdieker on github.
  • I am jbussdieker_ms (https://keybase.io/jbussdieker_ms) on keybase.
  • I have a public key whose fingerprint is AAC4 1F7E 85D3 5B3A 4BD0 72F2 9EFC E6F7 E8FE 2F48

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jbussdieker on github.
  • I am jbussdieker (https://keybase.io/jbussdieker) on keybase.
  • I have a public key whose fingerprint is 0202 2A07 9CA0 03AE 9BF9 F115 9807 CF3F 47A7 3EE6

To claim this, I am signing this object: