Skip to content

Instantly share code, notes, and snippets.

💭
Just setting up my twttr

Matt Steele mattdsteele

💭
Just setting up my twttr
Block or report user

Report or block mattdsteele

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
@mattdsteele
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
mattdsteele / README.md
Created Apr 23, 2017
Screen Scrape Papercall.io
View README.md

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
mattdsteele / README.md
Last active Mar 14, 2017
Electoral College Basketball
View README.md

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

Methodology

@mattdsteele
mattdsteele / .gitignore
Last active Mar 6, 2019
BBQ Thermometer with the Web Bluetooth API
View .gitignore
node_modules
*.pem
View paprika-api.md

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

Live Demo

https://knowing-grain.glitch.me/

Sync

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

@mattdsteele
mattdsteele / confs.md
Last active Aug 29, 2015
Nebraska Tech Conferences
View confs.md
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.