Skip to content
Adam Gamboa G – Developer

Adam Gamboa G – Developer

Full Stack notes and tips for developers… Java, React, Kubernetes, Scala, and more…

  • Home
    • Java
    • Scala
    • React
    • Cheat Sheet
    • Kubernetes
    • Docker
    • Shell
  • About me
  • English
    • Español
  • Buy Adspace
Java logo

Try Catch Block in Java

  • Java
August 31, 2022October 11, 2022 agamboa No comments

In Java, the try/catch block is the alternative to handle exceptions properly and avoid the application to crash. It has useful features like multi check, finally or try-with-resources statements.

Continue reading

Docker cheat sheet

  • Cheat Sheet
  • Docker
August 7, 2022August 8, 2022 agamboa No comments

Very helpful article with a summary of the most common and useful docker commands. Grouped by categories to find what we need.

Continue reading
Java logo

PKCS 11 Provider across multiple Java versions

  • Java
July 29, 2022January 3, 2023 agamboa No comments

A cross version approach to create SunPKCS11 providers to interact with smart cards. Supports version Java 5 to Java 18 at this moment.

Continue reading

Behavior of the Iterator size method in Scala

  • Scala
July 26, 2022July 26, 2022 agamboa No comments

The iterator is a useful structure to iterate over collections (List, Set, Map, Seq). But it you uses the method size, you might notice an strange behavior, the iterator seems to be empty.
Let’s understand why.

Continue reading

JDBI and the Specification Pattern

  • Java
June 29, 2022June 27, 2022 agamboa No comments

JDBI is a library to access to relation data in Java, it doesn’t provide support for the Specification Pattern, but with some classes and code we can implement it and use it.

Continue reading

How to enable Metric-Server in Docker-desktop

  • Kubernetes
June 24, 2022June 24, 2022 agamboa No comments

Docker desktop allow you to have a Kubernetes installation in your local machine, by default it provides most of the features required by a developer. […]

Continue reading
Java logo

How to get the current directory path of a JAR in Java

  • Java
June 20, 2022June 20, 2022 agamboa No comments

Let’s learn about different approaches and concerns when we want to find the current directory where a JAR file is running….

Continue reading

Bash Scripting cheat sheet

  • Cheat Sheet
  • Shell
May 27, 2022May 27, 2022 agamboa No comments

As a Full Stack Developer, sometimes I need to create bash scripts to automate some processes. This article contains a lot of useful commands for creating bash scripts.

Continue reading

How to set environment variable in MacOS

  • Shell
May 26, 2022January 3, 2023 agamboa No comments

Environment variables (env-vars) are used to save system-wide value and those values can be accessed later by the system itself, the user, processes or applications. […]

Continue reading

Spring Data JPA and the Specification Pattern

  • Java
April 20, 2022January 3, 2023 agamboa No comments

Spring Data JPA provides support to the Specification pattern that will help us to reduce the amount of methods in our repository improving the readability and maintainability of the code.

Continue reading

Posts navigation

«Previous Posts 1 2 3 4 5 … 7 Next Posts»

Languages

Social Links

  • Github
  • LinkedIn


Most Viewed Posts

  1. Switch expression on Java 17 (37,288)
  2. Maven Central Repository is moving to HTTPS and disablig HTTP access (32,803)
  3. Using JPA CriteriaQuery to build Paginated Queries (29,953)
  4. How to set environment variable in MacOS (27,978)
  5. Creating a Socket Client Pool in Java (22,536)

Categories

  • Architecture
  • Cheat Sheet
  • Docker
  • Java
  • Kubernetes
  • Maven
  • Personal
  • React
  • Scala
  • Shell
  • Spark

Recent Posts

  • Switch expression on Java 21
  • Scability with Docker Compose
  • Integrating dropwizard metrics with prometheus metrics
  • Moving data from Database to AWS S3 with Apache Spark
  • Docker Image Best Practices