Skip to content

Instantly share code, notes, and snippets.

View thomasnordquist's full-sized avatar

Thomas Nordquist thomasnordquist

  • Germany, Darmstadt
View GitHub Profile
@AliSoftware
AliSoftware / Mirror+DebugDescription.swift
Created January 24, 2019 21:46
Some convenience methods using Mirror to build a nice custom debugDescription easily
extension Mirror {
/// Use this to help you implement a custom debugDescription listing all properties of your instances
///
/// - Parameters:
/// - subject: The instance for which to return the description.
///
/// Example usage:
///
/// extension MyType: CustomDebugStringConvertible {
@probonopd
probonopd / Send infrared commands from the Arduino to the iRobot Roomba
Created March 17, 2013 10:42
Send infrared commands from the Arduino to the iRobot Roomba. Use a transistor to drive the IR LED from pin D3 for maximal range.
#include <IRremote.h>
/*
Send infrared commands from the Arduino to the iRobot Roomba
by probono
2013-03-17 Initial release