Skip to content

Instantly share code, notes, and snippets.

@dome2048
dome2048 / flightaware.sh
Created January 24, 2019 04:51 — forked from FabienLavocat/flightaware.sh
Install FlightAware and FlightRadar24 on a Raspberry Pi
#!/bin/bash -e
sudo apt-get update
sudo apt-get -y install dirmngr
# Add the package for FlightAware
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.6.3_all.deb
sudo dpkg -i piaware-repository_3.6.3_all.deb
# Add the server for FlightRadar24
@dome2048
dome2048 / SmartKitchen2
Created September 10, 2013 18:25
Arduino code for Smart Kitchen
#include <SoftwareSerial.h>
#include <SmartThings.h>
#define PIN_THING_RX 3
#define PIN_THING_TX 2
SmartThingsCallout_t messageCallout; // call out function forward decalaration
SmartThings smartthing(PIN_THING_RX, PIN_THING_TX, messageCallout); // constructor
bool isDebugEnabled; // enable or disable debug in this example
int stateLED; // state to track last set value of LED
@dome2048
dome2048 / blankslate9
Created September 10, 2013 18:21
SmartThings Device Type for Smart Kitchen
/**
* Blank Slate 9
*
* Author: tcnerison@gmail.com
* Date: 2013-08-29
*/
// for the UI
metadata {
simulator {
// TODO: define status and reply messages here