-
Install and run an MQTT broker (mosquitto is a good choice)
-
Install mqtt and ncurses-ruby gems (the plain ncurses gem is harder to natively compile)
sudo gem install mqtt ncurses-ruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <GD.h> | |
void setup() { | |
// give time for the gameduino splash screen to be displayed | |
delay(2500); | |
GD.begin(); | |
// load character set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
#simple app to read string from serial port | |
#and publish via MQTT | |
# | |
#uses the Python MQTT client from the Mosquitto project | |
#http://mosquitto.org | |
# | |
#Andy Piper http://andypiper.co.uk | |
#2011/09/15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# simple script to repeatedly publish an MQTT message | |
# | |
# uses the Python MQTT client from the Paho project | |
# http://eclipse.org/paho | |
# | |
# Andy Piper @andypiper http://andypiper.co.uk | |
# | |
# 2011/09/15 first version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Rainbowduino v3.0 Library examples: | |
Sets pixels on 2D plane (8x8 matrix) | |
*/ | |
#include <Rainbowduino.h> | |
uint32_t colorRGB[13] = {0xFFFFFF,0x000000,0xFFFFFF,0x000,0xFF0000,0x00FF00,0x0000FF,0xFF0000,0x00FF00,0x0000FF,0xFF0000,0x00FF00,0x0000FF }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TinyBASIC.cpp : An implementation of TinyBASIC in C | |
// | |
// Author : Mike Field - [email protected] | |
// | |
// Based on TinyBasic for 68000, by Gordon Brandly | |
// (see http://members.shaw.ca/gbrandly/68ktinyb.html) | |
// | |
// which itself was Derived from Palo Alto Tiny BASIC as | |
// published in the May 1976 issue of Dr. Dobb's Journal. | |
// |
This is a simple example of the MQTT protocol with Node.js. The client code has also been tested with a combination of C++ servers and clients.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Styles.textile b/Styles.textile | |
index c7a71cf..c77c5b8 100644 | |
--- a/Styles.textile | |
+++ b/Styles.textile | |
@@ -3,9 +3,8 @@ The following is information related to styling Textual. | |
<h3>Introduction</h3> | |
* Styles are primarily developed using HTML & CSS — Two very common web standards. | |
-* (pre-version 2.1/non-sandboxed) Textual looks for all style files in the folder: [home folder] -> Library -> Application Support -> Textual -> Styles | |
+* Textual looks for all style files in the folder: [home folder] -> Library -> Application Support -> Textual -> Styles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) { | |
System.out.println("Hello GitHub"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# add a simple 'nuget' command to Mac OS X under Mono | |
# get NuGet.exe binary from http://nuget.codeplex.com/releases/view/58939 | |
# get Microsoft.Build.dll from a Windows .NET 4.0 installation | |
# copy to /usr/local/bin and Robert is your father's brother.... | |
# | |
PATH=/usr/local/bin:$PATH | |
mono --runtime=v4.0 /usr/local/bin/NuGet.exe $* |
OlderNewer