This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>D3.xml Example</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<style type="text/css"> | |
.chart div { | |
font: 10px sans-serif; | |
background-color: steelblue; | |
text-align: right; |
This file contains hidden or 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
module Fake.NDepend | |
open Fake | |
open System | |
open System.IO | |
open System.Text | |
let getWorkingDir workingDir = | |
Seq.find isNotNullOrEmpty [workingDir; environVar("teamcity.build.workingDir"); "."] | |
|> Path.GetFullPath |
This file contains hidden or 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.Windows; | |
using Microsoft.Practices.Prism.Modularity; | |
namespace CodeProgression.Common.Prism | |
{ | |
public class Bootstrapper : StructureMapBootstrapper | |
{ | |
protected override void ConfigureContainer() | |
{ |
This file contains hidden or 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 vs([string]$solution) { | |
$env:TEMP = "R:\VsTemp"; | |
$env:TMP = "R:\VsTemp"; | |
& "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" $solution | |
# startProcessHigh "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" . $solution | |
} |
This file contains hidden or 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("ReSharper-Code-Inspection") | |
.IsDependentOn("Run-Unit-Tests") | |
.Does(() => | |
{ | |
var result = new FilePath(buildArtifacts + "/_ReSharperReports/inspectcode-report.xml"); | |
InspectCode("InspecCode.sln", | |
new InspectCodeSettings() { | |
SolutionWideAnalysis = true, | |
Profile = "InspectCode.DotSettings", |
This file contains hidden or 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("Run-Unit-Tests") | |
.IsDependentOn("Build") | |
.Does(() => | |
{ | |
DotCoverCover(tool => { | |
tool.NUnit3(testDlls, new NUnit3Settings { | |
NoResults = true, | |
TeamCity = isOnTeamCity | |
}); | |
}, |
This file contains hidden or 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
////////////////////////////////////////////////////////////////////// | |
// ARGUMENTS | |
////////////////////////////////////////////////////////////////////// | |
var target = Argument("target", "Default"); | |
var configuration = Argument("configuration", "Release"); | |
////////////////////////////////////////////////////////////////////// | |
// PREPARATION | |
////////////////////////////////////////////////////////////////////// |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
This is a Powershell script to upload a file to DropBox using their REST API. | |
.DESCRIPTION | |
This Powershell script will upload file to DropBox using their REST API with the parameters you provide. | |
.PARAMETER SourceFilePath | |
The path of the file to upload. |
This file contains hidden or 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
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
cinst 7zip | |
cinst 7zip.install | |
cinst autohotkey.portable | |
cinst win32diskimager.portable | |
cinst testdisk-photorec | |
cinst crystaldiskmark |
This file contains hidden or 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
FROM microsoft/dotnet | |
# Set environment variables | |
ENV ASPNETCORE_URLS="http://*:5000" | |
ENV ASPNETCORE_ENVIRONMENT="Development" | |
# Copy files to app directory | |
COPY . /app | |
# Set working directory |