Skip to content

Instantly share code, notes, and snippets.

Just setting up my twttr

Matt Steele mattdsteele

Just setting up my twttr
View GitHub Profile
mattdsteele / add_wsl_exclusions.ps1
Created Oct 23, 2018 — forked from ian-p-cooke/add_wsl_exclusions.ps1
powershell script to add WSL exclusions
View add_wsl_exclusions.ps1
$win_user = "matt"
$linux_user = "matt"
$package = "TheDebianProject.DebianGNULinux_76v4gfsz19hv4"
$base_path = "C:\Users\" + $win_user + "\AppData\Local\Packages\" + $package + "\LocalState\rootfs"
$dirs = @("\bin", "\sbin", "\usr\bin", "\usr\sbin", "\home\" + $linux_user + "\.cargo\bin")
$dirs | ForEach { Add-MpPreference -ExclusionProcess ($base_path + $_ + "\*") }
Add-MpPreference -ExclusionPath $base_path
mattdsteele /
Created Apr 23, 2017
Screen Scrape

Papercall's free version doesn't have a public API, so this is a stupid simple way to get a pseudo-CSV of all the submissions on a page.

mattdsteele /
Last active Mar 14, 2017
Electoral College Basketball

Bracketology based on the 2016 presidential election.

Schools advance based on whichever county had the higher Hillary Clinton vote percentage. Maryland is going to take it all with 85%, apparently.

View bracket


mattdsteele / .gitignore
Last active Oct 7, 2020
BBQ Thermometer with the Web Bluetooth API
View .gitignore

Paprika doesn't have their API documented, so this is me reverse-engineering it from an Android device

Live Demo


HTTP BASIC auth (emoji shrug), and send a GET to:

mattdsteele /
Last active Aug 29, 2015
Nebraska Tech Conferences
View sphero.js
var spheron = require('spheron'),
s = spheron.sphero().resetTimeout(true).requestAcknowledgement(true);
var spheroPort = '/dev/rfcomm0';
var COLORS = spheron.toolbelt.COLORS;
s.on('open', function() {
var repeat = true;
var police = function(delay1, delay2) {
You can’t perform that action at this time.