-
Pages
-
Recent Posts
- How to connect to an EC2 instance over SSH
- Simple algorithm for casting strings to double
- How to make multipart requests with file and object through autogenerated code defined in OpenAPI
- How to make multipart requests with files through autogenerated code defined in OpenAPI
- How to compile and run Java files on Windows
Categories
-
Author Archives: Andrej Buday
How to connect to an EC2 instance over SSH
The article outlines connecting to an Amazon EC2 instance via SSH, detailing prerequisites and steps for Unix-based systems as well as Windows users, including PuTTY private key conversion. Continue reading
Posted in Tutorials
Tagged Amazon Web Services, AWS, EC2, EC2 instance, Linux, PuTTY, PuTTYgen, remote access, security, SSH, SSH client, windows
Leave a comment
Simple algorithm for casting strings to double
The article describes a method for converting incorrectly formatted numeric strings in CSV files into doubles by replacing commas with dots and handling various input errors, complemented by a Java util class implementation and tests. Continue reading
How to make multipart requests with file and object through autogenerated code defined in OpenAPI
This article explains how to create a Spring Boot endpoint using OpenAPI to receive objects and, optionally, files through multipart form data, focusing on deserialization and validation of incoming objects. Continue reading
How to make multipart requests with files through autogenerated code defined in OpenAPI
This article provides a clear tutorial on generating infrastructure code defined in OpenAPI schema for your custom Spring Boot application and handling multipart file uploads through an autogenerated REST endpoint. Continue reading
How to compile and run Java files on Windows
There are several scenarios when you need to compile and run your Java code from the terminal or command prompt on Windows. Here is a tutorial on how to do it. Continue reading
Java concurrency interview conversation about passing shared variables to threads
During one interview, I talked with the interviewer about how Java handles Threads and passed references to threads and pitfalls of concurrency in general. Continue reading
7 different ways how to get NumberFormatException in Java
This article will show you the NumberFormatException, how you are getting it and what you should do to handle the exception properly. Continue reading
How to figure out if a character in a string is a number
This article is about multiple ways to pull a character from a string and check if it is a number. Continue reading
Posted in Tips & tricks
Tagged char, Character, exceptions, Java, regex, regular expression, String
Leave a comment
Developer Notes 001
The list of a few developer notes collected during the software development which were not enough for a self-standing article. Continue reading
Posted in Tips & tricks
Tagged curl, Enum, interpunct, Jackson, Java 8, Lombok, NUMBER, Oracle DB, Postman, serialization, String, Switch
Leave a comment
How To Turn Number To String With Padded Space or Zeroes
Article about a simple solution to turning numbers into specific length String with padded space. Continue reading