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
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- | |
I. Overall | |
I.1 Each pattern can have <Match>....</Match> element. For the given type declaration, the pattern with the match, evaluated to 'true' with the largest weight, will be used | |
I.2 Each pattern consists of the sequence of <Entry>...</Entry> elements. Type member declarations are distributed between entries | |
I.3 If pattern has RemoveAllRegions="true" attribute, then all regions will be cleared prior to reordering. Otherwise, only auto-generated regions will be cleared | |
I.4 The contents of each entry is sorted by given keys (First key is primary, next key is secondary, etc). Then the declarations are grouped and en-regioned by given property |
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
del VC_RED.MSI | |
del VC_RED.cab | |
del install.res.*.dll | |
del install.exe | |
del eula.*.txt | |
del vcredist.bmp | |
del install.ini | |
del globdata.ini |
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
@echo off | |
echo Comparing two files: %1 with %2 | |
if not exist %1 goto File1NotFound | |
if not exist %2 goto File2NotFound | |
fc %1 %2 | |
if %ERRORLEVEL%==0 GOTO NoCopy | |
echo Files are not the same. Copying %1 over %2 |
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
for /d /r . %%d in (bin,obj) do @if exist "%%d" rd /s/q "%%d" | |
REM Remove extra %s if you want to run command straight from the command line, i.e. | |
REM for /d /r . %d in (bin,obj) do @if exist "%d" rd /s/q "%d" |
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
public abstract class CommandBase : ICommand | |
{ | |
public abstract void Execute(); | |
public virtual bool CanExecute() | |
{ | |
return true; | |
} |
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
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | |
<Style | |
x:Key="ButtonFocusVisual"> | |
<Setter | |
Property="Control.Template"> | |
<Setter.Value> | |
<ControlTemplate> | |
<Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2" /> | |
</ControlTemplate> |
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
####################################################### | |
## | |
## Wake.ps1, v1.0, 2013 | |
## | |
## Adapted by Ammaar Limbada | |
## Original Author: Matthijs ten Seldam, Microsoft (see: http://blogs.technet.com/matthts) | |
## | |
####################################################### | |
<# |
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
$projects =Get-Project -All | Select @{ Name=”ProjectName”;Expression={$_.ProjectName}}, @{Name=”Has”;Expression={Get-Package $PackageName -Project $_.Name}} | where { $_.Has -and $_.Has.ToString() -eq '$PackageName $CurrentPackageVersion' } | |
$projects | select { Uninstall-Package $PackageName -ProjectName $_.ProjectName -Force } | |
$projects | select { Install-Package $PackageName -Version $PackageVersionToDowngradeTo -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
git clean -xdf -e *.suo -e *.user -e */packages/* |
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
dism /online /Get-Features /Format:Table | Select-String Enabled | % {($_ -split '\|', 2)[0].Trim()} | % { "choco install $_ -source windowsfeatures" } |
OlderNewer