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
sudo cp stratis.service /etc/systemd/system | |
sudo systemctl enable stratis.service | |
sudo systemctl start stratis.service |
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
if (applicationModule.android) { | |
applicationModule.on("launch", () => { | |
var fetcher = new NSNetworkFetcher(); | |
var config = com.facebook.imagepipeline.core.ImagePipelineConfig | |
.newBuilder(application.android.context) | |
.setNetworkFetcher(fetcher) | |
.build(); | |
com.facebook.drawee.backends.pipeline.Fresco.initialize(application.android.context, config); | |
}); | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
namespace Project | |
{ | |
/// <summary> | |
/// Generic value object equality class | |
/// Based on https://lostechies.com/jimmybogard/2007/06/25/generic-value-object-equality/ | |
/// Incldues fix for equality comparisons on subclasses |
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
using System; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace Project.Tests | |
{ | |
[TestClass] | |
public class ValueObjectTests | |
{ | |
private class Address : ValueObject<Address> | |
{ |