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
61 onEncoderChange : function(value) { | |
62 this.setState({selectedEncoder : value}); | |
63 console.log("Encoder") | |
64 this.decideIfAssignDefaultIpButtonsDisabled(); | |
65 }, | |
66 | |
67 onChannelChange : function(value) { | |
68 this.setState({selectedChannel : value}); | |
69 console.log("Channel") | |
70 this.decideIfAssignDefaultIpButtonsDisabled(); |
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
### Keybase proof | |
I hereby claim: | |
* I am MarkNijhof on github. | |
* I am marknijhof (https://keybase.io/marknijhof) on keybase. | |
* I have a public key whose fingerprint is 22D7 F695 E9B6 978C 2A2A 3C1C 0792 ED8F 32C5 0BDA | |
To claim this, I am signing this object: |
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
{ok, _Pid} = cberl:start_link( | |
cberl_default, | |
5, | |
config:couchbase_url(), | |
"", | |
"", |
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
defmodule Drive.ApiRouter do | |
require Logger | |
require Path | |
use Plug.Router | |
import Plug.Conn | |
plug Plug.Logger | |
plug Plug.Head |
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
namespace Fohjin.DDD.Commands | |
{ | |
[Serializable] | |
public class ClientIsMovingCommand : Command | |
{ | |
public string Street { get; private set; } | |
public string StreetNumber { get; private set; } | |
public string PostalCode { get; private set; } | |
public string City { get; private set; } |
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
namespace Fohjin.Core { } | |
namespace Fohjin.Core.Controllers { } | |
namespace Fohjin.Core.Persistence { } | |
namespace Fohjin.Core.Tests { } | |
namespace Fohjin.Core.Tests.Controllers { } | |
namespace Fohjin.Core.Tests.Persistence { } | |
namespace Fohjin.Core.Specification { } | |
namespace Fohjin.Core.Specification.Controllers { } |
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
namespace Fohjin.DDD.Domain.Client | |
{ | |
public class Client : BaseAggregateRoot<IDomainEvent>, IOrginator | |
{ | |
private Address _address; | |
public Client() | |
{ | |
registerEvents(); | |
} |
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
namespace Fohjin.Refactoring | |
{ | |
public class ClassToBeRefactored | |
{ | |
public void DoSomething() | |
{ | |
DependencyA dependencyA = new DependencyA(); | |
DependencyB dependencyB = new DependencyB(); | |
} | |
} |
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
namespace Fohjin.DDD.EventStore.Storage.Memento | |
{ | |
public interface IOrginator | |
{ | |
IMemento CreateMemento(); | |
void SetMemento(IMemento memento); | |
} | |
} |
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
void IEventProvider.LoadFromHistory(IEnumerable<IDomainEvent> domainEvents) | |
{ | |
if (domainEvents.Count() == 0) | |
return; | |
foreach (var domainEvent in domainEvents) | |
{ | |
apply(domainEvent.GetType(), domainEvent); | |
} |
OlderNewer