Skip to content

Instantly share code, notes, and snippets.

View sethhillbrand's full-sized avatar

Seth Hillbrand sethhillbrand

View GitHub Profile
@sethhillbrand
sethhillbrand / kicad_picknplace_assistant.py
Created August 27, 2018 21:48 — forked from pwuertz/kicad_picknplace_assistant.py
KiCad PCB pick and place assistant
#!/usr/bin/python2
import re
import os
import numpy as np
import pcbnew
import matplotlib.pyplot as plt
import matplotlib.patches;
from matplotlib.patches import Rectangle, Circle, Ellipse, FancyBboxPatch, Polygon
@sethhillbrand
sethhillbrand / custom_iterator.cpp
Created July 12, 2018 22:58 — forked from jeetsukumaran/custom_iterator.cpp
Sample C++/STL custom iterator
// Sample custom iterator.
// By perfectly.insane (http://www.dreamincode.net/forums/index.php?showuser=76558)
// From: http://www.dreamincode.net/forums/index.php?showtopic=58468
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <cassert>
/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj5y//msBdADCZCusSgic70tLDOA2OtSc7LF4Y7fpI+6Xo
Mr2hdhKQv0egkRGll5Ssoz5lfkMjfMyRn1Whq6PxKsorEl0nJOb0Ec8i7KhlN3KAd1eVCjie0gr0
1dUiUgrTjRFHfnQdNbl4GcwA2ttY835bKB6rr08DtxtqiAeCzaFe4XKIScZLXIE/i0Q5UVkYVAcK
UYDEjG4zv2RDW150YySiISSeKgjQbG2t6D12ZxG073w3+XS7LuKc1Mtd1xDP3dzXmStMNMVuD0KG
08/YPAwYKXvJyrSzpy5mTyz3vVo7tI5iSSbSXo3WGWzLA+cYMbe9aZSpQm0mIo0xQEgn98wG8yrZ
wADM4aBw4WpyYevk5ZHCx3HD6WGUT8cYILBpmVR702Kjn9vuGSNVbDFxAQDKe6hIDMFixA4pQfZP
hhev5Cy79H+II91lw1pGzZqeiWQNiJQAy5U+1TW3PzzssYDFdTzd/JdxRXlFWkLoHCSGyGOvZish
Js8TkTFM//5KO6IEiFtqbDlOWKYMiaIJWsDMDo/Qbr1X4bArND9Rb2BAKcOHB/7fc1YyIvV24/1X
9fARbaWAAW7FqufGyAKcZW6pyb48Ew+QBPAHoGuY4oebZe5KyrC7eO4I/F7G1HqMUAYqRV3FqDWn
jhIH597FHqg84Qnb7Fr6OKJ3oeVKOk1LrKhGSy+sgZNWYSLB7xwy4BrFzZmHvuj4NXz4IqE+LnFG