Skip to content

Instantly share code, notes, and snippets.

View darconeous's full-sized avatar
🦀

Robert Quattlebaum darconeous

🦀
View GitHub Profile
@darconeous
darconeous / chamfer.scad
Last active December 14, 2022 21:57
Chamfering OpenSCAD Example
/// Chamfering OpenSCAD Example
/// Written by Robert Quattlebaum, 2022-12-14
///
/// This example shows a method for adding a chamfer to a certain
/// class of 3D objects where the profile in the Z dimension doesn't
/// change significantly.
///
/// You must specify the size of the chamfer, the height of the child
/// and the Z-offset for the bottom of the object. You can also specify
/// the shape of the chamfer, which can be either "cone", "curve", "curve-in",
@darconeous
darconeous / 3d-printing-trimmer-line.md
Last active October 13, 2025 08:15
3D Printing with Nylon Trimmer Line

3D Printing with Nylon Trimmer Line

Disclaimer

All of this information is provided AS IS, with no warranty or guarantee of accuracy. A good-faith effort has been made to ensure this document was accurate at the time it was written, but YOU ASSUME ALL RISK BY FOLLOWING ANY ADVICE BELOW.

Introduction

Nylon is a strong and impact-resistant thermoplastic that is used

@darconeous
darconeous / gist:c87cb13e35d92f442de6c5d8603698cf
Created May 10, 2023 19:54
converting tab-delimited to pipe-delimited
pbpaste | tr '\t' '|' | sed 's/\(.*\)/|\1|/' | pbcopy
@darconeous
darconeous / self-signed-cert.conf
Last active August 9, 2023 20:34
OpenSSL self-signed certificate config
# Use like:
#
# ```
# openssl req -x509 -nodes \
# -days 3650 \
# -newkey rsa:2048 \
# -keyout /etc/ssl/private/host.key.pem \
# -out /etc/ssl/certs/host.crt.pem \
# -config self-signed-cert.cfg
# ```
@darconeous
darconeous / gecoloreffects.py
Last active October 25, 2023 19:34
PIO-based GE-ColorEffects G35 driver for MicroPython on RP2
# PIO-based GE-ColorEffects driver for MicroPython on RP2
# MIT license; Copyright (c) 2023 Robert Quattlebaum
import array, time
from machine import Pin
import rp2
import machine
# Pin 15 is the default on the [pimoroni plasma stick][1].
#
@darconeous
darconeous / _README.md
Created September 23, 2024 23:45
fatal error: avr/iom1608.h: No such file or directory
/opt/homebrew/Cellar/avr-gcc@12/12.2.0_3/avr/include/avr/io.h:577:33: fatal error: avr/iom1608.h: No such file or directory
/opt/homebrew/Cellar/avr-gcc@12/12.2.0_3/avr/include/avr/io.h:577:33: fatal error: avr/iom808.h: No such file or directory

If you ended up here, I think you likely got an error like what is pictured above. For some reason your avr-gcc library doesn't include the header files for the ATTiny1608 or ATTiny808 processors. But the good news is you can just download a few files (like from here) drop them in the right place and then everything will work.