Skip to content

Instantly share code, notes, and snippets.

@pbadenski
pbadenski / README.md
Last active February 21, 2023 10:52
Oauth2 authentication for zipkin web UI using oauth2_proxy
@pbadenski
pbadenski / connect.ts
Created August 23, 2019 09:06
refract-react-redux connect
import React, { Context } from "react";
import {
InferableComponentEnhancerWithProps,
MapDispatchToPropsFunction,
MapStateToProps
} from "react-redux";
import { Aperture, toProps, withEffects } from "refract-rxjs";
import { combineLatest, concat, Observable, of } from "rxjs";
import { auditTime, first, map, startWith } from "rxjs/operators";
import { auditMap, connect as connect_ } from "rxjs-redux";
@pbadenski
pbadenski / Dockerfile
Last active June 28, 2024 15:58
Node 18.X layer for AWS lambda
FROM public.ecr.aws/amazonlinux/amazonlinux:2
RUN yum groupinstall -y development
RUN yum install -y tar xz python3
RUN yum install -y which clang cmake
RUN mkdir -p /build /opt
WORKDIR /build
RUN curl -fsL https://ftp.gnu.org/gnu/make/make-4.3.tar.gz | tar xzf -