Skip to content

Instantly share code, notes, and snippets.

View cmaneu's full-sized avatar

Christopher MANEU cmaneu

View GitHub Profile
@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, ",");
@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 / 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
choco install googlechrome
choco install adobereader
choco install firefox
choco install winrar
choco install vlc
choco install visualstudiocode
choco install office365business
@cmaneu
cmaneu / .editorconfig
Created July 27, 2017 18:29
My EditorConfig
root = true
[*.cs]
# http://kent-boogaart.com/blog/editorconfig-reference-for-c-developers#csharp_indent_block_contents
csharp_indent_block_contents = true
# http://kent-boogaart.com/blog/editorconfig-reference-for-c-developers#csharp_indent_braces
csharp_indent_braces = false
# http://kent-boogaart.com/blog/editorconfig-reference-for-c-developers#csharp_indent_case_contents