Skip to content

Instantly share code, notes, and snippets.

@theparticleman
theparticleman / Vagrantfile
Created December 1, 2015 19:47
.NET Core Vagrant
# -*- 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
@theparticleman
theparticleman / Vagrantfile
Created December 2, 2015 23:00
ASP.NET 5 with .NET Core Vagrant
# -*- 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
@theparticleman
theparticleman / basic-setup.ps1
Last active January 30, 2016 19:19
Basic machine setup
Rename-Computer tau
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -DisableShowProtectedOSFiles
Set-TaskbarOptions -Size Small
Install-WindowsUpdate
cinst chocolatey
cinst googlechrome
cinst notepadplusplus
cinst 7zip
cinst paint.net
@theparticleman
theparticleman / dev-tools.ps1
Last active February 26, 2016 03:27
Set up development tools
cinst git
cinst poshgit
cinst sourcetree
cinst visualstudio2015community
cinst visualstudiocode
cinst androidstudio
cinst sysinternals
del C:\Users\Public\Desktop\*.lnk
@theparticleman
theparticleman / game-setup.ps1
Last active January 30, 2016 02:39
Game setup
cinst steam
cinst battle.net
del C:\Users\Public\Desktop\*.lnk
@theparticleman
theparticleman / virtualization-setup.ps1
Created February 10, 2016 05:27
Virtualization setup
cinst virtualbox
cinst vagrant
@theparticleman
theparticleman / VagrantFile
Created March 23, 2016 20:04
3 Node Cassandra Cluster
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
$script = <<-SCRIPT
apt-get update
@theparticleman
theparticleman / setup.sh
Last active October 6, 2017 18:07
Raspberry Pi robot setup
#!/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

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 / settings.json
Created November 5, 2017 22:58
Visual Studio Code Settings
// 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,