- Asus P8 H77-M PRO Motherboard
- Intel Core i7-3770 CPU
- Patriot DDR3 1600 4x8GB RAM
- Gigabyte GeForce GTX 680 OC 2GB (GV-N680OC-2GD)
- Asus VG278H 27" 3D 1080p LED Monitor
- 2 x 128GB Crucial M4 SSD (in RAID-0)
- Hitachi DeskStar 7K4000 4TB drive
- 2 x LG Super Multi Blue BD-RW/DVD-RW
- CoolerMaster HAF 932 Advanced Case
- [Antec
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
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll"> | |
<ParameterGroup> | |
<OutputFilename ParameterType="System.String" Required="true" /> | |
</ParameterGroup> | |
<Task> | |
<Reference Include="System.Core" /> | |
<Reference Include="System.Xml" /> | |
<Reference Include="WindowsBase" /> | |
<Using Namespace="System" /> | |
<Using Namespace="System.IO" /> |
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
& taskkill /f /im msbuild.exe | |
if ((get-gitstatus) -ne $null) { | |
& git clean -xdf -e *.suo -e packages/* | |
} else { | |
& tfpt scorch . /recursive /deletes /diff /noprompt /exclude:"*.suo,.\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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics.Contracts; | |
using System.Web.Http.Dependencies; | |
using Ninject; | |
using Ninject.Syntax; | |
public class NinjectDependencyScope : IDependencyScope | |
{ | |
private IResolutionRoot resolver; |
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"?> | |
<settings> | |
<console change_refresh="10" refresh="100" rows="35" columns="160" buffer_rows="9999" buffer_columns="0" shell="" init_dir="" start_hidden="1" save_size="0"> | |
<colors> | |
<color id="0" r="48" g="48" b="48"/> | |
<color id="1" r="0" g="0" b="128"/> | |
<color id="2" r="0" g="150" b="0"/> | |
<color id="3" r="0" g="150" b="150"/> | |
<color id="4" r="174" g="87" b="0"/> | |
<color id="5" r="128" g="0" b="128"/> |
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
<Types> | |
<Type> | |
<Name>System.String</Name> | |
<Members> | |
<ScriptProperty> | |
<Name>ToBase64</Name> | |
<GetScriptBlock> | |
[System.Convert]::ToBase64String([System.Text.Encoding]::Unicode.GetBytes($this)) | |
</GetScriptBlock> | |
</ScriptProperty> |
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
[alias] | |
co = checkout | |
st = status | |
br = branch | |
re = rebase | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
cat = cat-file -t | |
type = cat-file -t | |
dump = cat-file -p | |
[color "branch"] |
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.Net; | |
using System.Net.Http; | |
using System.Web.Http.Controllers; | |
using System.Web.Http.Filters; | |
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)] | |
public class InvalidModelStateFilterAttribute : ActionFilterAttribute | |
{ | |
public override void OnActionExecuting(HttpActionContext actionContext) |
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 reset --hard head | |
git clean -xdf -e *.suo -e packages/* | |
git checkout $args |
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 override Task WriteToStreamAsync(Type type, object value, | |
Stream stream, | |
HttpContent content, | |
TransportContext transportContext) | |
{ | |
if (string.IsNullOrEmpty(JsonpCallbackFunction)) | |
return base.WriteToStreamAsync(type, value, stream, content, transportContext); | |
StreamWriter writer = null; |
OlderNewer