A collection of useful applications for getting stuff done faster

Photo by Zachary Fetters on Unsplash

I’m a productivity freak. I’m always on the lookout for new and better tools that will allow me to do more in less time. Whether or not I am successful is a different story.

Over the years, I have found many applications and techniques that have significantly improved my productivity. In this article, I would like to share them with you. Being a Windows user myself, many apps listed here are Windows-only, though some are cross-platform. Don’t get discouraged if you are a Mac or Linux user. Each tip in this article is presented as a concept and is in…

Creating an executable JAR having a mix of Groovy and Java code

Photo by Vidar Nordli-Mathisen on Unsplash

Running Groovy scripts from command-line is relatively simple: the only prerequisite is having the Groovy binary installed and then you can use to run any Groovy script. Even dependency management is easy — just annotate your external classes with @Grape and Groovy’s Grape mechanism will do the complete dependency retrieval process for you.

Sometimes, though, things are more complex and you might have a mix of Java and Groovy code, some external dependencies, perhaps even resource files. …

Photo by Caspar Camille Rubin on Unsplash

The official NestJS documentation has many examples showing how to use an ORM framework such as TypeORM to integrate with a database. However, what if you don’t want to use an ORM, but would rather execute raw queries on the database without the overhead of an ORM?

This tutorial will give you an example of how this could be done. In this tutorial, we will write a module that will responsible for executing SQL queries on a PostgreSQL database.

Required Dependencies

For this to work, we’ll need to install a library that will allow us to interface with a PostgreSQL database.

In my company, we use Checkstyle to enforce our internal Java conventions. The Checkstyle configuration file used to be hosted on our public GitHub repository, but since we use self-hosted GitLab internally, we figured it made sense to host it there. However, we couldn’t find an easy way to retrieve raw files having the following requirements in mind:

  • The file should be retrievable through a single GET request so we can use the URL in Maven’s Checkstyle Plugin
  • The URL should be pretty — without cryptic IDs so it can be clearly visible which GitLab the configuration file is hosted…

I’ve had quite a bit of trial and error while trying to retrieve all worklogs made by a specific user in a given period using Jira’s Tempo plugin REST API. The official documentation is not up to date and is in some parts misleading (at least at the time of writing this). However, I’ve managed to get what I wanted by issuing a GET request to the following path:


This gives a list of worklogs for the past 21 days for currently logged in user. The query consists of several parts:

  • The jql parameter is used to filter out…

If you’ve ever wanted to connect to your Google Cloud Provider compute instance via SecureCRT or some other tool of your choice, this is one of the ways to do it, assuming that your machine has an external IP set up.

The first thing you’ll need is your own SSH key, which consists of a unique private SSH key file and a matching public SSH key file. I’ve already generated one using Git Bash since I have Git installed locally.

$ ssh-keygen -t rsa -C "your_email@youremail.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/you/.ssh/id_rsa): [Press Enter]

Dario Djuric

Software engineer hailing from Zagreb, Croatia. Working in Verso Altima Group.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store