Skip to content

Instantly share code, notes, and snippets.

View marcingrzejszczak's full-sized avatar
🔥

Marcin Grzejszczak marcingrzejszczak

🔥
View GitHub Profile
@marcingrzejszczak
marcingrzejszczak / openpgp.md
Last active November 4, 2022 21:13
openpgp.md

$argon2id$v=19$m=16,t=2,p=1$UElOT0ZIU09mSHlReE1lcg$2nJmgFL0s3DHPksuSE2enw

@marcingrzejszczak
marcingrzejszczak / fraud_dashboard.json
Last active January 13, 2020 21:05
Fraud Dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@marcingrzejszczak
marcingrzejszczak / README.adoc
Created July 8, 2019 07:50
How to replicate Gradle not loading extension modules

The problem

spring-cloud-contract-spec-groovy contains extension modules to the spring-cloud-contract-spec-java classes. The spring-cloud-contract-spec module includes both the groovy and the java modules together.

The whole project is being built and tested successfully apart from the integration with Gradle.

How to replicate

Clone the project, checkout the branch and build the whole thing without running tests:

@marcingrzejszczak
marcingrzejszczak / cloudpipelines.adoc
Last active November 13, 2018 21:30
cloudpipelines.adoc

Title:

Spring Cloud Pipelines to Cloud Pipelines Migration

Text:

Spring Cloud Pipelines

Spring Cloud Pipelines is a GitHub project that tries to solve the following problems:

@marcingrzejszczak
marcingrzejszczak / IDEA_PACKAGE_SCOPE.md
Created March 23, 2018 10:33
Idea Package Scope UI
@marcingrzejszczak
marcingrzejszczak / sc-contract-polyglot.adoc
Last active April 26, 2024 08:30
Spring Cloud Contract Polyglot Support

Spring Cloud Contract Polyglot Support

Table of contents

  • What is Contract Testing

    • different types of tests - all about fast feedback

    • end to end testing as a potential solution to integration testing

    • brittlness and slowness as a source of frustration

    • contract testing as a potential solution to the problem

  • Introduction to the maven nomenclature

@marcingrzejszczak
marcingrzejszczak / sleuth_brave.md
Last active April 21, 2021 11:48
Notes on Sleuth to Brave migration

Notes

TODO:

  • Messaging
  • Baggage

Discuss what do we do with the TraceKeys in callables / runnables

Done:

@marcingrzejszczak
marcingrzejszczak / replacement.sh
Created July 10, 2017 15:05
Bash mustache replacement
#!/bin/bash
echo "the number is {{i}} and the dog's name is {{name}}" > file.txt
cat file.txt
# the number is {{i}} and the dog's name is {{name}}
sed -i 's/{{i}}/5/;s/{{name}}/foo/' file.txt
cat file.txt
# the number is 5 and the dog's name is foo
@marcingrzejszczak
marcingrzejszczak / dashboard.json
Last active April 21, 2017 10:23
Grafana & Prometheus - Spring Cloud Pipelines demo
{
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": 2,
"links": [],