Skip to content

Instantly share code, notes, and snippets.

Just workin on stuff

Tyler AtHeartEngineer

Just workin on stuff
Block or report user

Report or block AtHeartEngineer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am atheartengineer on github.
  • I am tylershaw ( on keybase.
  • I have a public key ASDalBM6nJ7_XvUGDXL8PXB-BiLaz92ksmyWLxgLaIn9lwo

To claim this, I am signing this object:

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 gist:707e9ac7c2da5db068b9
### Keybase proof
I hereby claim:
* I am TylerShaw on github.
* I am tylershaw ( on keybase.
* I have a public key whose fingerprint is 1972 B0DD 07FE 5C5A EF9B D26F 2FD7 903E 799E FEFA
To claim this, I am signing this object:
AtHeartEngineer /
Last active Aug 29, 2015
Python to Markdown
#!/usr/bin/env python
# coding=utf-8
# <a class="btn btn-default pull-right" href=""><i class="fa fa-git"></i> Download the gist here!</a>
# Py2Md started as a little project to do the magical "self documenting code". After thinking about it, I realized self documenting code is great, but it's really not the point.
# Commenting code properly, if only better, is the point.
# This script evolved from me wanting to code better. I often look at other peoples code, or even old code I've written, and it takes me a few minutes to even figure out what each section is doing.
# This will hopefully solve that, not only by forcing me to comment code better, but to publish my code with decent comments.
# This script reads in a python file (either itself, or anything it's
# imported into) and converts the python file into a markdown file. It
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")
You can’t perform that action at this time.