View Function1.cs
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Bogus; | |
using Dapper; | |
using Microsoft.AspNetCore.Mvc; |
View data-rooms.csv
RoomId | RoomName | BuildingName | |
---|---|---|---|
1 | A101 - Lobby | Main Building | |
2 | A102 - Storage Room | Main Building | |
3 | A103 - Cafeteria | Main Building | |
4 | A201 - Cafeteria | Main Building | |
5 | A202 - Office | Main Building | |
6 | A203 - Office | Main Building | |
7 | A301 - Cafeteria | Main Building | |
8 | A302 - Conference room | Main Building | |
9 | B101 - Lobby | Grace Hopper Building |
View deploy.sh
printf "\n*** AZURE IOT & SYNAPSE Workshop Creation on Subscription #$SUBSCRIPTION_ID ***\n" | |
SUBSCRIPTION_ID=`az account show --query id --output tsv` | |
MAIN_REGION=westeurope | |
printf "\n*** Working on on Subscription #$SUBSCRIPTION_ID and region $MAIN_REGION***\n" | |
read -p 'New resource group name: ' RESOURCE_GROUP_NAME | |
read -p 'Unique prefix (applied to all resources): ' RESOURCE_PREFIX | |
STORAGE_ACCOUNT_NAME="$RESOURCE_PREFIX"rawstor |
View readme.md
Et si ca tourne mal ? Recettes pour des applications résilientes
Slides
Links
View Test.md
View deploy.json
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"resourceNameSuffix": { | |
"defaultValue": "deployment", | |
"type": "String" | |
} | |
}, | |
"variables": { |
View cheat.md
main.js - line 57
scope.rgbColor.g = data.desired.rgbLEDG || 0;
scope.rgbColor.b = data.desired.rgbLEDB || 0;
State.cs - end of file
static async Task UpdateRgbLedColor(string state, Microsoft.Azure.Devices.Shared.Twin twin)
{
var color = Regex.Split(state, ",");
View 0-readme.md
Station F - 1001 lives of containers in the cloud
This gist contains my demo script for "1001 lives of containers in the cloud" tech conference.
Demos
- Hello Docker
- Run a simple container
- Run an Ubuntu Bash
View content
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
Update-ExecutionPolicy RemoteSigned | |
choco install -y Microsoft-Hyper-V-All -source windowsFeatures | |
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsFeatures | |
# CommandLine | |
choco install -y cmder | |
choco install -y hyper |
NewerOlder