Software

Offline code and tools.

  • PlatformIO native unit tests with code coverage 8 April 2021

    The PlatformIO IDE allows unit testing with the Unity framework. A basic project template for unit testing is already available.

    As shown on this GitHub feature request, the IDE does not currently...

  • Passport.js, Google Oauth, and Cookie Sessions: avoiding tummy aches 6 November 2019

    When new to Express, I was pleased to find an introduction to using Google OAuth with Passport.js. With an added email scope and a state parameter to keep track of the location before...

  • Blocking everything in Firefox 15 February 2019

    Firefox enjoys many of the same content-blocking options as Chrome. The following can be found in the regular privacy settings (about:preferences#privacy):

    • cookies / site data;
    • trackers,
    • location tracking,
    • camera and microphone,
    • notifications,
    • popups and...
    • Toggl Desktop on Ubuntu 18 27 October 2018

      Toggl makes a particular effort to bring its time-tracking platform to a variety of operating systems. This includes a Linux desktop client. As of this writing, the page refers to Ubuntu 16.04, and recommends...

    • Anbox: A great Android emulator on Linux 26 June 2018

      Though based on Linux, Android has diverged a long way. Anbox bridges the divide to allow Linux to run Android applications, much like WINE seeks to do for Windows.

      Anbox home window

    • Multi-point maze solver 14 July 2017

      This Java tool is a simple application of the Lee algorithm for (rectilinear) maze routing, applied to a non-grid space using Bresenham’s line algorithm.

      It was written as part of a course on...

    • IO Scope 21 May 2017

      The attached files provide a minimum-hardware approach to in-out testing. An Arduino (code configured for SparkFun’s Pro Micro) uses averaged pulse-width modulation to produce a waveform signal fed to the input of a circuit. The...

    • Controlled Random Search 16 May 2017

      The Controlled Random Search (see PDF) is a basic heuristic used in optimization (minimization of multivariable systems). I have implemented graphical interfaces based on it in both Matlab and LabVIEW, each able to identify the...

    • Chrome content settings 30 November 2014

      My extensions (Temporary Content Settings and ShowThisImage) to the Chrome browser deal mostly with content settings, specifically with making it possible to set them as strict as possible while maintaining a fair online...