I hereby claim:
- I am legigor on github.
- I am tamashchuk (https://keybase.io/tamashchuk) on keybase.
- I have a public key ASBEGhzYp90pFbNOIaAXltvXtRrTrb2eX-ZD-fbXyO5AqAo
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "github.com/gopxl/pixel" | |
| "github.com/gopxl/pixel/imdraw" | |
| "github.com/gopxl/pixel/pixelgl" | |
| "golang.org/x/image/colornames" | |
| "math" | |
| "math/rand" |
I hereby claim:
To claim this, I am signing this object:
| /* somewhere in your Core.CQRS */ | |
| // Base class for all ES-based aggregate command handling components; | |
| // | |
| // NOTE: "Component" is a logical grouping of message handlers by function | |
| // They provide good place to encapsulate chaining of cross-cutting concerns | |
| // into a pipeline, providing simplified helper methods for registration of message handlers | |
| // | |
| // Components are similar to Services, thus they only contain handlers of single type (ie Command Handlers only) | |
| // Components operate on envelope (infrastructure) level |
| { | |
| "cmd": ["cl", "${file}"], | |
| "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
| "working_dir": "${file_path}", | |
| "selector": "source.c, source.cpp, source.c++", | |
| // By default cl is not in your PATH, so add it to your path | |
| // or uncomment "path" and check that it has correct value | |
| //"path": "path:/to/folder/where/cl.exe/located", | |
| "shell": true, // Without this sublime has hard times to parse "&" in out command line |
| using System; | |
| using System.Text.RegularExpressions; | |
| namespace MyCommons | |
| { | |
| public static class GBPostcodeUtil | |
| { | |
| // Used regular expression from the article: http://www.qwghlm.co.uk/blog/?p=761 | |
| // Original pattern: | |
| public const string FORMATTED_MATCHPATTERN = "^[A-PR-UWYZ][A-HK-Y0-9][A-HJKSTUW0-9]?[ABEHMNPRVWXY0-9]? {1}[0-9][ABD-HJLN-UW-Z]{2}$"; |
| using System; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using RabbitMQ.Client; | |
| using RabbitMQ.Client.MessagePatterns; | |
| using Rabbits.Properties; | |
| namespace Rabbits | |
| { |