Skip to content

Instantly share code, notes, and snippets.

View cmaneu's full-sized avatar

Christopher MANEU cmaneu

View GitHub Profile
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 / 0-readme.md
Last active March 11, 2019 14:23
Station F Containers Demo

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

  1. Hello Docker
  • Run a simple container
  • Run an Ubuntu Bash
@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, ",");
@cmaneu
cmaneu / chocoSetup.ps1
Last active October 5, 2018 01:33
MSFT Setup machine
# base machine tools
choco install -y firacode
choco install -y vlc
choco install -y googlechrome
choco install -y izarc
choco install -y adobereader
choco install -y keepass.install
# admin tools
choco install -y sysinternals
@cmaneu
cmaneu / content
Created March 6, 2018 11:25
BoxStarter MSFT
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