Skip to content

Instantly share code, notes, and snippets.

View koehlertimo's full-sized avatar

Timo Köhler koehlertimo

  • CARIAD
  • Emden, Germany
  • 13:39 (UTC +01:00)
View GitHub Profile
@koehlertimo
koehlertimo / Dockerfile
Created August 20, 2024 20:17
docker file java
FROM maven:3-amazoncorretto-17 AS build
WORKDIR /backend
COPY pom.xml pom.xml
RUN ["mvn","verify", "--fail-never"]
COPY ./src ./src
RUN ["mvn", "package", "-DskipTests"]
FROM amazoncorretto:17-alpine AS prod
ARG JAR_FILE=*.jar
COPY --from=build /backend/target/${JAR_FILE} app.jar
@koehlertimo
koehlertimo / Main.java
Created February 7, 2023 10:28
Woche 2 Final
public class Main {
/**
* Die Methode ist die Main Methode, die den Ablauf des Programmes steuert!
*/
/*
TODO: Funktion das man bei der Kundennummer eingabe die möglichkeit hat sich zu registrieren
@koehlertimo
koehlertimo / Main.java
Created February 2, 2023 12:02
Woche 2
public class Main {
/**
* Die Methode ist die Main Methode, die den Ablauf des Programmes steuert!
*/
//Array mit Kundennummern x
// Prüfen beim Login ob eingabe im array ist x
Hello and welcome to our video on the history of money!
Before we dive into the topic, let's define what money is. Money is a medium of exchange – a way for people to trade goods and services without having to barter.
Now let's take a look at the history of money.
The earliest form of money was likely to be bartering, or trading goods and services directly with one another. This is still practiced today in some parts of the world, but it can be inconvenient as it requires finding someone who has something you want and wants something you have.
As civilizations developed, people began using standardized forms of currency, such as shells or beads, to facilitate trade. These early forms of currency were called "commodity money" because they had value in and of themselves, rather than being backed by a government.
@koehlertimo
koehlertimo / index.html
Last active May 25, 2019 19:35 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #006eff; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
@koehlertimo
koehlertimo / spsbo.py
Created November 27, 2017 19:43
Advanced Python German Rock Paper Scissors
import time
import random
#EINLEITUNG
print("********A**GAME**********"); time.sleep(0.5)
print("***********BY************"); time.sleep(0.5)
print("*******TIMO KÖHLER*******"); time.sleep(0.5)
print("*************************"); time.sleep(0.5)