This file contains hidden or 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
{ | |
"name": "AWS", | |
"description": "This theme includes element styles with icons for AWS services, based upon the AWS Architecture Icons (https://aws.amazon.com/architecture/icons/).", | |
"elements": [ | |
{ | |
"tag": "MySQL", | |
"stroke": "#2e27ad", | |
"color": "#2e27ad", | |
"icon": "https://static.structurizr.com/themes/amazon-web-services-2023.01.31/Res_Amazon-Aurora-MySQL-Instance_48_Light.png" | |
}, |
This file contains hidden or 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
My Awesome Sketch | |
First State | |
some event -> Second State | |
Second State |
This file contains hidden or 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
// https://github.com/ramda/ramda/wiki/Cookbook#diffobjs---diffing-objects-similar-to-guavas-mapsdifference | |
const groupObjBy = R.curry(R.pipe( | |
// Call groupBy with the object as pairs, passing only the value to the key function | |
R.useWith(R.groupBy, [R.useWith(R.__, [R.last]), R.toPairs]), | |
R.map(R.fromPairs) | |
)) | |
const objectDiff = R.pipe( | |
R.useWith(R.mergeWith(R.merge), [R.map(R.objOf('leftValue')), R.map(R.objOf('rightValue'))]), | |
groupObjBy(R.cond([ |
This file contains hidden or 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 Autofac; | |
using NUnit.Framework; | |
using ShortBus.Autofac; | |
namespace ShortBus.Tests.Example | |
{ | |
[TestFixture] | |
public class AutofacExploratoryTests | |
{ |