Skip to content

Instantly share code, notes, and snippets.

View chgeuer's full-sized avatar
🏠
Working from Düsseldorf

Dr. Christian Geuer-Pollmann chgeuer

🏠
Working from Düsseldorf
View GitHub Profile
@chgeuer
chgeuer / Dockerfile
Last active May 29, 2018 21:59
Running Orleans in Docker
FROM ubuntu:14.04.2
MAINTAINER [email protected]
RUN apt-get update && \
apt-get install mono-complete curl unzip && \
mkdir /usr/local/orleans && \
curl https://chgeuer.blob.core.windows.net/public/orleans1_0.zip > /usr/local/orleans/orleans1_0.zip && \
cd /usr/local/orleans && \
unzip orleans1_0.zip

Agenda

  1. Microsoft and Open Source - Past and Future
  2. Azure IaaS changed everything : Microsoft loves Linux
  3. Examples of OSS Projects

Microsoft und OpenSource:

@chgeuer
chgeuer / brainpoolp256r1.cs
Last active April 22, 2022 11:17
Demonstrates how to use BouncyCastle with brainpoolp256r1 curve
namespace microsoft.chgeuer.crypto
{
// compile this baby against https://github.com/bcgit/bc-csharp
// or against NuGet <package id="BouncyCastle" version="1.7.0" targetFramework="net45" />
using Org.BouncyCastle.Asn1.X9;
using Org.BouncyCastle.Crypto.Generators;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Security;
@chgeuer
chgeuer / DNSQuery.cs
Created January 30, 2015 09:43
Retrieve DNS Records
// <package id="Heijden.Dns" version="1.0.0" targetFramework="net45" />
var aRecord = new Heijden.DNS.Resolver().Query("somedomain.de", Heijden.DNS.QType.A);
foreach (var x in aRecord.Answers)
Console.WriteLine("Answer: {0} is an {1} record for {2} (TTL {3})",
x.NAME, x.Type, x.RECORD, TimeSpan.FromSeconds( x.TTL));
Func<string, Task<bool>> CheckNameAvailabilityAsync = async (cloudServiceName) =>
{
var computeManagementClient = new Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient( // Microsoft.WindowsAzure.Management.Compute.8.0.0
new Microsoft.Azure.CertificateCloudCredentials( // Microsoft.Azure.Common.2.0.1
subscriptionID, subscriptionManagementCertificateThumbprint.FindX509CertificateByThumbprint(storeLocation)));
var result = await computeManagementClient.HostedServices.CheckNameAvailabilityAsync(cloudServiceName, cancellationToken);
return result.IsAvailable;
};
@chgeuer
chgeuer / ChangePasswordForOrigin.cs
Created December 15, 2014 10:26
Changes the hard-coded origin https password for all repos in a directory
namespace ChangePasswordForOrigin
{
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
class Program
@chgeuer
chgeuer / blob-storage-android-ios.md
Last active August 11, 2024 11:08
Azure Blob Storage from Androind and iOS
@chgeuer
chgeuer / azure-automation-etc.md
Last active November 3, 2017 14:45
Azure Automation Linux

src: http://aka.ms/is24

agenda

  • Azure Compute, Storage and Networking
    • Compute
      • Azure Cloud Services (PaaS)
      • Azure Virtual Machines (IaaS)
  • Azure Web Sites (SaaS)