Skip to content

Instantly share code, notes, and snippets.

View tbranyen's full-sized avatar

Tim Branyen tbranyen

View GitHub Profile
@eliperelman
eliperelman / BarnDoorTracker.ino
Created October 24, 2012 03:51
Barn Door Tracker - Arduino
#include <AFMotor.h>
const float rpm = 6.999999;
const int stepsPerRevolution = 200;
const int shieldPort = 1;
AF_Stepper motor(stepsPerRevolution, shieldPort);
void setup() {
// set up Serial library at 9600 bps
Serial.begin(9600);
[oh@Alice][~]% curl 'http://aur.archlinux.org/rpc.php?type=info&arg=cower-git' 2>/dev/null
{"type":"info","results":{"ID":"35888","Name":"cower-git","Version":"20110323-1","CategoryID":"16","Description":"A simple AUR agent with a pretentious name","URL":"http:\/\/github.com\/falconindy\/cower","URLPath":"\/packages\/cower-git\/cower-git.tar.gz","License":"MIT","NumVotes":"22","OutOfDate":"0"}}
[oh@Alice][~]% curl 'http://aur.archlinux.org/rpc.php?type=info&arg=cower-git' 2>/dev/null | json_reformat
{
"type": "info",
"results": {
"ID": "35888",
"Name": "cower-git",
"Version": "20110323-1",