This is the sequence of steps to follow to create a root gh-pages
branch. It is based on a question at [SO]
cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html
public class MefControllerFactory : IControllerFactory | |
{ | |
private readonly WebScopedContainerManager _containerManager; | |
public MefControllerFactory(WebScopedContainerManager containerManager) | |
{ | |
_containerManager = containerManager; | |
} | |
#region IControllerFactory Members |
using System; | |
using System.Collections.Specialized; | |
using System.ComponentModel; | |
namespace ThomasJaworski.ComponentModel | |
{ | |
public abstract class ChangeListener : INotifyPropertyChanged, IDisposable | |
{ | |
#region *** Members *** | |
protected string _propertyName; |
<?xml version="1.0" encoding="utf-8" ?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- 20110225 : João Angelo : Compatibility fix for Visual Studio SP1 Beta --> | |
<!-- 20110224 : Ryan Milligan : Created OverrideAppConfigWithTargetPath target to fix ClickOnce deploy bug --> | |
<!-- 20100827 : João Angelo : Fixed bug when using Publish command within Visual Studio --> | |
<PropertyGroup> | |
<!-- Prevent circular dependency on Build target --> | |
<PipelineDependsOnBuild>false</PipelineDependsOnBuild> | |
<!-- Override project config file name (By default is set to Web.config) --> | |
<ProjectConfigFileName>App.Config</ProjectConfigFileName> |
// ==UserScript== | |
// @name Use Markdown, sometimes, in your HTML. | |
// @author Paul Irish <http://paulirish.com/> | |
// @link http://git.io/data-markdown | |
// @match * | |
// ==/UserScript== | |
// If you're not using this as a userscript just delete from this line up. It's cool, homey. |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using System.Reflection.Emit; | |
using ObjectDumper; | |
using Xunit; | |
namespace Classdynamic.BK5 |
private static DrawingVisual CreateVisual() | |
{ | |
var noBorderPen = new Pen(new SolidColorBrush(Colors.Transparent), 0); | |
var selectionPen = new Pen(new SolidColorBrush(Colors.Yellow), 20 * 2); | |
var drawingVisual = new DrawingVisual(); | |
using (var dc = drawingVisual.RenderOpen()) | |
{ | |
StreamGeometry geometry = new StreamGeometry(); |
function Show-JobProgress { | |
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory,ValueFromPipeline)] | |
[ValidateNotNullOrEmpty()] | |
[System.Management.Automation.Job[]] | |
$Job | |
, | |
[Parameter()] | |
[ValidateNotNullOrEmpty()] |
# | |
# push_replace.ps1 | |
# | |
# This script is designed to produce customized release and debug nupkgs from a Visual Studio C# project. This is especially useful | |
# for nupkgs that include native DLLs that are different depending upon debug or release mode. | |
# | |
# How to use: | |
# In your .nuspec file in the <files> section, add the following line: | |
# <file src="$filelist$" target="lib\native" /> | |
# That line is set to go to lib\native because this script was made for handling native DLLs, but that target can be anything. |