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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"copyOnSelect": true, | |
"initialCols": 220, | |
"initialRows": 55, | |
"profiles": [ | |
{ | |
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", |
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.Collections.Generic; | |
using System.Threading.Tasks; | |
using MongoDB.Bson; | |
using MongoDB.Driver; | |
namespace MongoDB4Concurrency | |
{ | |
class Program | |
{ |
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
queue: | |
name: Hosted Linux Preview | |
steps: | |
- task: DockerCompose@0 | |
displayName: 'Build and tag images' | |
inputs: | |
azureSubscription: '<<Azure Subscription Name>>' | |
azureContainerRegistry: '{"loginServer":"<<ACR Login server>>azurecr.io", "id" : "<<ACR id>>"}' |
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
version: '3' | |
services: | |
vstsdockerbuild.tests: | |
environment: | |
- BLOWUP | |
image: vstsdockerbuild.tests | |
build: | |
context: . | |
dockerfile: tests/VstsDockerBuild.Tests/Dockerfile |
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
# Description: Boxstarter Script | |
# Author: Christian Sparre (modified from Jess Frazelle's) | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: | |
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST> |
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
public class AzureQueueStorageSink : ILogEventSink | |
{ | |
CloudQueue _queue; | |
ITextFormatter _formatter; | |
public AzureQueueStorageSink(CloudQueue queue, ITextFormatter formatter) | |
{ | |
_queue = queue; | |
_formatter = formatter; | |
} |
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
[Fact] | |
public void should_terminate_but_does_not() | |
{ | |
var a = CreateTestProbe(); | |
Watch(a); | |
Sys.Stop(a); | |
ExpectTerminated(a); |
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.Web.Http; | |
using Microsoft.Owin.Hosting; | |
using Nancy; | |
using Owin; | |
namespace ConsoleApplication4 | |
{ | |
class Program | |
{ |
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
Param( | |
[string]$packageName, | |
[string]$source | |
) | |
UnInstall-Package $packageName -RemoveDependencies -Force -ErrorAction SilentlyContinue | |
Install-Package $packageName -IncludePreRelease -Source $source |
NewerOlder