Button (row/col) | ENCODING | CODE |
---|---|---|
STOP (1/1) | NEC | 0xFCFE8000 |
Posterior Wash (1/2) | NEC | 0xFCFE4008 |
F Wash (1/3) | NEC | 0xFCFEC0C0 |
Dry wash area (1/4) | NEC | 0xFCFE2040 |
Vortex wash ? (2/1) | NEC | 0xFCFEA0D0 |
Retract/Nozzle shower (2/2) | NEC | stopped: FCFEE000 |
Oscillate during posterior wash(2/2) | NEC | 0xFCFEE008 |
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
/* | |
http://www.baldengineer.com/blog/2012/07/30/arduino-multi-digit-integers/ | |
*/ | |
unsigned int controllerInputVal=0; // Max value is 65535 | |
char incomingByte; | |
char controllerInput; | |
void setup() | |
{ |
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
{% extends "layout/main.html" %} | |
{% block body %} | |
<div class="row"> | |
<div class="span6"> | |
<form method="POST"> | |
<label for="date">Pick a date</label> | |
<input type="date" name="date" id="date"> |
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
# -*- coding: utf-8 -*- | |
""" | |
A real simple app for using webapp2 with auth and session. | |
It just covers the basics. Creating a user, login, logout | |
and a decorator for protecting certain handlers. | |
Routes are setup in routes.py and added in main.py | |
""" |
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
/************************************************ | |
FILENAME | |
server_simple.js | |
DESCRIPTION | |
creates a simple web server that | |
display "Hello Dynamic World Wide Web" | |
HOW TO START SERVER: | |
1) from terminal run 'node simple_server.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
<?php | |
function getListingsViaSoap($zipcode) { | |
$url = "http://www.tracmedia.com/lol/LOLService.asmx"; | |
$soap_request = '<?xml version="1.0" encoding="utf-8"?> | |
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> | |
<soap:Body> | |
<InTheLife xmlns="http://tracmedia.org/"> |
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
docker run -tid \ | |
--restart unless-stopped \ | |
--name dbpedia-spotlight.en \ | |
--mount source=spotlight-models,target=/opt/spotlight \ | |
-p 2222:80 \ | |
dbpedia/dbpedia-spotlight \ | |
spotlight.sh en |
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
<style> | |
/* IMPORTANT - must give map div height */ | |
#map-canvas { | |
height:400px; | |
} | |
/* IMPORTANT - fixes webkit infoWindow rendering */ | |
#map-canvas img { | |
max-width: none; | |
} |
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
from flask import jsonify | |
@app.route('/data/ideas') | |
def data_ideas(): | |
# query for the ideas - return oldest first, limit 10 | |
ideas = models.Idea.objects().order_by('+timestamp').limit(10) | |
if ideas: |
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
ffmpeg -i funtime.mp4 -f srt -i funtime.srt -c:v copy -c:a copy -c:s mov_text -metadata:s:s:0 language=eng funtime_w_captions.mp4 |
NewerOlder