Skip to content

Instantly share code, notes, and snippets.

View ap0llo's full-sized avatar
💭
🚀

Andreas Grünwald ap0llo

💭
🚀
View GitHub Profile
@ap0llo
ap0llo / .gitignore
Last active October 8, 2016 22:29
Duplicate Project Reference Example
obj/
bin/
@ap0llo
ap0llo / Visual Studio - Customized.xml
Last active August 29, 2015 14:24
Customized Visual Studio Keymap for IntelliJ
<keymap version="1" name="Visual Studio - Customized" parent="Visual Studio">
<action id="CollapseAll">
<keyboard-shortcut first-keystroke="control SUBTRACT" />
</action>
<action id="CollapseAllRegions">
<keyboard-shortcut first-keystroke="control M" second-keystroke="control O" />
</action>
<action id="CollapseBlock" />
<action id="CollapseRegion" />
<action id="CollapseSelection">
@ap0llo
ap0llo / ModuleAssemblyLoader.cs
Last active February 3, 2018 16:54
Loads the assembly System.Net.Http.Primitives from the same location as the executing assembly in a powershell module. This is necessary when using the Google .NET client library in powershell Cmdlets
using System;
using System.IO;
using System.Management.Automation;
using System.Reflection;
/// <summary>
/// Powershell module intializer that ensures that the assembly System.Net.Http.Primitives required by Goolge client library is loaded correctly
/// </summary>
public class ModuleAssemblyLoader : IModuleAssemblyInitializer
{