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
Mar 16 14:28:54 yaircc nginx[16521]: 2016/03/16 14:28:54 [error] 16525#0: *541 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to MWExceptionHandler::rollbackMasterChangesAndLog() must be an instance of Exception, instance of ParseError given, called in /srv/http/telavivmakers.org/includes/exception/MWExceptionHandler.php on line 137 and defined in /srv/http/telavivmakers.org/includes/exception/MWExceptionHandler.php:111 | |
Mar 16 14:28:54 yaircc nginx[16521]: Stack trace: | |
Mar 16 14:28:54 yaircc nginx[16521]: #0 /srv/http/telavivmakers.org/includes/exception/MWExceptionHandler.php(137): MWExceptionHandler::rollbackMasterChangesAndLog(Object(ParseError)) | |
Mar 16 14:28:54 yaircc nginx[16521]: #1 [internal function]: MWExceptionHandler::handle(Object(ParseError)) | |
Mar 16 14:28:54 yaircc nginx[16521]: #2 {main} | |
Mar 16 14:28:54 yaircc nginx[16521]: thrown in /srv/http/telavivmakers.org/includes/exception/MWExceptionHandler.php on line 111" while reading response header fr |
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
#!/usr/bin/python | |
import numpy | |
import cv2, sys | |
import Image | |
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer | |
from SocketServer import ThreadingMixIn | |
import StringIO | |
import time | |
import datetime |
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
/* | |
details here: http://richdecibels.com/blog/?p=214 | |
a useful way to achieve pretty accurate event timing without having to delve into the AVR’s Timer registers and learn about Interrupt Service Routines and so on. In your main loop() put: | |
int x; //timing interval | |
long foo; //timing placeholder | |
if (millis() - foo > x) { | |
foo = millis(); | |
//run the following chunk of code every x milliseconds |
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
//game (with cornell) | |
#define DEBUG 1 | |
//GRID lib using neopixel_grid | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_NeoMatrix.h> | |
#include <Adafruit_NeoPixel.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
/* | |
* ON PUBLIC DOMAIN | |
* Author : Nitish Dash | |
* Name : Temperature and Humidity on 16X2 LCD with DHT11 Sensor | |
* Created : 12/26/2014 | |
* Webpage : http://goo.gl/W5iB30 | |
* Author Email : nitishdash95@gmail.com | |
* Author Website : http://www.nitishdash.com/ | |
**** DONOT COPY AND PLAGIARATE WITHOUT THE AUTHOR'S PERMISSIONS **** | |
*/ |
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
1014.77 | |
1014.61 | |
1014.72 | |
1014.80 | |
1014.70 | |
1014.75 | |
1014.76 | |
1014.82 | |
1014.77 | |
1017.07 |
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
//scaled to Serial.println((P-1000)*100., 2); | |
// see https://github.com/5shekel/doodlitech | |
REBOOT | |
BMP180 init success | |
1606.16 | |
1607.87 | |
1615.45 | |
1621.81 | |
1615.15 | |
1618.05 |
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
//based on https://github.com/telavivmakers/BMP180_Breakout_Arduino_Library/tree/master/examples/SFE_BMP180_example | |
#include <SFE_BMP180.h> | |
#include <Wire.h> | |
// You will need to create an SFE_BMP180 object, here called "pressure": | |
SFE_BMP180 pressure; | |
#define ALTITUDE 25.0 // Altitude of SparkFun's HQ in Boulder, CO. in meters |
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
//placing sensor in closed mouth and exhaling into cmouth cavity. twice | |
REBOOT | |
BMP180 init success | |
temperature: 26.92 deg C, pressure: 1010.94 mb, 29.86 inHg | |
temperature: 27.29 deg C, pressure: 1011.06 mb, 29.86 inHg | |
temperature: 27.52 deg C, pressure: 1011.07 mb, 29.86 inHg | |
temperature: 27.65 deg C, pressure: 1012.00 mb, 29.89 inHg | |
temperature: 27.71 deg C, pressure: 1017.95 mb, 30.06 inHg | |
temperature: 27.72 deg C, pressure: 1052.04 mb, 31.07 inHg |
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
// - - - - - | |
// DmxSerial - A hardware supported interface to DMX. | |
// DmxSerialSend.ino: Sample DMX application for sending 3 DMX values: | |
// | |
// Copyright (c) 2011 by Matthias Hertel, http://www.mathertel.de | |
// This work is licensed under a BSD style license. See http://www.mathertel.de/License.aspx | |
// | |
// Documentation and samples are available at http://www.mathertel.de/Arduino | |
// 25.07.2011 creation of the DmxSerial library. | |
// 10.09.2011 fully control the serial hardware register |