Kafka Commands
Docker composefile for a single node
Make a Andorid PAd/Phone Running Linux
- Download the
Termux
from this page Termux. Please scroll down to download theAPK
file instead of theF-Droid
button.
Spring Boot Standalone Application
Disable WebContainer
Since Spring 2.0.0, Spring provides WebApplicationType Enum to give more controls of SpringApplication. Currently it supports the following types:
- None: The application should not run as a web application and should not start an embedded web servicer.
- REACTIVE: The application should run as a reactive web application and should start an embedded reactive web server.
- SERVLET: THe application should run as a servlet-based web application and should start an embedded servlet web server.
Use Lombok to write clean POJO
Project Lombok
Using Spring-security to Secure a Web Application
Dependencies
Set Java Application Timezone
Setting an Environment Variable
Install and Configure Fail2ban on Ubuntu
Install from the default Ubuntu repositories
MongoDB Group By Aggregate
Single Field Group By & Count:
Get Real Client IP When Using LXD to Forward Port
By default, the LXD port forwarding is non-nat mode. It will lost client ip information. In order to transmit client information, we need to add parameter nat=true
. It requires the container has a static IP address.