Why I decided to become a programmer

Call me nostalgic, but I was thinking recently about the day when I knew for sure that I had to become a software developer. I studied Computer Science at the University of Bucharest. During my first year, the only programs that I created were about solving math problems or various algorithms using. That was very… Continue reading

Send emails in Spring Boot

If you are looking for a fast tutorial on how to send emails in Spring Boot applications, then you landed in the right place ๐Ÿ˜€ 1) Add the spring-boot-starter-mail dependency to the pom.xml file <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> 2) Configure a mail server for testing purposes. I would recommend Mailtrap, a free online service for… Continue reading

Set Culture for all threads in C# apps

Set the culture for all threads in C# before .NET 4.5 In the simplest form, to change the culture of .NET applications, we can just set the current thread Culture/UICulture during the initialization phase. But, problems can occur if the application is multi-threaded. Take a look at the example bellow. class Program { static void… Continue reading

Email testing for developers with Mailtrap

Email testing for developers can be annoying Do you remember the last time you worked on a project that had email integration? Do you remember when you spammed all your colleagues because you had to test the email capabilities of your application? Email testing for developers, while not a difficult task, can be very annoying… Continue reading

Implement a custom comparison function for select in Angular 4 using [compareWith]

The Problem There are times when you want to bind a select to a custom object. You use some property of the object for display and you store the entire thing in a field. But, when you receive data from the server, you stumble across a problem. The select does not seem to display correctly…. Continue reading

Install a Spring Boot Application as a Windows Service

Spring Boot applications are versatile by nature and provide a lot of deployment possibilities. In this post, I am going to show you how to install a Spring Boot application as a Windows service. It is a fairly simple process that should take a couple of minutes ๐Ÿ˜‰ 1. Sample Application For this demo, I… Continue reading

How to use the new editor based REST client in IntelliJ

A brand new feature has been introduced with IntelliJ 2017.3, the editor based REST client. This editor allows you to define and execute HTTP requests. You can save them in a file and reuse them whenever you want to test the back-end of your application. I think this is pretty cool from a productivity point… Continue reading