Skip to content

Instantly share code, notes, and snippets.

View olizilla's full-sized avatar

Oli Evans olizilla

View GitHub Profile
@olizilla
olizilla / meet-meteor.md
Last active December 17, 2015 22:48
Developer with ideas, meet Meteor; Meteor meet ideas. Oh look, they've become manifest.

Meet Meteor

The framework for turning ideas into webapps

A full stack web framework

  • Manages client and server side.
  • Things like Rails manage server side issues.
  • Things like Ember & Angular provide front-end structure.
  • Meteor helps out with both.
@olizilla
olizilla / grunt-makes-it-better.md
Last active December 18, 2015 16:39
Grunt makes it better

Grunt Yourself Beautiful

Grunt Logo

"The JavaScript Task Runner"

Another Build Tool!?

  • Yep. The right tool for the job.
@olizilla
olizilla / navdata.js
Created July 21, 2013 13:18
Example of navdata sensor data from Parrot A.R. Drone 2.0
{ header: 1432778632,
droneState:
{ flying: 0,
videoEnabled: 0,
visionEnabled: 1,
controlAlgorithm: 0,
altitudeControlAlgorithm: 1,
startButtonState: 0,
controlCommandAck: 1,
cameraReady: 1,
@olizilla
olizilla / test-slides.md
Created July 25, 2013 14:05
A quick test deck

Talk title

WAT? Lobster

  • Points
  • Need
  • Bullets

Alan & Oli's NodeConf Adventure 2013

An awesome in 2 parts.

Nodeconf was:

Awesome Awesome

Meteor London July 2013

  • Chris Waring - THIS IS METEOR!
  • Shane - Meteor Gantt.
  • Paul Harwood - http://storyapp.it
  • Rob Miller - Noise Network - A real-time noise monitoring solution.
  • Alan Shaw - nodeconf & asciify
  • Oli - Is drone down for everyone or just me?
  • Jon - Real world buttons
@olizilla
olizilla / easy-motor.ino
Last active December 20, 2015 10:20
Using the Adafruit motor shield to power chunky motors. If you don't get enough grunt from the motor *do not just run 2A through it*. Smoking occurs. see: http://learn.adafruit.com/adafruit-motor-shield
#include <AFMotor.h>
/*
Graccefully spin up, run, spin down and reverse a motor
*/
AF_DCMotor motor(2, MOTOR12_64KHZ); // create motor #2, 64KHz pwm
// FORWARD = 1, BACKEWARD = 2, RELEASE = 4
const int UP = 1;
@olizilla
olizilla / how-to-build-an-awesome.md
Last active December 20, 2015 11:49
Notes on tracking ships. IN THE FUTURE.

How I'd build an awesome thing, if I were me, today.

  • Realtimey push of async events to all clients - We track ships. Ships move. The client should be informed of each position report, as they happen. I strongly believe that this should be at the core of all our apps. This expands to a generic async event notification system. Consider WebSockets via Engine IO or push as a service via http://pusher.com
  • DOM templates. This isn't just a bunch of strings dammit, it's chunks of HTML. The templates should be HTML too.
  • Client side DB. Structured APIs over localStorage & indexDB are sufficiently advanced that we can sync subsets of the server data with a client side DB-like structure. User interactions manipulate the local data, and just those diffs are communicated to the server. If the client maliciously force-violates the front-end validators, then the server simply rejects the change, and sends back the relevant diff to patch their database state
@olizilla
olizilla / bluffers-guide-to-nodebots.md
Last active December 21, 2015 20:59
A bluffers guide to NodeBots, Arduino, and Hardware
img {
width:200px;
opacity:0;
position:absolute;
top:0;
z-index:1;
}
body{
margin:0;
}