Pages
- Aws page
- cours n° 1 : Comprendre et développer le modèle, la vue et le présenteur d’une application GWT MVP Activity And Place
- Create a trading application in Java
- Developing a Contact Management Application with Angular 1.5X and Java
- Docker posts
- Flask pages
- Github Actions
- Gitlab
- Java development
- Javascript Tips
- Kubernetes
- Liste des Cours et Astuces GWT
- python page
- Spring Boot and Security
- Welcome
Catégories
-
Articles récents
Commentaires récents
- tanmay dans Defining a custom Collector in Java 8
- davidhxxx dans Defining a custom Collector in Java 8
- Tai dans Defining a custom Collector in Java 8
- mahieddine dellabani dans CORS with Spring Boot
- davidhxxx dans CORS with Spring Boot
Archives
- avril 2024
- novembre 2023
- août 2023
- juillet 2023
- mai 2023
- avril 2023
- mars 2023
- février 2023
- décembre 2022
- novembre 2022
- octobre 2022
- septembre 2022
- juillet 2022
- juin 2022
- mai 2022
- avril 2022
- mars 2022
- décembre 2021
- juillet 2021
- mars 2021
- février 2021
- janvier 2021
- novembre 2020
- août 2020
- juillet 2020
- juin 2020
- mai 2020
- avril 2020
- mars 2020
- février 2020
- janvier 2020
- décembre 2019
- novembre 2019
- octobre 2019
- septembre 2019
- août 2019
- juin 2019
- mai 2019
- avril 2019
- mars 2019
- décembre 2018
- novembre 2018
- octobre 2018
- juillet 2018
- juin 2018
- février 2018
- décembre 2017
- juillet 2017
- juin 2017
- mai 2017
- avril 2017
- février 2017
- janvier 2017
- décembre 2016
- octobre 2016
- septembre 2016
- août 2016
- juillet 2016
- juin 2016
- mai 2016
- décembre 2015
- novembre 2015
Archives de l’auteur : davidhxxx
Helm install and basic commands
Install and basic configuration of helm – install helm: curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash – install chartmuseum: curl https://raw.githubusercontent.com/helm/chartmuseum/main/scripts/get-chartmuseum | bash – run chartmuseum: chartmuseum –debug –port=8081 \ –storage="local" \ –storage-local-rootdir="./chartstorage" & – installing charts into kubernetes: Add the URL to … Continuer la lecture
Publié dans Non classé
Laisser un commentaire
Host its own PyPi server
How host its own PyPi server? There are multiple ways to host its own Python packages. The most used and documented are: – devpi-server (Python lib) – pypiserver (Python lib) – artifactory professional version (Repository manager handing many things) devpi-server … Continuer la lecture
Publié dans Non classé
Laisser un commentaire
Plain Marshmallow
Map a dictionary to a custom object, or a list of dictionaries to a list of custom objects and reversely Here we refer to a dictionary but we can expand the idea to a JSON also because the JSON load … Continuer la lecture
Publié dans Non classé
Laisser un commentaire
Protégé : c
Il n’y pas d’extrait, car cet article est protégé.
Publié dans Non classé
Saisissez votre mot de passe pour accéder aux commentaires.
Spring Boot Rest
Examples of code Rest Controller to shutdown a spring boot application Controller import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.context.ApplicationContext; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.RestController; @RestController public class AdminController { private … Continuer la lecture
Publié dans Non classé
Laisser un commentaire
WSL2 tricks
Enable systemd and prevent any modification on the /etc/resolv.conf to prevent any internet problem access: 2 steps: – Edit /etc/wsl.conf with: [boot] systemd=true [network] generateResolvConf = false – hardcode the content of /etc/resolv.conf: sudo rm /etc/resolv.conf sudo bash -c ‘echo … Continuer la lecture
Publié dans Non classé
Laisser un commentaire
minikube
Minikube installation on Windows wsl Ubuntu curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 sudo install minikube-linux-amd64 /usr/local/bin/minikube Start your cluster minikube start –mount=true –mount-string= »/minikube-volume-abs:/minikube-volume-mount » A more complete command to start a cluster with multiple options start-minikube.sh #!/bin/bash minikube start –static-ip 192.168.49.2 –nodes 1 –insecure-registry … Continuer la lecture
Publié dans Non classé
Laisser un commentaire
microk8s
Installation commands Enable systemd by running the following command in the WSL terminal: echo -e « [boot]\nsystemd=true » | sudo tee /etc/wsl.conf Install the application: sudo snap install microk8s –classic Uninstallation commands sudo snap remove microk8s .bashrc setup alias kubectl=’microk8s kubectl’ source … Continuer la lecture
Publié dans Non classé
Laisser un commentaire
Ansible inventory
inventory overview It is a file (pseudo ini or yaml) that define hosts that Ansible may target. Main declaration rules – Hosts may be specified in a group or not. – A even host may be specified in multiple groups. … Continuer la lecture
Publié dans Non classé
Laisser un commentaire
Ansible installation and configuration
Distributions and ways to install Two distributions : – a community package called ansible = Ansible language and runtime + many collections (Ansible extensions) – a minimalist language called ansible-core (called ansible-base in version 2.10) = Ansible language and runtime … Continuer la lecture
Publié dans Non classé
Laisser un commentaire