-
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
-
Category Archives: Language basics
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
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
Flattening Stream Collections in Java
This article is about flattening the list of element list with use of Java 8 stream feature flatMap and forEach Continue reading
What does the double star operator mean in Python?
In some Python code, you might spot double stars standing next to each other. What do those two stars mean, and what is their job? We will answer all the questions in this article. Continue reading
Posted in Language basics
Tagged **kwargs, double star, double-asterisk, method arguments, power operator, Python, Python functions, two stars
Leave a comment
How to join List String elements with a comma
In this article, we will see three different ways to print string elements of the list into one coherent text. Continue reading
How to convert a Map to an Array in Java
This tutorial is about several approaches to converting Java’s Map interface implementations into the Java array. Continue reading
Posted in Language basics
Tagged array, Collection, conversion, HashMap, Java, LinkedHashMap, Map, TreeMap
Leave a comment
How to initialize an array with zero values in Java
This article will look at how to fill up Java array with default values effectively on an array creation. Continue reading
Bit manipulation operators in Java
Java offers a possibility for bit manipulation with bit operators in its code. This article will go through all the operators with real-life Continue reading
How to show first n characters in JavaScript or TypeScript string
This article will show you three different ways how to obtain substring from a string in JavaScript or TypeScript Continue reading
How to use IntStream range in Java
This article talks about the average use case of loop count variable usage via IntStream API Continue reading