I’ve always procrastinated writing MUnits for my projects. But once I invested time learning about it, I am in love with it and make sure every service I build has MUnits before it gets deployed to Production. …

Postman is an application used for API testing. It is an HTTP client that tests HTTP requests, utilizing a graphical user interface, through which we obtain different types of responses that need to be subsequently validated.

Postman supports different types of authentication mechanisms that an API would demand. One of…

grep is a powerful tool to search content within files on your Mac (Terminal) or Linux systems. The following 3 are handy tips that every developer or user must know to efficiently search content within their files and directories.

Find text only in specific file types/extensions — Returns all the search results.

The --include=\*.py option would only look for the text_to_search within the…

External systems (Tableau, Mode, etc) connecting to your data to run reports must definitely not have DDL access. In addition, reporting systems should not have direct access to tables. Tables may get altered over time and quite possible that some sensitive information might get exposed to external systems. As a…

Python default parameters

Writing functions with default arguments seems like a fairly straightforward task. Default the argument in the function definition and you’re all set. That’s right works like a charm as shown in the following example.

def greetings(name, message = "Good Day"):
print(f'Hello {name}. Have a {message}')
greetings('John')
greetings('Daniel')
greetings('Jim', 'Good Afternoon')…

I recently got into a situation where I was logging payloads in Anypoint Runtime and realized that the payload contained sensitive information (Email, SSN, etc.). …

If you ever feel the need to host a database on a server and do not have the resources to do so, you can setup the database locally on a laptop and expose the service to the outside world using ngrok. Please be aware that using ngrok has it’s own…

Over time as you create pull requests and move your changes from temporary branches over to the dev or master branch, a lot of branches can pile up on your local system and can be noisy when you are trying to list all the branches.

If you’re using GitHub, it…

There are so many ways of hosting custom JAR files and importing them for your projects. You could use a Nexus server, store them in GitHub or even install them locally on all machines. But in a production environment, you may not have access to the build server to go…

Here are instructions to install and run mcrypt on Debian 10 with PHP 7.3+

Check PHP Version

$ php -version
PHP 7.3.9-1~deb10u1 (cli) (built: Sep 18 2019 10:33:23) ( NTS )

Check if mcrypt is installed

$ php -m | grep mcrypt

Install pre-requisites

sudo apt-get install php-dev libmcrypt-dev php-pear

Verma Varun

Mastering automation, improving efficiency and connecting systems.

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