Skip to content

Instantly share code, notes, and snippets.

Jonathan Turner theparticleman

Block or report user

Report or block theparticleman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@theparticleman
theparticleman / commands.txt
Last active Jul 12, 2019
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
theparticleman / Vagrantfile
Created Dec 2, 2015
ASP.NET 5 with .NET Core Vagrant
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network :private_network, ip: "192.168.33.15"
$script = <<-SCRIPT
reset
sudo apt-get update
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
$script = <<-SCRIPT
sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
apt-key adv --keyserver apt-mo.trafficmanager.net --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
cinst paint.net
$o = New-Object -com Shell.Application
@theparticleman
theparticleman / settings.json
Created Nov 5, 2017
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,
View Robot parts.md

You can find my pseudo setup script here.

Main Parts

Chassis

https://www.amazon.com/gp/product/B014L1CF1K

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

@theparticleman
theparticleman / setup.sh
Last active Oct 6, 2017
Raspberry Pi robot setup
View setup.sh
#!/bin/bash
# Change keyboard layout
#sudo raspi-config, 4 - Localization, 3 - Change keyboard layout,
# Enable SSH
#sudo raspi-config, 5 - Interfacing Options, 2 - SSH
# Enable Camera
#sudo raspi-config, 5 - Interfacing Options, 1 - Camera
@theparticleman
theparticleman / VagrantFile
Created Mar 23, 2016
3 Node Cassandra Cluster
View VagrantFile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
$script = <<-SCRIPT
apt-get update
@theparticleman
theparticleman / dev-tools.ps1
Last active Feb 26, 2016
Set up development tools
View dev-tools.ps1
cinst git
cinst poshgit
cinst sourcetree
cinst visualstudio2015community
cinst visualstudiocode
cinst androidstudio
cinst sysinternals
del C:\Users\Public\Desktop\*.lnk
View virtualization-setup.ps1
cinst virtualbox
cinst vagrant
You can’t perform that action at this time.