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
<pages | |
validateRequest="false" | |
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" | |
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" | |
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> | |
</pages> |
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
Get-ChildItem cert:\LocalMachine -Recurse | where-object {$_.Thumbprint -eq "<THUMBPRINT>" } |
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
[user] | |
email = [email protected] | |
name = Mike Larned | |
[merge] | |
tool = kdiff3 | |
[core] | |
autocrlf = true | |
[alias] | |
st = status | |
ci = commit |
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
Get-Package -Updates | ForEach-Object{ $id = $_.Id; Get-Project -All | ForEach-Object{ Update-Package -Id $id -ProjectName $_.ProjectName } } |
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
function Set-Permissions { | |
param( | |
[string]$siteFolder, | |
[string]$userName | |
) | |
$folders = @("App_Data", "Themes", "Modules", "Media") | |
foreach($f in $folders) { | |
Write-Host "Setting Read/Write Access for $f" |
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
$gacUtil = "${Env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\gacutil.exe"; | |
function Add-GacItem([string]$path) { | |
#Full Path Name or Relative - ex: C:\Temp\Larned.dll | |
& $gacutil "/nologo" "/i" "$path" | |
} | |
function Remove-GacItem([string]$name) { | |
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
$btsPublisher = "${Env:ProgramFiles(x86)}\Microsoft BizTalk Server 2010\BtsWcfServicePublishing.exe"; | |
#Tool Download - http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21973 | |
function Create-BtsServices([string]$file) { | |
# File is an WcfServiceDescription xml document describing the services to be generated including: | |
# Location - IIS Site to publish services. SVC files are written to IIS Site's physical location found in Metabase. | |
# Services - WCFService node for each service to be created | |
# MessageType - WcfMessageType per Service node that points to a schema in the GAC (or FS) that will provide the contract for the service | |
& $btsPublisher "$serviceDescriptionFile" |
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
define(['jquery', 'underscore', 'backbone'], function ($, _, Backbone) { | |
var initialize = function () { | |
User = Backbone.Model.extend({ | |
initialize: function () { | |
alert("New User " + this.get("name")); | |
} | |
}); | |
var user1 = new User({ name: "Mike" }); |
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> | |
<title>@ViewBag.Title</title> | |
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" /> | |
<script src="../../Scripts/order.js" type="text/javascript"></script> | |
<script src="../../Scripts/libs/backbone.js" type="text/javascript"></script> | |
<script src="../../Scripts/libs/underscore.js" type="text/javascript"></script> | |
</head> |
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
task package { | |
$p = $dev_package -f $buildNumber, $date | |
exec { msbuild $web_proj "/T:Package" "/P:Configuration=$configuration;PackageLocation=$packages_dir\$p;DeployIisAppPath=$destination_site" } | |
} |
OlderNewer