Skip to content

Instantly share code, notes, and snippets.

@ihartwig
ihartwig / 10-dhcp-all-interfaces.yaml
Last active March 4, 2025 02:53
HDMI Screencapture to USB Drive
network:
version: 2
renderer: networkd
ethernets:
#all-eth-interfaces:
# match:
# name: "e*"
# dhcp4: yes
# dhcp6: yes
# ipv6-privacy: yes # Enabled by default on most current systems, but networkd currently doesn't enable IPv6 privacy by default, see https://man.archlinux.org/man/systemd.network.5
@ihartwig
ihartwig / README.md
Last active August 5, 2018 22:34
Tips for Panelizing Upverter Gerbers with Gerbmerge

Using Gerbmerge with Upverter Gerbers

Why?

Many board houses have a fixed price for certain sized boards. If you have design where multiple can fit within this area, you can get more boards by combining your gerbers together into a single file for the board house. The gerbmerge python script can help you do this, but it stumbles on more complex geometry that newer PCB programs like Upverter output. However, we can use the gEDA program gerbv to help us convert the complex gerbers into a simple format for gerbmerge.

Steps

  1. Download the Gerber Format and NC Drill files from your upverter project's download tab. We need both of these because even though
@ihartwig
ihartwig / Makefile
Last active October 12, 2015 07:31
STM32 Cube Makefile for STM32F0xx (STM32F072)
#
# Simple makefile to compile the STM32Cube example code given for the STM32F0xx
# family of ARM processors. This file should be placed in the example/demo
# directory that you wish to compile.
#
# INCLUDEDIRS selects all folders in the package that have header files. Since
# this is already an inclusive list, it should not need editing.
#
# LIBSOURCES contains all the Driver (HAL/BSP) files that need to be compiled
# for this specific project. This should be updated with the help