jsedano.dev (original) (raw)
- Jun 17, 2024
Simple web QR maker with zxing and Thymeleaf
Encode text into QR Code with zxing and display it using thymeleaf. Live demo here.
- Apr 17, 2023
Plain Thymeleaf
Thymeleaf is an HTML (and more) template engine for Java. This is the core in action with nothing else.
- Oct 28, 2022
Lissajous curve Java
Just a Lissajous curve on Java displayed on a JFrame.
- Sep 19, 2022
Java Redis pub/sub example with Jedis
This is a Redis pub/sub example written in Java using Jedis.
- Sep 17, 2022
Redis 2022
What is Redis (Remote Dictionary Server) on 2022. What can we do with it. How to scale. How to run it on the cloud.
- Jun 26, 2022
A custom annotation to apply currying in Java
I created a custom annotation in order to apply currying to a method or constructor.
- Jun 18, 2022
Java @Annotations
If you have been using Java for about a week (probably even less) chances are you have already seen some annotations. Let’s review some stuff about them.
- Jun 13, 2022
Currying in Java
Let’s see some examples of how to achieve currying in Java.
- May 28, 2022
Remove duplicates in unordered array with Java using streams
Heres how to remove duplicates from an unordered primitive int array on Java using streams.
- Jul 5, 2021
Remove duplicates in ordered array Java
Heres how to remove duplicates from an ordered primitive int array on Java.
- Jun 21, 2021
Quick test
Juat checking if I can post directly from GitHub.
- May 30, 2021
Binary search trees
A binary search tree is a binary tree where the left subtree has smaller elements and the right subtree has larger elements.
- May 14, 2021
Cycle in Linked list
I’ll show three different ways in which we can detect if theres a loop in a Linked List.
- Apr 10, 2021
Priority queue using binary heap
A priority queue is an abstract data type that saves items with a priority and when we fetch the next element (poll) we receive the element with the highest priority in the case of a max priority queue or the lowest priority if we are using a min priority queue.
- Apr 5, 2021
Queue
My notes on the queue abstract data type with an implementation using an array in Java.
- Apr 4, 2021
Stack
My notes on the stack abstract data type with an implementation using an array in Java.
- Mar 21, 2021
Dynamic array
My notes on Dynamic array with an implementation in Java.
- Mar 15, 2021
Linked list
My notes on Linked list with an implementation in Java.
- Feb 22, 2021
Set if not null Java
Simple ways to check if a value is null before setting it to some object in Java.
- Jan 10, 2021
N-Queens backtraking
This is the N-Queens problem solution with a backtraking approach, look here for the N-Queens brute force approach.
- Dec 30, 2020
N-Queens brute force
The N-Queens problem consists in finding a position for N chess queens in a board of NxN squares where none of the queens are attacking each other.
- Dec 22, 2020
Trying out localstack with JUnit5
I was trying to fake Amazon Web Services using localstack by running it with Junit5 and this is what I did.
- Dec 13, 2020
Easy Java desktop UI with JavaFX and gluon scene builder
If you need some GUI for your desktop Java application you can use the scene builder from Gluon to drag and drop controls and you can then export them into a .fxml file that you can load using JavaFX. In this example we are using Java 11 and maven.