Skip to content

Instantly share code, notes, and snippets.

ajfisher ajfisher

Block or report user

Report or block ajfisher

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rethinkdb_setup_osx.md

RethinkDB Setup on OSX

This guide will get RethinkDB setup and running with a default configuration on OSX. There is also an option for setting RethinkDB to start at boot time on OSX, and a note on upgrading to a more recent RethinkDB version.

First Installation

Install Homebrew if you don't already have it:

@ajfisher
ajfisher / network_rgb.ino
Last active Aug 29, 2015
Code for Information Radiator blog post.
View network_rgb.ino
// Adapted from generic web server example as part of IDE created by David Mellis and Tom Igoe.
#include "Arduino.h"
#include <Ethernet.h>
#include <SPI.h>
#include <string.h>
#include <stdlib.h>
#define DEBUG false
@ajfisher
ajfisher / _Minecraft setup.md
Last active Aug 29, 2015
Minecraft Server on Raspberry Pi Set up scripts
View _Minecraft setup.md

Set up scripts for Minecraft server on Raspberry Pi

@ajfisher
ajfisher / app.js
Created Jun 8, 2015
Beginning version colour sensor module support
View app.js
var five = require("johnny-five");
var colour_sensor = require("./coloursensor.js")
var board = five.Board();
var led;
board.on('ready', function() {
var cs = new colour_sensor({
address: 0x29,
@ajfisher
ajfisher / gist:1061793
Created Jul 2, 2011
Make an RGB LED show different colours based on range finder distance
View gist:1061793
/*
WARMER COOLER GAME
Use a ping sensor to determine distance and then depending on the distance,
show warmer or cooler colours.
Built using a ping))) Sensor and connected to a RGB display.
Uses the ping))) example in the base Arduino install, written by David Mellis & Tom Igoe
http://www.arduino.cc/en/Tutorial/Ping
@ajfisher
ajfisher / generic_network_pulser.pde
Created Oct 16, 2011
Pulse an arduino PWM pin by hitting a URL over the network
View generic_network_pulser.pde
/**
Generic networked pulser
Sets up a web page and every time a url is hit then it conducts and action
Author: Andrew Fisher
Date: 29 September 2011
Version 0.2
@ajfisher
ajfisher / tsana.py
Created Oct 16, 2011
Twitter Stream Analyser and Network Activator - watches twitter stream for keywords and hits a URL when it finds one.
View tsana.py
# Twitter stream analyser and network activator (TSANA)
#
# This script analyses a twitter stream for keywords using the twitter
# streaming api - off the back of it, it then hits a user defined url
# In my case this is being used to tell an Arduino to pulse a light but
# could be used for anything arbitrary.
#
# Author: Andrew Fisher
# Version: 0.3
# Date: 20/10/2011
@ajfisher
ajfisher / networked_temperature_sensor.pde
Created Oct 16, 2011
Basic networked temperature sensor that displays a web page for arduino
View networked_temperature_sensor.pde
/**
Basic Networked temperature sensor.
Displays a web page with the temperature on it.
Author: Andrew Fisher
Date: 30 September 2011
Version 0.1
@ajfisher
ajfisher / tsasa.py
Created Jan 15, 2012
Send a twitter message to a serial connection on an arduino
View tsasa.py
# Twitter stream analyser and serial activator (TSASA)
#
# This script analyses a twitter stream for keywords using the twitter
# streaming api - off the back of it, it then makes a serial request passing
# the message across to the serial device
#
# This was done fopr LCA2012 as an extension to the more code generator that
# Luke Weston build for the LeoStick
#
#
@ajfisher
ajfisher / info.md
Last active Jan 22, 2016
NodePixel flashing to edison
View info.md

Get bin file from this gist.

Copy bin file into a location on the edison side. I'll call this /tmp/firmware

ssh onto edison then cd into /tmp/firmware

from there:

npm install avrgirl-arduino
You can’t perform that action at this time.