You got this! May this pave your way to glorious web development! :)
This file contains 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 <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout << "Hello World" << endl; | |
while(1) {}; | |
} |
This file contains 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
================================================== | |
WeatherSpot firmware Uno-V1.0 RC1 | |
================================================== | |
Wifi reseting ack recieved. | |
Wifi mode select was succesfull. | |
Wifi connected to OpenWrt network succesfully! | |
Wifi single TCP setting was succesfull. | |
Wifi ping test to weatherspot.us OK | |
============== Wifi Network info vvv |
This file contains 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
/** | |
* @brief Sends a peice of data over TCP to our backend. | |
* @details Does a DNS lookup for our backend, sets up a TCP connection, and sends our data. | |
* | |
* @param An enum for if we want to send our data over Wireless or Wired. | |
*/ | |
void Network::send_packet(Network::Interface interface){ | |
if (interface == Wired) { | |
// https://api.thingspeak.com/update?key=8ZISX29L64E3ZDHW&field1=0 |
This file contains 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
import gab.opencv.*; | |
import processing.video.*; | |
import java.awt.*; | |
Capture webcam_frame; | |
OpenCV opencv_blue; | |
OpenCV opencv2; | |
OpenCV opencv_diff; | |
OpenCV opencv_rect; |
This file contains 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
import gab.opencv.*; | |
import processing.video.*; | |
import java.awt.*; | |
Capture webcam_frame; | |
OpenCV opencv_blue; | |
OpenCV opencv2; | |
OpenCV opencv_diff; | |
OpenCV opencv_rect; |
This file contains 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
import gab.opencv.*; | |
import processing.video.*; | |
import java.awt.*; | |
Capture webcam_frame; | |
OpenCV opencv; | |
// Capture resolution of webcam. | |
int capture_x = 960; | |
int capture_y = 720; |
This file contains 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
import gab.opencv.*; | |
import processing.video.*; | |
import java.awt.*; | |
Capture webcam_frame; | |
OpenCV opencv; | |
// Capture resolution of webcam. | |
int capture_x = 960; | |
int capture_y = 720; |
This file contains 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
import gab.opencv.*; | |
import processing.video.*; | |
import java.awt.*; | |
Capture webcam_frame; | |
OpenCV opencv; | |
// Capture resolution of webcam. | |
int capture_x = 960; | |
int capture_y = 720; |
Download the latest Ubuntu (14.10 as of now) from the Ubuntu site and make a virtual machine using that ISO via virtualbox.
When you are done installing Ubuntu, run the following in a terminal to satisfy various dependancies. You can copy and paste this into the terminal fully or line by line.
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y ruby-dev git g++
sudo gem update # This one takes a while and generates an error, it's ok.
NewerOlder