Skip to content

Instantly share code, notes, and snippets.

@jshiell
jshiell / adafruit-circuit-playground-express-cheatsheet.md
Last active February 14, 2022 10:34
Adafruit Circuit Playground Express Cheatsheet

Adafruit Circuit Playground Express Cheatsheet

This is a cheatsheet for getting up and going with the Adafruit Circuit Playground Express using CircuitPython.

Setup

How can I work out what version of Circuit Python I'm using?

When you plug the device into a USB port it should mount a drive called CircuitPy. In the root of this drive should reside a file called boot_out.txt. This will contain version information for the device, e.g.

@stettix
stettix / things-i-believe.md
Last active March 20, 2024 17:45
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@npryce
npryce / merge-to-subdir
Last active February 22, 2024 17:23
Merge history from one Git repository as the history of a subdirectory of another Git repository
#!/bin/bash
# Usage: merge-to-subdir source-repo destination-repo subdir
#
# Merges the history of source-repo into destination-repo as the
# history of the subdirectory subdir.
#
# source-repo can be local or remote.
# destination-repo must be local to the machine.
# subdir can be a relative path, in which case intermediate