This file contains hidden or 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> | |
<html> | |
<head> | |
<title>Status Board</title> | |
<script type="text/javascript"> | |
//TODO:Fill out the information below to configure your board. | |
//This page contains everything you need to stand up a page that shows time, StatusCake, | |
//Weather Underground, and Trello information. To learn more, check out http://leanpub.com/trellodojo | |
//You may customize it as needed to fit your screen sizes and organization's needs. |
This file contains hidden or 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
/* | |
Color the weather | |
Daniel Root | |
www.danielroot.info | |
Should work (but not yet tested with) Phillips Hue devices and any SmartThings device that supports "capability.colorControl". | |
See https://codebender.cc/sketch:28062 for Arduino code that works with the Arduino SmartShield. | |
*/ | |
preferences { | |
section("Check the weather in"){ |
This file contains hidden or 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
using System.Web.Optimization; | |
namespace Company.Web.UI | |
{ | |
public class AngularJsHtmlBundle : Bundle | |
{ | |
public AngularJsHtmlBundle(string moduleName, string virtualPath) | |
: base(virtualPath, null, new[] { (IBundleTransform)new AngularJsHtmlCombine(moduleName) }) | |
{ |
This file contains hidden or 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
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.StaticFiles; | |
using Microsoft.AspNetCore.Authentication.Cookies; | |
using Microsoft.AspNetCore.Authentication.WsFederation; | |
using System.Xml.Linq; |
This file contains hidden or 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
<script src="//cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js"></script> | |
<script src="//rawgit.com/abduzeedo/ios7-blur-html5/master/js/StackBlur.js"></script> | |
var getElementOffset = function (element) { | |
var de = document.documentElement; | |
var box = element.getBoundingClientRect(); | |
var top = box.top + window.pageYOffset - de.clientTop; | |
var left = box.left + window.pageXOffset - de.clientLeft; | |
return { top: top, left: left }; | |
}; |