Skip to content

Instantly share code, notes, and snippets.

View JapuDCret's full-sized avatar
👋

Marvin K. JapuDCret

👋
View GitHub Profile
@JapuDCret
JapuDCret / Dockerfile
Created June 22, 2023 12:54
Serve MkDocs generated docs with PlantUML Support
FROM python:3.11.4-alpine3.18 as build
WORKDIR /usr/src/app
COPY docs/requirements*.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY ./docs/plantuml-install.sh ./plantuml-install.sh
RUN ./plantuml-install.sh
COPY ./mkdocs.yml ./
COPY ./_docs/ ./_docs/
@JapuDCret
JapuDCret / Dockerfile
Last active March 23, 2023 12:58
Kubernetes forwards via dedicated docker container
FROM debian:stable-slim
RUN apt-get update && apt-get -y install --no-install-recommends \
gnupg \
curl \
wget \
git \
apt-transport-https \
ca-certificates \
zsh \
@JapuDCret
JapuDCret / MaterialDesignIcons - Dark Theme
Last active June 4, 2019 18:46
a Greasemonkey script to make the Cheatsheet at https://cdn.materialdesignicons.com/3.6.95/ more readable
// ==UserScript==
// @name MaterialDesignIcons - Dark Theme
// @include https://cdn.materialdesignicons.com/*
// @version 1
// @grant none
// @run-at document-start
// ==/UserScript==
function GM_addStyle (cssStr) {
var D = document;
import * as React from 'react';
type OuterProps<ParamType> =
{
params: ParamType;
doLongPress(params: ParamType): Promise<void>;
doSingleClick(params: ParamType): Promise<void>;
selected: boolean;
longPressTime: number;