Skip to content

Instantly share code, notes, and snippets.

Avatar

Dennis Whitney minsis

  • Texas, USA
View GitHub Profile
@minsis
minsis / dateparser.py
Created Jan 30, 2021
Simple library for parsing some human readable dates. Setup as a jinja2 filter
View dateparser.py
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 Oct 12, 2020
Bootstrap table editing value in place
View bootstrap-table-editvalue.css
.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 Feb 28, 2018
JGAurora A5 Enabling Auto Bed Leveling with Z Probe
View Configuration.h
#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.