This file contains hidden or 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
// Creates shortcuts of your whole installed steam library in a folder on your desktop | |
// Note 1: icons for some games do not get set correctly, but than they do not get set correctly by steam itself either | |
// Note 2: code heavily depends on the steam internal file formats so this can stop working without notice any time | |
// Note 3: this code does not have any command line arguments, it tries to detect path to your steam folder | |
// if it can't feel free to modify it to hardcode the path. Similarly, you can change where the shortcuts | |
// are written to in the code. Sorry, not a user-friendly tool at all - you are assumed to be a developer | |
// Some links useful for fixing this, when format changes: | |
// https://github.com/solsticegamestudios/vdf | |
// https://github.com/Matoking/protontricks/blob/master/src/protontricks/steam.py | |
using System; |
This file contains hidden or 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 hidden or 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