Tuesday, February 24, 2026

kursor

  •  right click on the top side bar to move side bars on the left or the right

Monday, June 23, 2025

Trello

 shortcut:

  • "q"  to see only my tasks

.

Thursday, March 13, 2025

Sonar / SonarQube

  • @SuppressWarnings("java:S125") // sonar ignore comments warnings on this section

Saturday, January 18, 2025

gradle

  1. Root Project: The root directory of your project contains a build.gradle file that defines the overall build configuration.
  2. Subprojects/Modules: Each subproject or module within the root project has its own build.gradle file. 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"