Skip to content

Instantly share code, notes, and snippets.

View cmaneu's full-sized avatar

Christopher MANEU cmaneu

View GitHub Profile
@cmaneu
cmaneu / gol-10-tsi.md
Created November 25, 2021 16:25
Game of Learners Session 10 - Time Series Insights

Game of Learners Clinics - IOT Office Hour Session 10

Who am I?

Christopher, Cloud Advocate @Microsoft. Twitter GitHub

Learn module

@cmaneu
cmaneu / devopsdday-2021.md
Last active November 18, 2021 12:55
DevOps DDay
@cmaneu
cmaneu / Function1.cs
Created December 23, 2020 21:24
SQL Serverless Data Generation
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;
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
@cmaneu
cmaneu / readme.md
Last active December 3, 2020 19:01
Tools for rapid prototyping
@cmaneu
cmaneu / deploy.sh
Last active November 25, 2020 17:08
Azure Synapse IoT Workshop
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
@cmaneu
cmaneu / readme.md
Last active November 19, 2020 11:14
CloudNord 2020 - Scuba Resilience
@cmaneu
cmaneu / Test.md
Last active November 12, 2020 17:49
Test redirection
@cmaneu
cmaneu / deploy.json
Created January 25, 2020 17:55
Tst deploy
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"resourceNameSuffix": {
"defaultValue": "deployment",
"type": "String"
}
},
"variables": {
@cmaneu
cmaneu / cheat.md
Last active March 7, 2019 22:33
MsDevRoadshow - cheat sheet

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, ",");