Customize radios for Android airplane mode

On a default Android device, when you disable/enable airplane mode, it turns off/on all of your phone’s radios. Such as your bluetooth, cell radio, wifi, etc … You can modify what gets disabled with airplane mode if you have a rooted phone. You can customize your airplane mode by using adb shell Here are a …

Getting started with Spring

This is our first lesson for getting started with Spring boot. We will cover setting up your environment by downloading and installing the software we will need. One of the fastest and easiest ways to get started with Spring boot is to download Spring Tools Suit. Download and install it from this website https://spring.io/tools STS …

Tomcat 8 run on port 80 instead of 8080

By default Tomcat 8.5 runs on port 8080, there are multiple ways of making Tomcat accessible on port 80. Today we will cover the most simple way to do this. The examples below are related to Tomcat 8.5 running on Debian 9. Please make adjustments related to your Linux distribution. I always recommend to take …

Managing wireless connections on Linux command line

Basic setup This is based on Debian/Ubuntu but with some minor modification should work on any Linux distribution First let’s install some tools so we can manage our wifi adapter we can now scan for available wifi connections by running the following command If you get the following error wlan0 Interface doesn’t support scanning : …

Increase number of files open for Pgbouncer

Pgbouncer is a lightweight connection pooler for Postgresql. It reduces the overhead of creating a new connection every time, instead it keeps a pool of connections open at all times which greatly reduces overhead. If you are doing a lot of connections per second, then Pgbouncer may complain that the open file limit has reached. …