I hereby claim:
- I am kinani on github.
- I am etheron (https://keybase.io/etheron) on keybase.
- I have a public key ASCKK5vsiH5-RZ6w0oCWCANIIiN_ThJ50ZYLpmerSyLwygo
To claim this, I am signing this object:
SET GLOBAL event_scheduler = ON; | |
DROP EVENT IF EXISTS MoveWindowForLast7DaysSubscriptions; | |
DELIMITER // | |
CREATE EVENT MoveWindowForLast7DaysSubscriptions | |
ON SCHEDULE EVERY 7 HOUR | |
DO | |
BEGIN |
I hereby claim:
To claim this, I am signing this object:
import RPi.GPIO as GPIO | |
import time | |
import pydocumentdb.document_client as document_client | |
masterKey = 'YOUR_PRIMARY_KEY' | |
host = 'YOUR_END_POINT' | |
client = document_client.DocumentClient(host, {'masterKey': masterKey}) |
defaults: new { controller = "UltraReading", action = "Index", id = UrlParameter.Optional } |
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } |
DocDBRepo<UltraReading>.Initialize(); |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace UltraReadingWeb.Common | |
{ | |
public static class Constants | |
{ | |
public static readonly string DatabaseId = "SensorsReadings"; |
@model IEnumerable<UltraReadingWeb.Models.UltraReading> | |
@{ | |
ViewBag.Title = "Index"; | |
Layout = "~/Views/Shared/_Layout.cshtml"; | |
} | |
<h2>Index</h2> | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Net; | |
using System.Threading.Tasks; | |
using UltraReadingWeb.Models; | |
using UltraReadingWeb.Common; |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using Microsoft.Azure.Documents; | |
using Microsoft.Azure.Documents.Client; | |
using Microsoft.Azure.Documents.Linq; | |
using System.Configuration; | |
using System.Linq.Expressions; | |
using System.Threading.Tasks; |