Git Product home page Git Product logo

java-masterclass's Issues

Manage access to different k8s cluster

May this helps for minikube

Extract the Cluster Certificate Authorithy

$ kubectl config view --minify --raw --output 'jsonpath={..cluster.certificate-authority-data}' | base64 -d | openssl x509 -text -out -
...

Extract the Client Certificate

$kubectl config view --minify --raw --output 'jsonpath={..user.client-certificate-data}' | base64 -d | openssl x509 -text -out -
...

Extract the Client Private Key

$ kubectl config view --minify --raw --output 'jsonpath={..user.client-key-data}' | base64 -d
...

For Windows user

choco install base64
choco install openssl

How to handle several cluster?

Docker Exit Status (127)

There is an error in the logs of the container

bash: $'\342\200\231export': command not found

root@497ac6d8179b:/java-masterclass# exit

Update Readme

This README about this Java Masterclass Project gives you an overview of the project, instructions for setting up and using the project, and any other relevant information.

Overview

This project contains solutions to the coding challenges of Tim Buchalka's Java Masterclass on Udemy. This course is ideal for beginners and experienced programmers who want to learn or refresh their fundamental Java knowledge, which was recently updated to Java 17. It covers the following Java topics:

  • Expressions and statements
  • Control flow
  • Object-oriented programming with inheritance and polymorphism
  • Arrays
  • Lists, ArrayLists, LinkedLists, Iterators, Autoboxing
  • Inner and abstract classes, as well as interfaces
  • Java Generics
  • Packages, static and final keywords
  • Java Collections
  • JavaFX
  • Basic input and output, including java.util
  • Concurrency
  • Lambda expressions
  • Regular expressions
  • Debugging and unit testing
  • Databases
  • Network programming
  • Java 9 Module System

Installation

Feel free to support your own java journey with the solutions of this project. This project provides a dockerfile which contains a ready to use java environment. Just run the dockerfile and connect to the running container with VS Code.

Usage

The solutions are organized within packages and classes in the src folder of this project. The coding challenges are described within the classes itself or in markdown files named task.md within the packages.

Contributing

to contribute to the project, in order to report bugs or request additional solutions of coding challenges, feel free to open issues. if you would like to contribe with bug fixes or your own solution to challenges open a pull request and we will review your changes.

Set Up Maven with JDK 17

in order to run jdk 17 with maven you need compatible versions

add instructions based on this post from digitalocean to the dockerfile

Step 1: Download the Maven Binaries

wget https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz
tar -xvf apache-maven-3.8.6-bin.tar.gz
mv apache-maven-3.8.6 /opt/

Step 2: Setting M2_HOME and Path Variables

M2_HOME='/opt/apache-maven-3.8.6'
PATH="$M2_HOME/bin:$PATH"
export PATH

Step 3: Verify the Maven installation

mvn -version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.