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
using Newtonsoft.Json; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using Windows.UI.Xaml.Controls; | |
namespace IoTBackUp | |
{ | |
public sealed partial class MainPage : Page | |
{ | |
public MainPage() |
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
<Page | |
x:Class="IoTBackUp.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:IoTBackUp" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> |
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
class Greeter { | |
constructor(public greeting: string) { } | |
greet() { | |
return "<h1>" + this.greeting + "</h1>"; | |
} | |
}; | |
var greeter = new Greeter("Hello, world!"); | |
document.body.innerHTML = greeter.greet(); |
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
using System.Threading.Tasks; | |
namespace SparkFun | |
{ | |
internal interface ISparkFunWeatherSheild | |
{ | |
float Humidity { get; } | |
float Temperature { get; } | |
Task<bool> 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
using System; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using Newtonsoft.Json; | |
using SparkFun; | |
namespace IoTBackUp | |
{ | |
internal class DesktopWeather : ISparkFunWeatherSheild | |
{ |
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
using System; | |
using System.Collections.Generic; | |
using System.Net.Http; | |
using Windows.UI.Xaml.Controls; | |
using Autofac; | |
using SparkFun; | |
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 | |
namespace IoTBackUp |
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
SELECT | |
flatEvent.ArrayValue.name, | |
count(flatEvent) | |
INTO | |
[SSWTimePro-Appinsights] | |
FROM | |
[export-input] A | |
OUTER APPLY GetElements(A.[event]) as flatEvent | |
GROUP BY TumblingWindow(minute, 1), flatEvent.ArrayValue.name |
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
{ | |
"version": "v4", | |
"repo": "borisyankov/DefinitelyTyped", | |
"ref": "master", | |
"path": "typings", | |
"bundle": "typings/tsd.d.ts", | |
"installed": { | |
"angularjs/angular.d.ts": { | |
"commit": "c5a2f44bab06cf9f2bcc14530171daac1cebff6c" | |
} |
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
{ | |
"command": "reinstall", | |
"latest": true, | |
"config": "./tsd.json", | |
"opts": { | |
} | |
} |
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 gulp = require('gulp'); | |
var tsd = require('gulp-tsd'); | |
gulp.task('tsd', function () { | |
return gulp.src('./gulp_tsd.json').pipe(tsd()); | |
}); |
NewerOlder