Skip to content

Instantly share code, notes, and snippets.

View minsis's full-sized avatar

Dennis Whitney minsis

  • Texas, USA
View GitHub Profile
@minsis
minsis / dateparser.py
Created January 30, 2021 19:47
Simple library for parsing some human readable dates. Setup as a jinja2 filter
import re
import calendar
from datetime import datetime
from dateutil.relativedelta import relativedelta
_day_of_week_to_ = {
"day": 0,
"monday": 0,
@minsis
minsis / bootstrap-table-editvalue.css
Last active October 12, 2020 21:45
Bootstrap table editing value in place
.editvalueform {
display: block;
}
.editvalue-link, .editvalue-link:hover {
border-bottom: 1px dotted blue;
text-decoration: none;
}
.editvalue-input, .editvalue-buttons {
@minsis
minsis / Configuration.h
Created February 28, 2018 16:26
JGAurora A5 Enabling Auto Bed Leveling with Z Probe
#This is a diff output of Configuration.h file. The top portion is the file that had auto bed leveling enabled and the bottom portion is the stock 1.1.8c Marlin file.
***************
*** 514,520 ****
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
! #define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.