Skip to content

Instantly share code, notes, and snippets.

@miloszpp
miloszpp / app.component.ts
Created October 8, 2017 10:38
Szkolenie Angular: ćwiczenie 1
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
template: `
<h1 [style.textTransform]="textTransform" [style.color]="color">Zespół: {{name}}</h1>
<p>{{bio}}</p>
<a [href]="wikipediaUrl">Wikipedia</a><br />
<button (click)="changeTransform()">Wielkie/małe litery</button>
<button (click)="changeColor()">Zmień kolor</button>
@miloszpp
miloszpp / RunOpenCover.ps1
Created October 6, 2017 13:54
PowerShell script to generate coverage reports using OpenCover
Param(
[string]$sourcesDirectory, #the root of your project
[string]$testAssembly, #the file pattern describing test assemblies to look for
[string]$testFiltercriteria="", #test filter criteria (as in Run Visual Studio Tests task)
[string]$openCoverFilters="+[*]*" #OpenCover-specific filters
)
. $PSScriptRoot\vsts-task-lib\LongPathFunctions.ps1
. $PSScriptRoot\vsts-task-lib\TraceFunctions.ps1
. $PSScriptRoot\vsts-task-lib\LegacyFindFunctions.ps1