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
<head> | |
<title>ladderboard · claim your victory</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<link rel="stylesheet" tag="pageStyle" type="text/css" href="styles/minimal.css"> | |
<script type="text/javascript"> | |
$(document).ready(function () { | |
$('#switcherTheme').change(function() { | |
var cssFile = $('#switcherTheme option:selected').attr("tag"); | |
$('[tag="pageStyle"]').attr( "href", cssFile ); | |
}); |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Emojis Test</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<link href="./styles/emojify.min.css" rel="stylesheet" type="text/css" /> | |
<script type="text/javascript" src="./js/emojify.min.js"></script> | |
</head> |
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
npm install --save optimist | |
Ejecución por line de comandos: | |
./tdaf-api-authserver --configFile=./config | |
o | |
./tdaf-api-authserver --configFile=./config/config.dev | |
o | |
./tdaf-api-authserver | |
(Usa la configuración por defecto que se haya establecido en index.js.) |
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
var incAge = function incAge(incValue) { | |
return this.age + incValue; | |
} | |
var BirthDayBoy = function BirthDayBoy(){ | |
this.age = 12; | |
}; | |
var boy = new BirthDayBoy(); |
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
// ArduCAM Mini demo (C)2015 Lee | |
// web: http://www.ArduCAM.com | |
// This program is a demo for ESP8266 arduino board. | |
// Publish captured image to a webpage. | |
// | |
// This demo was made for ArduCAM Mini OV2640 2MP Camera. | |
// It needs to be used in combination with html webpage. | |
// | |
// This program requires the ArduCAM V3.4.3 (or later) and ESP8266-Websocket libraries |
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 <Servo.h> | |
String inputString = ""; // a string to hold incoming data | |
boolean stringComplete = false; // whether the string is complete | |
Servo servoX; | |
int posX = 0; | |
void setup() { | |
// initialize serial: |
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 <IRLibDecodeBase.h> | |
#include <IRLib_P01_NEC.h> | |
#include <IRLib_P02_Sony.h> | |
#include <IRLib_HashRaw.h> | |
#include <IRLibCombo.h> | |
#ifdef __AVR__ | |
#include <avr/power.h> | |
#endif | |
#include <Wire.h> |
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 <Adafruit_ADS1015.h> | |
#include "RestClient.h" | |
RestClient client = RestClient("192.168.2.1", 3000); | |
Adafruit_ADS1115 ads; | |
int buttonState = 0; | |
void setup(void) | |
{ | |
Serial.begin(115200); |
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 <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266WebServer.h> | |
#include <Servo.h> | |
/* Set these to your desired credentials. */ | |
const char *ssid = "MissileLauncher"; | |
const char *password = "12345678"; | |
ESP8266WebServer server(80); |
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 <WiFi.h> | |
#include <PubSubClient.h> | |
#include "DHTesp.h" | |
const char* ssid = ""; | |
const char* password = ""; | |
const char* mqtt_server = ""; | |
const int dhtPin = 16; |
OlderNewer