- right click on the top side bar to move side bars on the left or the right
Tuesday, February 24, 2026
Monday, June 23, 2025
Thursday, March 13, 2025
Saturday, January 18, 2025
gradle
- https://www.baeldung.com/gradle
- In a typical Gradle project, each subproject or module usually has its own
build.gradlefile. Here's a general overview:
- Root Project: The root directory of your project contains a
build.gradlefile that defines the overall build configuration. - Subprojects/Modules: Each subproject or module within the root project has its own
build.gradlefile. This allows you to define specific build configurations for each subproject
- build Elastic
- ~/elasticsearch-src-8.16.0$ ./gradlew localDistro
.
Sunday, December 1, 2024
Elastic 8 java client aggregations
Aggregation innerAggregation = new Aggregation.Builder()
.terms(t -> t
.field("inner_field")
.size(10)
)
.build();
// Create the outer aggregation and add the inner aggregation to it
Aggregation outerAggregation = new Aggregation.Builder()
.terms(t -> t
.field("outer_field")
.size(5)
)
.aggregations("inner_agg", innerAggregation)
.aggregations("inner_agg2", innerAggregation)
.build();
Friday, July 26, 2024
Ubuntu 24 display problem
I just installed a new Ubuntu 24. When I run file manager, I lack pieces of the display like text and icons. Most of them appear with a mouse over.
A work around is to select the x.org x server as shown below. But once you do that, you cannot suspend Ubuntu anymore
Note: after doing the instruction here below, I got back my correct display (but still cannot awake successfully after suspend)
sudo apt-get update
sudo dpkg --configure -a
sudo apt-get install update-manager-core
Friday, May 24, 2024
IntelliJ
- to edit a file in column mode
- right click and select "column mode"
- to manage JVMs
- File / Project Structure
- Platform Settings
- or right click on any library in the project "External Libraries" section and then "Open Libraru Settings"
Subscribe to:
Comments (Atom)