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.Diagnostics; | |
namespace Benchmark | |
{ | |
/// <summary> | |
/// This code has been adapted from the question at http://stackoverflow.com/questions/1047218/benchmarking-small-code-samples-in-c-can-this-implementation-be-improved | |
/// </summary> | |
class Program | |
{ |
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.Web.UI.Adapters; | |
namespace SH.ControlAdapters | |
{ | |
/// <summary> | |
/// When used with ASP.NET tracing provides a way of tracking performance of WebControls. | |
/// </summary> | |
public class TracingControlAdapter : ControlAdapter | |
{ |
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
.ms-topnavselected { | |
color:#003399; | |
background:url("http://localhost/topnavselected_simple.gif"); | |
background-repeat:repeat-x; | |
border:solid 1px #bfbfbf; | |
border-bottom-width:0px; | |
border-left:solid 1px #fff; | |
background-color:#d1d1d1; | |
} |
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
.ms-globalTitleArea{ | |
background-image:url("siteTitleBKGD_vintage.jpg"); | |
} | |
.ms-globalTitleAreaSeparator{ | |
background-image:url("siteTitleBKGD_vintage.jpg"); | |
} |
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
.ms-PostFooter{ | |
color:#2d7f75; | |
1px solid #a9c6c3; //Missing property on line 3 | |
} |
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
logparser "SELECT * from <path to logs)\*.log WHERE cs-uri-stem LIKE '%/\_themes%'" |
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
<configuration> | |
<runtime> | |
<generatePublisherEvidence enabled="false"/> | |
</runtime> | |
</configuration> |
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
$appPoolName = $args[0] | |
$appPool = get-wmiobject -namespace "root\MicrosoftIISv2" -class "IIsApplicationPool" | Where-Object {$_.Name -eq "W3SVC/APPPOOLS/$appPoolName"} | |
$appPool.Recycle() |
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
/// <summary> | |
/// Use in "Updating" event handler to determine if an update is a publish event. | |
/// </summary> | |
public class ItemVersionReader | |
{ | |
public Version BeforeVersion { get; private set; } | |
public int PublishingLevel { get; private set; } | |
public int ModerationStatus { get; private set; } | |
public bool IsPublishing | |
{ |
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
source 'https://rubygems.org' | |
gem 'github-pages' | |
gem 'html-proofer' |
OlderNewer