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
$head = "<style> | |
body { | |
color: #151515; | |
font-family: helvetica neue,arial,sans-serif; | |
font-size: 82%; | |
line-height: 1.5em; | |
text-rendering: optimizelegibility; | |
} | |
th { | |
text-align: left; |
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
AppDomain.CurrentDomain.AssemblyResolve += (s, ea) => ea.Name.StartsWith("NHibernate,") ? Assembly.GetAssembly(typeof(NHibernate.ISession)) : null; |
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
### Set global-ignores to a set of whitespace-delimited globs | |
### which Subversion will ignore in its 'status' output, and | |
### while importing or adding files and directories. | |
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.dat bin Bin obj Obj *.user *.suo *.sln.cache *.xap licences.licx licenses.licx _ReSharper.* *.resharper* *.g.cs ~$* StyleCop.Cache *.DotSettings |
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'" |
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
# 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; | |
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) |
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
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
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 |