Skip to content

Instantly share code, notes, and snippets.

View bluescreen's full-sized avatar

Markus Muschol bluescreen

View GitHub Profile
@bluescreen
bluescreen / gist:96f4bcf8ee4d28369ff3
Created February 12, 2015 12:47
Ionic Android Sign
#!/bin/bash
textReset=$(tput sgr0)
textRed=$(tput setaf 1)
textYellow=$(tput setaf 3)
textGreen=$(tput setaf 2)
message_info () {
echo "$textGreen[deploy]$textReset $1"
}
message_error () {
echo "$textRed[project]$textReset $1"
@bluescreen
bluescreen / BroadwayProjectionRebuilder.php
Created September 23, 2014 19:01
Broadway Projection Rebuild
<?php
/**
* Projection Rebuilder
* @author Markus Muschol <[email protected]>
*/
use Broadway\Domain\DateTime;
use Broadway\Domain\DomainEventStream;
use Broadway\Domain\DomainMessage;
use Broadway\Domain\Metadata;
use Broadway\EventHandling\EventBusInterface;