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
$OctopusURL = "http://localhost:8065" | |
$OctopusAPIKey = "API-XXXXXXXXXXXXX" | |
$environmentID = $OctopusParameters['Octopus.Environment.Id'] #Id of the environment where you want to run the health check. During a deployment you can use the variable $OctopusParameters['Octopus.Environment.Id'] to get this value. | |
Write-host "Env $environmentID" | |
$header = @{ "X-Octopus-ApiKey" = $OctopusAPIKey } | |
$body = @" | |
{ |
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
#load "Bootstrap.fsx" | |
open Bootstrap | |
#load "Hello.fsx" |
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; | |
namespace ConsoleApplication3 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine(new Test().GetExtension()); | |
Console.ReadLine(); |
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
#Run as admin and make sure C:\temp exists and is accessible | |
(new-object System.Net.WebClient).DownloadFile('http://tinyurl.com/hhqarue', 'c:/temp/chrome.exe'); |
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 class CompleteRowsScanner | |
{ | |
private readonly HBaseClient _client; | |
private readonly ScannerInformation _scannerInformation; | |
private readonly string _restServerName; | |
private readonly CompleteRowFilter _filter; | |
public CompleteRowsScanner(HBaseClient client, ScannerInformation scannerInformation, string restServerName) | |
{ | |
_client = client; |
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 Akka.Actor; | |
namespace Actors | |
{ | |
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
function Get-Never | |
{ | |
return never; | |
} | |
Get-Never |
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.Data.SqlClient; | |
namespace SqlTests | |
{ | |
class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
for (int i = 0; i < 10; i++) |
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
First 5 tries. | |
2014-10-13 18:20:40.9418 Debug 25 Handling SendEmail command System.Collections.Generic.List`1[System.String] Account registration | |
2014-10-13 18:20:40.9418 Info 25 Failed to process message System.ApplicationException: Only domain.com domain can be used for emails in FullCI. 77dce7f52d6146db9952e9599b605079@77dce7f52d6146db9952e9599b605079.77dce7f52d6146db9952e9599b605079 does not belong to it. | |
at Namespace.Web.Infrastructure.Emails.EmailDispatcher.AssertRecipientsAreLimitedToKnownDomain(IEnumerable`1 recipients) in c:\BuildAgent\work\6433a48383cd8d3\Source\Namespace.Web\Infrastructure\Emails\EmailDispatcher.cs:line 71 | |
at Namespace.Web.Infrastructure.Emails.EmailDispatcher.Handle(SendEmail email) in c:\BuildAgent\work\6433a48383cd8d3\Source\Namespace.Web\Infrastructure\Emails\EmailDispatcher.cs:line 31 | |
at NServiceBus.Unicast.HandlerInvocationCache.Invoke(Object handler, Object message, Dictionary`2 dictionary) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Unicast\Handle |
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
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true"> | |
<targets> | |
<target name="Console" xsi:type="Console" | |
layout="${logger} ${level} ${message} ${exception:format=tostring}" | |
/> | |
</targets> | |
<rules> | |
<logger name="NamespaceToFilterOut.*" minlevel="Debug" final="true" /> |