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
<section id="features"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-lg-12 text-center"> | |
<h2 class="section-heading">Features</h2> | |
<h3 class="section-subheading text-muted">SideWaffle has large collection of project and item tempaltes for you to choose from.</h3> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="col-md-4"> |
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
$files = Get-ChildItem D:\GitHub\side-waffle\TemplatePack\ItemTemplates *.vstemplate -Recurse | % { $_.FullName } | |
foreach($filePath in $files){ | |
[xml]$templateXml = Get-Content $filePath | |
$updatedFile = $false | |
'Processing [{0}]' -f $filePath | Write-Host | |
if($templateXml.VSTemplate.TemplateData.SortOrder){ | |
' Found SortOrder'|write-host |
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 Microsoft.Owin; | |
using Microsoft.Owin.FileSystems; | |
using Microsoft.Owin.StaticFiles; | |
using Owin; | |
namespace Infrastructure.Owin | |
{ | |
public static class SpaHostExtension |
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
$cSharpFiles = Get-ChildItem D:\GitHub\side-waffle\TemplatePack\ItemTemplates\Web CSharp.vstemplate -Recurse -Exclude D:\GitHub\side-waffle\side-waffle\TemplatePack\ItemTemplates\Web\ASP.NET | |
foreach($filePath in $cSharpFiles){ | |
$updatedFile = $false | |
'Processing [{0}]' -f $filePath | Write-Host | |
(Get-Content $filePath.PSPath) | | |
Foreach-Object {$_ -replace "ABC \| \(!ABC\)", "!VB"} | | |
Set-Content $filePath.PSPath | |
} |