Skip to content

Instantly share code, notes, and snippets.

💭
Mostly working on DevOps stuff (#openshift, #azuredevops, #k8s)

Marcel Körtgen mkoertgen

View GitHub Profile
@mkoertgen
mkoertgen / README.md
Last active Nov 5, 2018
Fun with neo4j intersections
View README.md

Fun with neo4j intersections

Suppose you are about to host an event and want to invite customers. The event is so extraordinary that you want to invite customers only having at least one department in Berlin and also in Munich.

Setup

First, setup some example customers (Tom, Dick & Harry):

@mkoertgen
mkoertgen / cloudSettings
Last active Oct 29, 2018
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2018-10-29T05:27:08.980Z","extensionVersion":"v3.2.0"}
@mkoertgen
mkoertgen / README.md
Last active May 21, 2017
hello.webrtc
View README.md

hello.webrtc

Setting up a custom, private WebRTC server using Spreed WebRTC

@mkoertgen
mkoertgen / README.md
Last active Jul 25, 2018
Docker Toolbox Quickstart Terminal using Hyper-V Raw
View README.md

Using Docker Toolbox on Windows with Hyper-V instead of Virtualbox

Unless you successfully signed up for Docker Beta you probably had trouble getting started with Docker Toolbox on Windows.

The typical issue is that the Docker Quickstart Terminal will refuse to start because Hyper-V is installed, cf. docker/toolbox #77. In fact this is related to Oracle VirtualBox 5.0 coming with the current Docker Tools release.

The usual advice is to just uninstall Hyper-V - which i consider a big deal, especially on Windows 10.

@mkoertgen
mkoertgen / Patching ClickOnce Manifests.md
Created Apr 19, 2016
Patching ClickOnce Manifests
View Patching ClickOnce Manifests.md

Patching ClickOnce Manifests

The following examples take on the example of deploying the fictional .NET application app.exe. NOTE: With ClickOnce you can only deploy .NET applications out of the box. Ho, cf. How can I deploy a non .net application with ClickOnce?.

Creating a ClickOnce deployment for any .NET application

Create the application manifest from the build output (binaries)

mage -n Application -t app\app.exe.manifest -fd app
@mkoertgen
mkoertgen / ClickOnce.cs
Created Apr 19, 2016
ClickOnce: Setting a custom icon in 'Add/Remove Programs'
View ClickOnce.cs
using System;
using System.Deployment.Application;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Win32;
namespace MyApp
{
@mkoertgen
mkoertgen / mkdocs_task.bat
Last active Apr 19, 2016
Using built-in mkdocs server in production on Windows (Scheduled Task)
View mkdocs_task.bat
@echo off
setlocal
set logfile=%~n0.log
set taskName=%~n0
cd /D "%~dp0"
set command=%1
if "%command%"=="" set command=usage
@mkoertgen
mkoertgen / jenkins-setup
Last active Jul 12, 2016
Install a jenkins build server for .NET projects with boxstarter
View jenkins-setup
Scripts for jenkins build server automation on windows
@mkoertgen
mkoertgen / install_fxcop14.bat
Created Dec 10, 2015
Install FxCop14 on build server
View install_fxcop14.bat
rem cf.: http://stackoverflow.com/questions/21729066/running-code-analysis-fxcop-12-0-14-0-on-build-agent-without-installing-visu/32093939#32093939
@echo off
setlocal
set DIR=%~dp0
rem cf. http://stackoverflow.com/questions/21729066/running-code-analysis-fxcop-12-0-14-0-on-build-agent-without-installing-visu/32093939#32093939
:install_ms_build_tools
if exist "%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" goto install_vcredist
@mkoertgen
mkoertgen / fix.clickonce.icon.md
Created Oct 29, 2015
How to fix your ClickOnce icons
View fix.clickonce.icon.md
You can’t perform that action at this time.