Import protobuf models into other and compile them
tsjd [To short, just do];
- Define go_package option something like:
option go_package = "github.com/meysampg/project_name/pb/folder_name_which_compiled_model_must_be_on_it";
// moved to https://github.com/vahid-ashrafian/go-promise-caching |
<?php | |
class Match | |
{ | |
protected $value; | |
protected $result; | |
protected $hasMatch; | |
public function __construct($value) | |
{ |
- name: DO | |
hosts: localhost | |
vars: | |
project_name: "PUT A NAME FOR YOUR PROJECT HERE" | |
do_token: "PUT YOUR DIGITAL OCEAN API KEY HERE ==> https://cloud.digitalocean.com/settings/api/tokens" | |
repository: "PUT YOUR REPOSITORY URL HERE" | |
tasks: | |
- name: LOCAL | Generate SSH key | |
shell: ssh-keygen -b 2048 -t rsa -f ~/.ssh/{{project_name}} -q -N "" |
'use strict'; | |
var redis = require('redis'); | |
var LaravelJob = require('./index'); | |
// Create laravel job instance | |
var job = new LaravelJob({}); | |
// Set handlers on the job | |
job.registerHandler("Jobinja\\Jobs\\ExampleJob", function(job, payload) { | |
console.log(payload); |
/* | |
Usage: go run main.go < /path/to/private-key.xml | |
Optionally takes base64 encoded input. | |
This is a very crude implementation. Any errors result in a panic. | |
*/ | |
package main | |
import ( |
Once upon a time…
I once took notes (almost sentence by sentence with not much editing) about the architectural design concepts - Command and Query Responsibility Segregation (CQRS) and Event Sourcing (ES) - from a presentation of Greg Young and published it as a gist (with the times when a given sentence was heard).
I then found other summaries of the talk and the gist has since been growing up. See the revisions to know the changes and where they came from (aka the sources).
It seems inevitable to throw Domain Driven Design (DDD) in to the mix.
To implement command processing we need the following pieces: