This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Newtonsoft.Json.Linq; | |
namespace Aghub.WebApi.Tests | |
{ | |
public class JsonCompare | |
{ | |
public static void PrintDiff(JToken x, JToken y) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Code snippets to read encrypted objects from an MS SQL DB | |
# And decrypt them | |
# Works only in Powershell 3 with SQL 2005-2012 | |
# Does not work in Powershell 1,2 does not work with SQL 2000 | |
# Requires SQLPS (install SSMS or google how to install standalone) | |
# Requires remote Dedicated Administrator Connection to be enabled | |
# if you are not conntecting to a local instance | |
# | |
# This code realies on global variables this is BAD (tm). | |
# Sorry about that. I'll try and improve it if I have time |
NewerOlder