Skip to content

Instantly share code, notes, and snippets.

View dili91's full-sized avatar
🌍

Andrea Di Lisio dili91

🌍
View GitHub Profile
@dili91
dili91 / ConcurrencyTests.cs
Last active January 12, 2024 15:10
A test for concurrency behaviour on EasyNetQ while consuming messages
using EasyNetQ;
using EasyNetQ.Consumer;
using EasyNetQ.Topology;
using Xunit.Abstractions;
namespace easynetq_concurrency_tests;
using System;
using System.Collections.Concurrent;
using System.Linq;
@dili91
dili91 / AccessToken.java
Last active August 31, 2022 11:10
Gist meant to test a payment mandate creation with truelayer-signing-java7 library
package com.truelayer.payments_jdk7.entities;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class AccessToken {
private final String accessToken;
private final int expiresIn;

Keybase proof

I hereby claim:

  • I am dili91 on github.
  • I am dili91 (https://keybase.io/dili91) on keybase.
  • I have a public key ASBSKvxN3Hl_20b4aQAX3pn2RWWGpjTVTVtjl-K-0-JQago

To claim this, I am signing this object: