Skip to content

Instantly share code, notes, and snippets.

View marcingrzejszczak's full-sized avatar
🌴
PTO till May 6th 2024

Marcin Grzejszczak marcingrzejszczak

🌴
PTO till May 6th 2024
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

# Ansible playbook to install Java 7 on Debian
#
# Thanks to http://www.sysadminslife.com/linux/howto-oracle-sun-java-7-installation-unter-debian-6-squeeze/
#
# Author: Gabriel Birke <gb@birke-software.de>
- hosts: devroot
vars:
java_download: http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-x64.tar.gz
java_name: jdk1.7.0_45
@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 / 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 February 13, 2018 12:17
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 / 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