Skip to content

Instantly share code, notes, and snippets.

theparticleman / settings.json
Last active March 31, 2022 21:35
Windows Terminal Settings
View settings.json
"$schema": "",
"action": "copy",
"singleLine": false
theparticleman / commands.txt
Last active December 3, 2021 14:44
Node, .NET Core, Python, Ruby, Rust, Kotlin and Swift build/runtime environments in Docker
View commands.txt
docker run -v [local path]:/code -it node bash
cd /code
echo "console.log('Hello, World');" > app.js
node app.js
docker run -v [local path]:/code -it microsoft/dotnet bash
cd /code
dotnet new console
dotnet run
theparticleman / profile.ps1
Last active October 2, 2020 21:30
Minimal Powershell prompt
View profile.ps1
# Put in $PSHOME\Profile.ps1
function prompt {
$location = Get-Location
Write-Host ($location.ToString().Replace($env:USERPROFILE, "~") + ">") -NoNewline
return " "
theparticleman / .gitconfig
Created September 1, 2020 22:35
Different email addresses for different repos in Git
View .gitconfig
# Originally from
# and
[includeIf "gitdir:C:/code/"]
path = .gitconfig-emmersion
[includeIf "gitdir:C:/Users/Jon/Personal/"]
path = .gitconfig-personal
name = Jon Turner
View Robot

You can find my pseudo setup script here.

Main Parts


You can get other (including cheaper) robot chassis. The RasPiRobot board can drive 2 motors, so any chassis that has two compatible motors should work. You just need to know what voltage the motors take. The motors on this chassis are 6 volts, which is a common voltage for small motors like this. The max input voltage for the RasPiRobot board is 12 volts, so you probably can’t drive motors that are a higher voltage than that.

Raspberry Pi 3

import time
import board
import busio
import random
from adafruit_ht16k33 import matrix
i2c = busio.I2C(board.SCL, board.SDA)
matrix = matrix.Matrix8x8(i2c, auto_write=False)
theparticleman / Vagrantfile
Created December 2, 2015 23:00
ASP.NET 5 with .NET Core Vagrant
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "ubuntu/trusty64" :private_network, ip: ""
$script = <<-SCRIPT
sudo apt-get update
theparticleman / Vagrantfile
Created December 1, 2015 19:47
.NET Core Vagrant
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "ubuntu/trusty64"
$script = <<-SCRIPT
sh -c 'echo "deb [arch=amd64] trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
apt-key adv --keyserver --recv-keys 417A0893
apt-get update
View gist:6192052f0596274956686a35e8ca018d
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -DisableShowProtectedOSFiles
Set-TaskbarOptions -Size Small
cinst git
cinst visualstudiocode
cinst notepadplusplus
cinst 7zip
$o = New-Object -com Shell.Application
theparticleman / settings.json
Created November 5, 2017 22:58
Visual Studio Code Settings
View settings.json
// Place your settings in this file to overwrite the default settings
"editor.fontSize": 16,
"editor.tabSize": 2,
"workbench.colorTheme": "Visual Studio Dark",
"editor.multiCursorModifier": "ctrlCmd",
"window.zoomLevel": 0,
"editor.smoothScrolling": true,
"editor.cursorBlinking": "phase",
"editor.codeLens": false,