Skip to content

Instantly share code, notes, and snippets.

Christopher MANEU cmaneu

Block or report user

Report or block cmaneu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cmaneu
cmaneu / cheat.md
Last active Mar 7, 2019
MsDevRoadshow - cheat sheet
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, ",");
@cmaneu
cmaneu / 0-readme.md
Last active Mar 11, 2019
Station F Containers Demo
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

  1. Hello Docker
  • Run a simple container
  • Run an Ubuntu Bash
@cmaneu
cmaneu / content
Created Mar 6, 2018
BoxStarter MSFT
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
View gist:0dc083ab18a9714308efff4f247519b6
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 Jul 27, 2017
My EditorConfig
View .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 Jul 31, 2017
Xamarin Mac Automated Setup
View Brewfile
# 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'
View header.txt
Sample Code is provided for the purpose of illustration only and is not intended
to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED
INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant You a
nonexclusive, royalty-free right to use and modify the Sample Code and to
reproduce and distribute the object code form of the Sample Code, provided that.
You agree: (i) to not use Our name, logo, or trademarks to market Your software
product in which the Sample Code is embedded; (ii) to include a valid copyright
notice on Your software product in which the Sample Code is embedded; and (iii)
@cmaneu
cmaneu / faq.md
Last active Apr 18, 2017
FAQ Scubabous
View faq.md

Questions fréquentes Scubabous

Inscription

Comment s'inscrire aux scubabous ?

Vous pouvez vous inscrire directement en ligne, sur le site des Scubabous (http://scubabous.fr).

Quels documents sont nécessaires pour l'inscription à la plongée ?

Il vous faut les documents suivantes:

  • La fiche d'inscription, remplie en ligne,
@cmaneu
cmaneu / chocoSetup.ps1
Last active Oct 5, 2018
MSFT Setup machine
View chocoSetup.ps1
# 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
View AdminDeployment.xml
<?xml version="1.0" encoding="utf-8"?>
<AdminDeploymentCustomizations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment">
<BundleCustomizations TargetDir="C:\Program Files (x86)\Microsoft Visual Studio 14.0" NoCacheOnlyMode="default" NoWeb="default" NoRefresh="default" SuppressRefreshPrompt="default" Feed="default" />
<SelectableItemCustomizations>
<SelectableItemCustomization Id="VSUV3RTMV1" Hidden="no" Selected="yes" FriendlyName="Visual Studio 2015 Update 3" />
<SelectableItemCustomization Id="MicroUpdateV3.1" Selected="yes" FriendlyName="Update for Microsoft Visual Studio 2015 (KB3165756)" />
<SelectableItemCustomization Id="WebToolsV1" Hidden="no" Selected="yes" FriendlyName="Microsoft Web Developer Tools" />
<SelectableItemCustomization Id="GitForWindowsx64V4" Hidden="no" Selected="yes" FriendlyName="Git for Windows" />
<SelectableItemCustomization Id="GitForWindowsx86V4"
You can’t perform that action at this time.