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
void Main() | |
{ | |
var client = new TcpClient("192.168.1.6", 4028); | |
using (var stream = client.GetStream()) | |
{ | |
using (var reader = new StreamReader(stream)) | |
{ | |
var data = System.Text.Encoding.ASCII.GetBytes("{\"command\":\"summary\",\"parameter\":\"\"}"); | |
stream.Write(data, 0, data.Length); |
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.Diagnostics; | |
using System.ServiceModel; | |
using System.ServiceModel.Description; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Castle.Facilities.WcfIntegration; | |
using Castle.MicroKernel.Registration; | |
using Castle.Windsor; |
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.Security.Cryptography; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var r = RollDice(250); |
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; | |
using System.Collections.Generic; | |
using System.Runtime.CompilerServices; | |
using System.Threading; | |
namespace System.Threading.Tasks | |
{ | |
internal static class TaskHelpers | |
{ |
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.Timers; | |
using Castle.MicroKernel.Registration; | |
using Castle.Windsor; | |
using Topshelf; | |
namespace TopshelfBootstrapper | |
{ | |
internal class Program | |
{ |
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.Threading; | |
using System.Threading.Tasks; | |
using EasyNetQ; | |
namespace ConsoleApplication5 | |
{ | |
class Program | |
{ | |
static void Main(string[] 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
Octopus.Acquire.MaxParallelism | |
Octopus.Action[Deploy Cardio API - Host].Azure.CertificateBytes | |
Octopus.Action[Deploy Cardio API - Host].Azure.CertificateThumbprint | |
Octopus.Action[Deploy Cardio API - Host].Azure.CloudServiceName | |
Octopus.Action[Deploy Cardio API - Host].Azure.Endpoint | |
Octopus.Action[Deploy Cardio API - Host].Azure.Slot | |
Octopus.Action[Deploy Cardio API - Host].Azure.StorageAccountName | |
Octopus.Action[Deploy Cardio API - Host].Azure.SubscriptionId | |
Octopus.Action[Deploy Cardio API - Host].Azure.SwapIfPossible | |
Octopus.Action[Deploy Cardio API - Host].Azure.UploadedPackageUri |
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
# --- settings --- | |
$feedUrlBase = "https://www.nuget.org/api/v2/" | |
# the rest will be params when converting to funclet | |
$latest = $true | |
$overwrite = $false | |
$top = 5000 #use $top = $null to grab all | |
$destinationDirectory = join-path ([Environment]::GetFolderPath("MyDocuments")) "NuGetLocal" | |
# --- locals --- | |
$webClient = New-Object System.Net.WebClient |
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.Threading; | |
using System.Threading.Tasks; | |
using EasyNetQ; | |
namespace EasynetQ.SubRpc.Deadlock | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] 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
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Linq; | |
using EasyNetQ; | |
using EasyNetQ.ConnectionString; | |
using EasyNetQ.Consumer; | |
using EasyNetQ.Interception; | |
using EasyNetQ.Loggers; | |
using EasyNetQ.Producer; |
OlderNewer