Skip to content

Instantly share code, notes, and snippets.

View guidoism's full-sized avatar

Guido Bartolucci guidoism

View GitHub Profile
@guidoism
guidoism / poop.yaml
Last active December 22, 2022 03:51
Absolem and Kyria made a baby together (Trying out Ergogen 4.0 features)
# TODO:
# - [X] Outlines that include the mirrored part
# - [X] Glue up holes
# - [ ] PCB with connections
# - [ ] Extruded case
points:
zones:
matrix:
anchor:
@guidoism
guidoism / absolem-simplified.yaml
Last active November 14, 2022 04:52
Ergogen examples
points:
zones:
matrix:
anchor:
rotate: 5
columns:
pinky:
ring:
rotate: -5
origin: [-12, -19]
@guidoism
guidoism / layers.json
Created November 4, 2022 17:16
Keymap Status Viewer
["TAB q w e r t y u i o p BS \nCTL a s d f g h j k l :; RET\nSFT z x c v b n m , . / \u25cc\n \u25cc \u25cc OPT CMD M1 M3 \u2423 M2 \u25cc \u25cc \u25cc \u25cc", " ~ ! @ # $ % ^ 7 8 9 \u25cc \u25cc\n \u25cc \" & * _ \u25cc + 4 5 6 ' |\n \u25cc \u25cc \u25cc \u25cc \u25cc . 0 1 2 3 / \u25cc\n \u25cc \u25cc OPT CMD \u25c9 \u25cc \u25cc M5 \u25cc \u25cc \u25cc \u25cc", " ` \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc BS\n \u25cc [ ] ( ) \u25cc \u25cc - = \u25cc \u25cc \\\n \u25cc < > { } \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc\n \u25cc \u25cc OPT CMD M4 \u25cc \u25cc \u25c9
points:
zones:
matrix:
columns:
farpinky:
row_overrides:
home:
pinky.stagger: -1u
ring.stagger: 0.66u
middle.stagger: 0.25u
@guidoism
guidoism / gist:523fd22f5e306042e01e4a906e03999b
Created September 6, 2022 22:39
Ergogen footprints people have made that aren't in the main repo
https://github.com/50an6xy06r6n/ergogen/blob/master/src/footprints/promicro_rev_routed.js
https://github.com/50an6xy06r6n/ergogen/blob/master/src/footprints/trrs_rev.js
https://github.com/AndrewCloete/ergogen/blob/master/src/footprints/airwire.js
https://github.com/AndrewCloete/ergogen/blob/master/src/footprints/b3u1000p.js
https://github.com/AndrewCloete/ergogen/blob/master/src/footprints/bat.js
https://github.com/AndrewCloete/ergogen/blob/master/src/footprints/frankendiode.js
https://github.com/AndrewCloete/ergogen/blob/master/src/footprints/offsetfrankendiode.js
https://github.com/AndrewCloete/ergogen/blob/master/src/footprints/pcm12.js
https://github.com/AndrewCloete/ergogen/blob/master/src/footprints/promicro_pretty.js
https://github.com/AndrewCloete/ergogen/blob/master/src/footprints/thru.js
@guidoism
guidoism / setup.sh
Last active December 23, 2020 22:14
Setup new Mac
# References:
# https://opensource.com/article/19/6/python-virtual-environments-mac
# Get the basic dev tools
xcode-select --install
# Get Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Get pyenv to manage different python versions
@guidoism
guidoism / ys.txt
Created May 30, 2020 22:45
Tops and Bottoms of Glyph Boxes
815 878
836 878
837 878
813 876
836 876
835 877
822 877
835 876
834 875
812 875
@guidoism
guidoism / crazy-trump.md
Last active August 3, 2016 17:19
Crazy Things Trump Does

Wait... what did Trump just say?

This list was started the afternoon of August 2, 2016 so I'm missing the hundreds of crazy things Trump did or said before then.

import functools
class a(object):
def __init__(self, f):
self.f = f
def __call__(self, *args):
obj = args and args[0]
print 'Decorator "a" on %s %s object' % (self.f.__name__, 'with' if obj else 'without')