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 Common.Logging; | |
using Common.Logging.Configuration; | |
using NLog; | |
using NLog.Targets; | |
using CommonLogging = Common.Logging; | |
namespace Hydra.Common.Infrastructure.Crosscutting.Logging.NLog | |
{ |
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 Microsoft.Synchronization; | |
using Microsoft.Synchronization.MetadataStorage; | |
using Microsoft.Synchronization.SimpleProviders; | |
namespace RemoteStorage | |
{ | |
/// <summary> | |
/// Abstract class containing common functionality used by all FullEnumerationSimpleSyncProviders |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\Help] |
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
// See: http://social.msdn.microsoft.com/Forums/en-US/adonetefx/thread/4aa54da1-3099-48ef-9402-ca94cbca19eb/ | |
builder.DiscoverEntitiesFromContext(typeof(MyContext)); | |
DbModel model = builder.CreateModel(); | |
XmlWriter writer = new XmlTextWriter(Path + "MyContext.edmx", Encoding.UTF8); | |
model.WriteEdmx(conn, writer); | |
writer.Close(); |
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.IO; | |
using System.IO.Compression; | |
using System.Text; | |
using System.Web; | |
using System.Web.Security; | |
public static class MachineKeyBasedEncryptor | |
{ | |
public static string Encrypt(string value) |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
amcik | |
arse | |
arsehole | |
arserape | |
arsewipe | |
ass | |
asses | |
asshole | |
assholes | |
assramer |
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
# Usage: cd \; . c:\SubversionTests.ps1; BranchingTest1 | |
function Create-LocalRepository | |
{ | |
param | |
( | |
[string]$basePath, | |
[string]$repositoryName | |
) |
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.Management.Automation; | |
[Cmdlet(VerbsCommon.Get, "HelloWorld")] | |
public class GetHelloWorld : Cmdlet | |
{ | |
protected override void ProcessRecord() | |
{ | |
base.ProcessRecord(); | |
WriteObject("HelloWorld"); | |
} |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\Shell\Run with PowerShell] | |
[HKEY_CLASSES_ROOT\*\Shell\Run with PowerShell\command] | |
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit &'%1'" |
OlderNewer