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
| ### 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 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
| AppDomain.CurrentDomain.AssemblyResolve += (s, ea) => ea.Name.StartsWith("NHibernate,") ? Assembly.GetAssembly(typeof(NHibernate.ISession)) : null; |
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
| $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 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
| $packagesInUse = @() | |
| [xml] $nugetConfig = [xml](Get-Content nuget.config) | |
| [System.Xml.XmlElement] $nugetConfigRoot = $nugetConfig.get_DocumentElement() | |
| $repositoryPath = $nugetConfigRoot.SelectSingleNode("repositoryPath").InnerText | |
| Write-Host "repositoryPath:" $repositoryPath | |
| [xml] $repositories = [xml](Get-Content $repositoryPath\repositories.config) | |
| [System.Xml.XmlElement] $repositoriesRoot = $repositories.get_DocumentElement() |
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
| input { | |
| tcp { | |
| type => "eventlog" | |
| host => "10.1.1.2" | |
| port => 3515 | |
| format => 'json' | |
| } | |
| } | |
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
| public class StandardNoStopWordsAnalyser : StandardAnalyzer | |
| { | |
| public StandardNoStopWordsAnalyser() : base(Version.LUCENE_29, new HashSet<string>()) { } | |
| } |
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
| <?xml version="1.0"?> | |
| <configuration> | |
| <system.webServer> | |
| <rewrite> | |
| <rules> | |
| <rule name="Index Request" enabled="true" stopProcessing="true"> | |
| <match url="^$"/> | |
| <action type="Rewrite" url="App/app.html" logRewrittenUrl="true"/> | |
| </rule> | |
| </rules> |
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.ComponentModel.DataAnnotations; | |
| using System.Linq; | |
| using BrockAllen.MembershipReboot; | |
| namespace Acme.Users.MembershipReboot | |
| { | |
| public class AcmeUserAccountService<TAccount> : UserAccountService<TAccount> |
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.DirectoryServices.AccountManagement; | |
| using System.Linq; | |
| using System.Security.Claims; | |
| using System.Threading.Tasks; | |
| using Thinktecture.IdentityServer.Core; | |
| using Thinktecture.IdentityServer.Core.Models; | |
| using Thinktecture.IdentityServer.Core.Services; |
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
| Split-Path -parent $dte.Solution.FileName | cd | |
| New-Item -ItemType Directory -Force -Path ".\licenses" | |
| @( Get-Project -All | | |
| ? { $_.ProjectName } | | |
| % { Get-Package -ProjectName $_.ProjectName } ) | | |
| Sort -Unique | | |
| % { $pkg = $_ ; Try { (New-Object System.Net.WebClient).DownloadFile($pkg.LicenseUrl, (Join-Path (pwd) 'licenses\') + $pkg.Id + ".html") } Catch [system.exception] { Write-Host "Could not download license for $pkg" } } |