Skip to content

Instantly share code, notes, and snippets.

View Samcfuchs's full-sized avatar
🦊

Sam Fuchs Samcfuchs

🦊
View GitHub Profile
@stonehippo
stonehippo / RPi-Dashing-howto.md
Last active October 6, 2021 13:52
Setting up a Raspberry Pi as a dashboard server with Dashing

Setting up a Raspberry Pi as a dashboard server with Dashing

Why the heck did I do this?

I wanted to set up one of my Raspberry Pi's as a data dashboard, pushing sensor data to a web interface that's easy to digest. I decided to use Shopify's Dashing framework. Dashing is based on Sinatra, and is pretty lightweight.

Dashing does require Ruby 1.9.3 to run. In addition, it makes use of the execjs gem, which needs to have a working Javascript interpreter available. Originally, I tried to get therubyracer working, but decided to switch over to Node.js when I ran into roadblocks compiling V8.

One warning: The RPi is a very slow system compared with modern multi-core x86-style systems. It's pretty robust, but compiling all this complex software taxes the system quite a bit. Expect that it's going to take at least half a day to get everything going.

@Samcfuchs
Samcfuchs / frc_teams.txt
Last active June 10, 2016 01:59
A list of FRC robotics teams' github accounts and repositories
We can assume that the repos and accounts are for GitHub, so list them like below, and have fun!
A good way to find repos is by searching "org.usfirst.frc" because that is in every robot.java.
/Team236/ :: Team organization
/Dicarlo236/ :: The account of one of our alumni with some code there.
/flamingchickens1540/ :: Team 1540 Flaming Chickens
/Team254/ :: Team 254 Cheesy Poofs
/Team1619/ :: Team 1619 Up-a-creek
/FRCTeam16/ :: Team 16 Bomb Squad
/WhitmoreLakeTroBots/ :: Team 3668 TroBots
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
"behave mswin
" VUNDLE STUFF
filetype off " required
" Pretty
syntax enable