Skip to content

Instantly share code, notes, and snippets.

View olizilla's full-sized avatar

Oli Evans olizilla

View GitHub Profile

Meteor London News

Some new news & some old news that we just learnt about the hard way

  • Meteor UI

  • Meteor Roadmap to 1.0

  • Meteor dependency updates:

  • Node release 0.10

img {
width:200px;
opacity:0;
position:absolute;
top:0;
z-index:1;
}
body{
margin:0;
}
@olizilla
olizilla / bluffers-guide-to-nodebots.md
Last active December 21, 2015 20:59
A bluffers guide to NodeBots, Arduino, and Hardware
@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 / 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;

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

Alan & Oli's NodeConf Adventure 2013

An awesome in 2 parts.

Nodeconf was:

Awesome Awesome

@olizilla
olizilla / test-slides.md
Created July 25, 2013 14:05
A quick test deck

Talk title

WAT? Lobster

  • Points
  • Need
  • Bullets
@olizilla
olizilla / traffic-light-disco.js
Created July 22, 2013 19:14
A johnny-five, event based, traffic light disco for your Arduino. An array of lights flash in majestic sequence for your gyratory pleasure. Each light's shining heralds it's own destruction, each extinction seeds a new. Just like the traffic light eyeball cannons of your friendly neighbourhood mobile DJ
/*
======================================================================================================================================
= ==================== ===== =================== =================== ================ ===========================
==== ====================== == === == ================== =================== ================ ==== ==========================
==== ====================== ======= ====================== =================== ====== ======== ==== ==========================
==== ===== = ==== === ===== ===== === ======== ======== === === ===== ======= ==== == === ==== ==== ==
==== ===== = == = === ======= ========== = ======= ============ = == ==== ======== ==== ====== = == = == =
==== ===== ========== === ======= ====== == ========== ======== === == = === ======== ==== == === ==== ===== = =
==== ===== ======== === ======= ====== == ========== ======== ==
@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,