Skip to content

Instantly share code, notes, and snippets.

View stephane-segning's full-sized avatar
🏠
Working from home

Stephane SEGNING LAMBOU stephane-segning

🏠
Working from home
View GitHub Profile
services:
clamav:
image: clamav/clamav:latest
ports:
- '3310:3310'
- '7357:7357'
rabbitmq:
image: rabbitmq:4-management
ports:
@stephane-segning
stephane-segning / check_if_contained.py
Last active December 3, 2023 18:45
Check if a is contained in b
from typing import TypeVar, List, Callable
Ta = TypeVar('Ta')
Tb = TypeVar('Tb')
def check_if_contained(
a: List[Ta],
b: List[Tb],
compare: Callable[[Ta, Tb], bool] = lambda x, y: x == y,
@stephane-segning
stephane-segning / keycloak_aws_deployment.md
Created May 6, 2019 11:11 — forked from pgchamberlin/keycloak_aws_deployment.md
Deploying Keycloak to AWS using a Ubuntu AMI

Deploying Keycloak to AWS

The objective of this guide is to deploy Keycloak to AWS in a minimally complex way for testing and discovery purposes. This means using the standalone build of Keycloak backed with Hibernate H2. The result is not a production ready system. It won't scale, it won't survive significant load, it can't be clustered.

Mostly this Gist is a distillation of the Keycloak Server Installation guide for a specific use case: to spin up a quick and dirty Keycloak instance for testing and experimenting.

Steps

  • Spin up and configure a Ubuntu AMI
  • Install and configure Keycloak with an SSL cert