Skip to content

Instantly share code, notes, and snippets.


James Nail jrnail23

View GitHub Profile
jrnail23 / diff.js
Created Jul 6, 2017
objectDiff in Ramda
View diff.js
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]),
const objectDiff = R.pipe(
R.useWith(R.mergeWith(R.merge), ['leftValue')),'rightValue'))]),
jrnail23 / AutofacShortBusExploratoryTests
Last active Jan 1, 2016
Exploratory tests to demonstrate differences in ShortBus.Autofac before and after pull-request 17 (
View AutofacShortBusExploratoryTests
using System;
using Autofac;
using NUnit.Framework;
using ShortBus.Autofac;
namespace ShortBus.Tests.Example
public class AutofacExploratoryTests
You can’t perform that action at this time.