Skip to content

Instantly share code, notes, and snippets.

View MarkNijhof's full-sized avatar

Mark Nijhof MarkNijhof

View GitHub Profile
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();
### 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:
@MarkNijhof
MarkNijhof / does_not_work
Created November 24, 2014 21:54
erl_crash.dump
{ok, _Pid} = cberl:start_link(
cberl_default,
5,
config:couchbase_url(),
"",
"",
defmodule Drive.ApiRouter do
require Logger
require Path
use Plug.Router
import Plug.Conn
plug Plug.Logger
plug Plug.Head
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; }
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 { }
namespace Fohjin.DDD.Domain.Client
{
public class Client : BaseAggregateRoot<IDomainEvent>, IOrginator
{
private Address _address;
public Client()
{
registerEvents();
}
namespace Fohjin.Refactoring
{
public class ClassToBeRefactored
{
public void DoSomething()
{
DependencyA dependencyA = new DependencyA();
DependencyB dependencyB = new DependencyB();
}
}
namespace Fohjin.DDD.EventStore.Storage.Memento
{
public interface IOrginator
{
IMemento CreateMemento();
void SetMemento(IMemento memento);
}
}
void IEventProvider.LoadFromHistory(IEnumerable<IDomainEvent> domainEvents)
{
if (domainEvents.Count() == 0)
return;
foreach (var domainEvent in domainEvents)
{
apply(domainEvent.GetType(), domainEvent);
}