Skip to content

Instantly share code, notes, and snippets.

View MCord's full-sized avatar

Mehran Kordi MCord

View GitHub Profile
ec2-54-224-226-5.compute-1.amazonaws.com ec2-52-90-209-54.compute-1.amazonaws.com
@MCord
MCord / XmlMerge.cs
Created April 19, 2018 20:53
C# implemtation to deteministically merge an xml into another.
public static class XmlMerge
{
public static bool MergeElements(XElement left, XElement right)
{
var hasChanges = MergeAttributes(left, left.Attributes(), right.Attributes());
if (!left.HasElements && !right.HasElements)
{
if (left.Value == right.Value)
{
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
cinst vlc
cinst Firefox
cinst flashplayerplugin
cinst sysinternals
cinst sublimetext3
cinst resharper