Skip to content

Instantly share code, notes, and snippets.

View cmaneu's full-sized avatar

Christopher MANEU cmaneu

View GitHub Profile
@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
@cmaneu
cmaneu / Brewfile
Last active July 31, 2017 08:23
Xamarin Mac Automated Setup
# Taps
tap 'caskroom/cask'
tap 'caskroom/fonts'
# Install ZSH
brew 'zsh'
brew 'zsh-completions'
# Install GNU core utilities (those that come with macOS are outdated)
brew 'coreutils'
choco install googlechrome
choco install adobereader
choco install firefox
choco install winrar
choco install vlc
choco install visualstudiocode
choco install office365business
@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
@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 / 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 / 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 / Test.md
Last active November 12, 2020 17:49
Test redirection
@cmaneu
cmaneu / readme.md
Last active November 19, 2020 11:14
CloudNord 2020 - Scuba Resilience