Skip to content

Instantly share code, notes, and snippets.

View skelliam's full-sized avatar

William Skellenger skelliam

View GitHub Profile
@skelliam
skelliam / printer.cfg
Created November 19, 2023 22:44
Ender 3 Pro with stock cooling fans, EZABL bed level sensor, BIGTREETECH SKR Mini E3 V3.0 motherboard, Micro Swiss direct drive extruder
[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC0
position_endstop: -3.0
position_min: -5.0
@skelliam
skelliam / lake_orion_middle_school_lunch.json
Last active February 25, 2018 17:48
lake_orion_middle_school_lunch.json
{
"calendarweek_calc": {
"October": {
"week1": [2, 3, 4, 5, 6, 30, 31],
"week2": [9, 10, 11, 12, 13],
"week3": [16, 17, 18, 19, 20],
"week4": [23, 24, 25, 26, 27]
},
"November": {
"week1": [1, 2, 3, 27, 28, 29, 30],
{
"calendarweek_calc": {
"October": {
"week1": [2, 3, 4, 5, 6, 30, 31],
"week2": [9, 10, 11, 12, 13],
"week3": [16, 17, 18, 19, 20],
"week4": [23, 24, 25, 26, 27]
},
"November": {
"week1": [1, 2, 3, 27, 28, 29, 30],
@skelliam
skelliam / bdf2adafruit.py
Created February 22, 2016 02:33
Convert BDF font file into Adafruit font format
#!/usr/bin/python2
# MIT License.
# Copyright (c) 2016 William Skellenger
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
@skelliam
skelliam / gist:5690bfdacc593cb8d268
Created March 30, 2015 22:26
Python script to test vw.py
import time
import pigpio
import vw
RX= 13
BPS=2000
pi = pigpio.pi() # Connect to local Pi.
@skelliam
skelliam / gist:48556ce7574d0fdec393
Created March 30, 2015 22:18
Test vw.py in Python interpreter
pi@raspberrypi ~/Projects/vwire_python $ python
Python 2.7.3 (default, Mar 18 2014, 05:13:23)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vw
>>> import pigpio
>>> RX = 13
>>> BPS=2000
>>> pi = pigpio.pi()
>>> rx = vw.rx(pi, RX, BPS)
@skelliam
skelliam / Zenburn.xml
Last active December 15, 2015 21:19 — forked from photex/Zenburn.xml
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme version="1.0" name="Zenburn">
<style name="AddedLine" foreground="#708c80" background="#313c36" bold="true"/>
<style name="Binding" foreground="#800000"/>
<style name="Comment" foreground="#7f9f7f"/>
<style name="CurrentLine" foreground="#dcdccc" background="#262626"/>
<style name="CurrentLineNumber" foreground="#9fafaf" bold="true"/>
<style name="DiffFile" foreground="#ecbcbc" background="#41363c" bold="true"/>
<style name="DiffLocation" foreground="#80d4aa" background="#2f2f2f" bold="true"/>
<style name="DisabledCode" background="#555555" bold="true"/>