Skip to content

Instantly share code, notes, and snippets.

View JapuDCret's full-sized avatar
👋

Marvin K. JapuDCret

👋
View GitHub Profile
@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 \
@xhanin
xhanin / MailhogContainer.kt
Created April 1, 2021 05:29
A simple Kotlin Mailhog Test Container - allow to use mailhog to test sending emails with a real smtp server
package mailhog
/*
dependencies:
testImplementation("org.testcontainers:testcontainers:1.15.2")
testImplementation(platform("org.http4k:http4k-bom:4.3.5.4"))
testImplementation("org.http4k:http4k-core")
testImplementation("org.http4k:http4k-client-apache") {
because("mailhog http api messages access")
@monkeym4ster
monkeym4ster / docker.sh
Created July 6, 2017 06:04
Docker: save/load container using tgz file (tar.gz)
#for not running docker, use save:
docker save <dockernameortag> | gzip > mycontainer.tgz
#for running or paused docker, use export:
docker export <dockernameortag> | gzip > mycontainer.tgz
#load
gunzip -c mycontainer.tgz | docker load
@martinvirtel
martinvirtel / README.md
Last active December 10, 2023 07:46
How to connect Ubuntu 16.04 with @DB_bahn's WifiOnIce

HOWTO: wifionice.de on Ubuntu 16.04

My Ubuntu 16.04 did not work with @DB_Bahn's Wifi network out of the box. Here's what I did:

Step 1 Connect to the WLAN wifionice.

Step 2. Fire up your browser and open http://www.wifionice.de - at this point, I got an "unable to connect" message.

Step 3.. Open up a terminal (Ctrl-Alt-T on Ubuntu) and find out the IP address of www.wifionice.de