Skip to content

Instantly share code, notes, and snippets.

Just workin on stuff

Tyler AtHeartEngineer

Just workin on stuff
View GitHub Profile
AtHeartEngineer /
Created Jul 7, 2018 — forked from EdwardBetts/
Python pprint with color syntax highlighting for the console
from pygments import highlight
from pygments.lexers import PythonLexer
from pygments.formatters import Terminal256Formatter
from pprint import pformat
def pprint_color(obj):
print highlight(pformat(obj), PythonLexer(), Terminal256Formatter())
AtHeartEngineer /
Created Jul 7, 2018 — forked from jhcepas/
nice table printing in python
def print_table(items, header=None, wrap=True, max_col_width=20, wrap_style="wrap", row_line=False, fix_col_width=False):
''' Prints a matrix of data as a human readable table. Matrix
should be a list of lists containing any type of values that can
be converted into text strings.
Two different column adjustment methods are supported through
the *wrap_style* argument:
wrap: it will wrap values to fit max_col_width (by extending cell height)
cut: it will strip values to max_col_width
AtHeartEngineer / reclaimWindows10.ps1
Created Nov 13, 2017 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of (different defaults)
View reclaimWindows10.ps1
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <>
# Modified by: alirobe <> based on my personal preferences.
# Version: 2.6.1, 2017-08-02
# Primary Author Source:
# Tweaked Source:
# Tweak difference:
# @alirobe's version is a subset focused on safely disabling telemetry, 'smart' features, and 3rd party bloat ...
# Alot of these configs have been taken from the various places
# on the web, most from here
# Set the colours you can use
View nest.devicetype.groovy
* Nest Direct
* Author:
* Date: 2013-07-18
* Code:
* =========================================
* 1) Create a new device type (
View hvac-autoonoff.smartapp.groovy
* HVAC Auto Off
* Author:
* Date: 2013-07-21
preferences {
section("Control") {
input("thermostat", "capability.thermostat", title: "Thermostat")