IN-Decent

Re-decentralizing internet with free software

Recent posts

Jul 15, 2020
Autocomplete in Vim With Abbreviations In Vim there is a neat feature called abbreviations, which can be used to autocomplete frequently used words and correct most common typo errors. Abbreviations can be defined as below,…
Jul 13, 2020
Insert Text Before or After a Particular Line With sed You have a text file and you want to append multiple lines after a line containing particular string, a command can be used as below sed -i".bkp_`date +%Y%m%d`" '/\[Login\]/a RemoveIPC=no' /etc/systemd/logind.…
Jul 12, 2020
Controlling JVM Using Environment Variable When There is No Access to Its Command-line When a Java program is called inside a compiled binary, there will be no easy access to its command-line to set the JVM flags. This is also the case when a Java program is called in several places inside an application, it is not easy to set the configuration options such as Min and Max heap size in multiple places.…
Jul 11, 2020
Java Configuration Option to Get All Flags and Its Values That Will Be Used by JVM When a Java Virtual Machine is started without any command-line options it is difficult to know the default memory heap size settings that will be used and values of other configuration flags as well as it is calculated dynamically based on the host system where a Java process is running.…
Jun 20, 2020
Enable Auto Spell Check in VIM If you use VIM to write code or text documents then it is useful to know that VIM has an auto spell check feature and it will highlight word typos in red for the language while you type and also highlights any uncapitalised in blue.…