Skip to content

Instantly share code, notes, and snippets.

View mkoertgen's full-sized avatar
💭
Mostly working on DevOps stuff (#azuredevops, #k8s)

Marcel Körtgen mkoertgen

💭
Mostly working on DevOps stuff (#azuredevops, #k8s)
View GitHub Profile
@mkoertgen
mkoertgen / ExpressionTests.cs
Created February 12, 2015 09:37
A learning test for Expression Evaluator
using System;
using System.Globalization;
using ExpressionEvaluator;
using FluentAssertions;
using NUnit.Framework;
namespace Hello.Expressions
{
[TestFixture]
class ExpressionTests
@mkoertgen
mkoertgen / SkipTkCompile.targets
Created February 11, 2015 11:13
Enable NCrunch on SharpDx Toolkit projects
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- override the TkCompileTarget with empty to skip content compilation, e.g. for NCrunch -->
<Target Name="TkCompileTarget" />
<Target Name="TkListContentAndCompileTarget" />
</Project>
@mkoertgen
mkoertgen / Hello.RegEnv.cs
Last active August 29, 2015 14:10
Spike for reading environment variables from Registry in C# (avoids problems with refreshing environment values in process session chains)
using System;
using System.Diagnostics;
using Microsoft.Win32;
namespace Hello.RegEnv
{
class Program
{
static void Main(string[] args)
{
@mkoertgen
mkoertgen / Doc2Pdf
Last active November 23, 2023 18:15
A powershell automating Word to generate Pdf
A powershell automating Word to generate Pdf