Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<!-- Last updated 15.05.2012 -->
<Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns">
<!-- Do not reorder COM interfaces -->
<Pattern>
<Match>
<And Weight="2000">
<Kind Is="interface"/>
<Or>
[PID:02572:022 2014.03.18 14:50:52.334 ERROR TcpConnectionManager] Closing connection 'external-normal' [176.252.62.32:61862, L100.86.124.59:2113, {48dedf46-28dc-4f51-bc2a-67ead3f9e3b0}] due to error. Reason: Invalid TCP frame received. Error: Package size is out of bounds: 542393671 (max: 67108864)..
[PID:02572:022 2014.03.18 14:50:52.334 INFO TcpConnection ] ES TcpConnection closed [14:50:52.334: N176.252.62.32:61862, L100.86.124.59:2113, {48dedf46-28dc-4f51-bc2a-67ead3f9e3b0}]:
Received bytes: 447, Sent bytes: 0
Send calls: 1, callbacks: 0
Receive calls: 2, callbacks: 1
Close reason: [Success] Invalid TCP frame received. Error: Package size is out of bounds: 542393671 (max: 67108864)..
[PID:02572:022 2014.03.18 14:50:52.334 INFO TcpConnectionManager] Connection 'external-normal' [176.252.62.32:61862, {48dedf46-28dc-4f51-bc2a-67ead3f9e3b0}] closed: Success.
[PID:02572:022 2014.03.18 14:50:52.334 INFO TcpService ] External TCP connection accepted: [Normal, 176.252.62.32:61863, L100.86.124.
Configuration Settings
++++++++++++++++++++++
Nodes Configured: 3
EventStore Path: F:\EventStoreService\eventstore\EventStore.ClusterNode.exe
Node Configurations:
--db node1-db --log node1-log --int-ip 100.86.124.59 --ext-ip 100.86.124.59 --int-tcp-port 1111 --ext-tcp-port 1113 --int-http-port 1112 --ext-http-port 1114 --nodes-count 3 --use-dns-discovery- --gossip-seed 100.86.124.59:2112 --gossip-seed 100.86.124.59:3112
--db node2-db --log node2-log --int-ip 100.86.124.59 --ext-ip 100.86.124.59 --int-tcp-port 2111 --ext-tcp-port 2113 --int-http-port 2112 --ext-http-port 2114 --nodes-count 3 --use-dns-discovery- --gossip-seed 100.86.124.59:1112 --gossip-seed 100.86.124.59:3112
-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP JS 0.0.1
Comment: https://keybase.io/crypto
wcBMA+svye9CVGmDAQgAtsAHCs5h359X5vYrHl8giMgskJqu7LiVtHM8X6JT5qtr
CoEbSXm+bB3n5eETtyg11BScCPNFjj8Dk1Viorag8QyQQ8rH0SH8en+iYmNuuEEd
QnCCNz1U9z5aWQIxbfGQB7MREs/x4bTukuFdIGO/mNVBT2KMKNCM7V+h1+tHmIy/
YaiCB9SyhQGwU7oc94Lkl4GRqyNv5Pxjz2Wyo+M06KuQiRv9tiiCNYWHt42bM/aW
5DRDJqEPkHCRwyt/CvTuaWfoBAxBBkpsCFCwX4GqkAZcm81CQxccStSn9PlWHexU
DQjqSK2mukneARdhOStVyHER50+3yBNBWILZRBTMvNKSAdElRi3+37YZF0Ozv+Qa
@grumpydev
grumpydev / simple-portrait-flash-setup.JPG
Last active August 29, 2015 14:00
Cheapy off camera flash shopping list
1. A flash, the Yongnuo 565EX is a decent option - supports ETTL on camera so can be used for "normal" flash. Also supports wireless ETTL, but only with a camera that has a built in master (600d, 60d etc), or a camera with an ST-E2 on top.
2. Light stand ( http://www.amazon.co.uk/Photography-Light-professional-studio-photolamps/dp/B0011363NS/ref=sr_1_1?s=electronics&ie=UTF8&qid=1398332783&sr=1-1&keywords=konig+light+stand )
3. Umbrella swivel ( http://www.amazon.co.uk/gp/product/B004YNF3DI/ref=wms_ohs_product?ie=UTF8&psc=1 )
4. Shoot through brolly ( http://www.amazon.co.uk/CowboyStudio-33-Translucent-Professional-Photography/dp/B004MM6YOI/ref=sr_1_2?s=electronics&ie=UTF8&qid=1398334796&sr=1-2&keywords=shoot+through+umbrella )
5. Wireless triggers ( http://www.ebay.co.uk/itm/Wireless-flash-trigger-Canon-1-x-H430-G430-Transmitter-1-Receiver-/161166230575?pt=UK_Photography_Slaves_Trigger_Systems&hash=item258641842f )
6. Batteries - I'd recommend Eneloop for the AAs for the flash ( http://www.amazon.co.uk/gp/pro
Version: 0.23.0
Main project does not update assembly info
D, [2014-06-24T08:25:02.815384 #29538] DEBUG -- : Executing xBuild: "xbuild" "src/Nancy.sln" /p:configuration="MonoRelease" /p:TargetFrameworkProfile="" /p:TargetFrameworkVersion="v4.0"
XBuild Engine Version 2.10.8.1
Mono, Version 2.10.8.1
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
Build started 6/24/2014 8:25:02 AM.
__________________________________________________
/vagrant/Nancy/src/Nancy.Demo.Authentication/Nancy.Demo.Authentication.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v10.0/WebApplications/Microsoft.WebApplication.targets, to import. Ignoring.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AzureQueue
{
using System.ServiceModel.Channels;
@grumpydev
grumpydev / ResponseExtensions.cs
Created March 24, 2015 09:45
Extension method for Nancy.Response to get the contents as a string
namespace Nancy.Extensions
{
using System.IO;
using System.Text;
public static class ResponseExtensions
{
public static string ToString(this Response response, Encoding encoding = null)
{
var actualEncoding = encoding ?? Encoding.UTF8;
public LoggerConfiguration BuildLogger(
LoggerConfiguration logConfiguration,
LogEventLevel logLevel,
string nodeName,
string roleName)
{
var path = this.SanitisePath(this.GetPath(logLevel, nodeName, roleName, this._configuration));
var configuration = logConfiguration.WriteTo.Seq(this._serverUrl, logLevel, bufferBaseFilename: path, period: TimeSpan.FromMinutes(1));
@grumpydev
grumpydev / gist:308ee779e04ecfabc606
Created May 13, 2015 17:10
Adding a new data disk to an azure VM
Get-AzureVM "serviceName" -Name "vmName" | Add-AzureDataDisk -CreateNew -DiskSizeInGB 128 -DiskLabel "Data" -LUN 0 -MediaLocation "https://mybloglocation.blob.core.windows.net/vhds/vmName-data.vhd" | Update-AzureVM