$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
View VersionTelemetryInitializer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Insights | |
{ | |
using System.Configuration; | |
using System.Linq; | |
using System.Reflection; | |
using Microsoft.ApplicationInsights.Channel; | |
using Microsoft.ApplicationInsights.Extensibility; | |
/// <summary> | |
/// Version TelemetryInitializer |
View vCardQRCode.csx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "System.Drawing" | |
#r "QRCoder.dll" | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.IO; | |
using System.Net; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using QRCoder; |
View Roslyn.CodeGeneration.Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CSharp; | |
using Microsoft.CodeAnalysis.CSharp.Syntax; | |
namespace Roslyn.CodeGeneration | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) |
View Get-PasswordFromPmp.psm1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-PasswordFromPmp { | |
<# | |
#.SYNOPSIS | |
# Gets a password from PMP. | |
# | |
#.DESCRIPTION | |
# Gets a password from PMP. | |
# | |
#.PARAMETER pmpServer | |
# The server name and port where PMP is hosted. |
View addcasa.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place the script in the solution folder | |
# Add the ca.ruleset to the solution folder | |
# Run the Powershell Script to add Code Analysis and StyleCop to all your .NET Core Projects. | |
$projects = (Get-ChildItem . -recurse) | Where-Object {$_.extension -eq ".csproj"} | |
foreach ($project in $projects) { | |
$content = Get-Content $project.FullName | |
if (!($content | Select-String -pattern "<CodeAnalysisRuleSet>ca.ruleset</CodeAnalysisRuleSet>")) { | |
$content = $content.Replace("</Project>", "`t<PropertyGroup>`r`n`t`t<CodeAnalysisRuleSet>ca.ruleset</CodeAnalysisRuleSet>`r`n`t</PropertyGroup>`r`n</Project>") | |
$content | Out-File $project.FullName -Encoding Default | |
} |
View azure_cli_ansible_install.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install Azure CLI | |
AZ_REPO=$(lsb_release -cs) | |
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | sudo tee /etc/apt/sources.list.d/azure-cli.list | |
curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
sudo apt-get install -y apt-transport-https | |
sudo apt-get update && sudo apt-get install -y azure-cli |
View dotnetlayout.md
View README.md
Kubernetes deployment for the Global Azure Bootcamp 2019 Science Lab
This deployment file will attempt to deploy 3 replicas of the container used in the Global Azure Bootcamp 2019 Science Lab.
Just run:
kubectl apply -f ./gab-2019-science-lab.yaml
View keybase.md
Keybase proof
I hereby claim:
- I am cmendible on github.
- I am cmendibl3 (https://keybase.io/cmendibl3) on keybase.
- I have a public key ASAFDp7ZcZ0ARweRA9g8BFrM8DO8mTA8FBlGcC4iJM48cAo
To claim this, I am signing this object:
View kubectl_ubuntu_wsl.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Receives your Windows username as only parameter. | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.16.0/bin/linux/amd64/kubectl | |
chmod +x ./kubectl | |
sudo mv ./kubectl /usr/local/bin/kubectl | |
windowsUser=$1 |
OlderNewer