13 February, 2022

How to protect from hijacked NPM packages by developing in a Sandbox Environment in Windows 11

Categories: Security , IntelliJ IDEA , WSL , Sandbox , Node.js , Development Environment · 4 min read

How to develop and run your Node.js projects in a sandbox environment to protect against hijacked NPM packages using Windows 11 with WSL 2 and Ubuntu

25 November, 2021

Find and replace with Regex Capture Groups

1 min read

Small introduction into regex capture groups. Used for common tasks such as adding commas or brackets to each line

23 April, 2021

Pull data from REST API into your Gridsome Website

Categories: Gridsome , REST , API , Auth , Axios · 2 min read

Using Gridsome REST source to fetch data from any REST API in your Gridsome Website

20 April, 2021

How to copy files from resources and modify content on the fly with Java 8 Streaming API

Categories: Java · 2 min read

Using Java 8 Streams to copy a file from resources to a directory modifying it on-the-fly, all in one process without loading everything to memory

16 April, 2021

How to mock SFTP servers in JUnit 5 using Testcontainers and atmoz/sftp

Categories: JUnit , Testing , Java , SFTP , Testcontainers · 5 min read

How to mock SFTP servers in JUnit 5 using Testcontainers and atmoz/sftp Docker image. Perform integration tests against a fake FTP server in your Java application tests

03 January, 2021

Self-referencing entities with Hibernate, JPA, JPQL and Quarkus

Categories: Hibernate , Quarkus , ManyToMany , JPA , JPQL · 5 min read

How to implement and query self-referencing entities with siblings instead of parent-child relationships using Java, Quarkus and Hibernate with JPA and with EntityManager and JPQL.

  • ← Previous
  • Page 1 of 3
  • Next →
  • Home
  • Projects
  • RSS
  • Privacy Policy