Skip to content

Instantly share code, notes, and snippets.

Avatar

thelionroars thelionroars

  • No thanks, I'm not feeling very sociable right now. But let's do brunch at some later indefinite time
  • /dev/random
View GitHub Profile
@mattifestation
mattifestation / PSBinaryManipulation.ps1
Last active September 29, 2020 02:39
Parsing binary values using bit math in PowerShell - Parsing an IO control code
View PSBinaryManipulation.ps1
#Requires -Version 3
# -shr and [PSCustomObject] are only available in PSv3+
function ConvertFrom-IOControlCode {
<#
.SYNOPSIS
Converts an IO control code to its respective arguments.
Author: Matthew Graeber (@mattifestation)
@ajfisher
ajfisher / _Pebble controlled NeoPixels using ESP8266.md
Last active January 3, 2017 23:51
Using a pebble watch to control NeoPixel (WS2812 ) LEDs via an ESP8266 controller
View _Pebble controlled NeoPixels using ESP8266.md