Category Archives: Linux

#Twitter Card: ERROR: Fetching the page failed because other errors

By | February 16, 2021

After some updates suddenly all the post I shared from Jetpack for WordPress had no valid Twitter card. After some mail exchanges with Jetpack support they assured me that all is good from their part. As instructed by them I was able to see that indeed Jetpack was correctly generating the Twitter Card. Still checking… Read More »

Add preview WEBP images on nautilus on #Fedora #Linux

By | February 15, 2021

The new webp image standard is used a lot this days. Somehow Nautilius is not generating thumbnails for this format automatically. To add support for this just do the following: STEP 1: Add support for the new image format. Create a new file /usr/share/thumbnailers/webp.thumbnailer with the following content. Also make sure totem player is installed,… Read More »

Install #Signal on #Fedora #Linux

By | January 29, 2021

As you maybe discovered there is no rpm build support from the Signal team. Yes you can compile your own version and then do that for every new release but if you are lazy like me and nor an international wanted person (like Assange) there is a simpler version to do it. Here comes the… Read More »

Bash one-liner: kill all processes with the same name

By | February 11, 2021

A simple one liner to kill all the processes having the same name or token in the name (myprocess): kill -9 $(ps aux | grep myprocess | awk ‘{print $2}’) This is a very effective way of cleaning up stuck processes that were spawned by some gone wrong software.

#Bash one liner: Search and kill a #Java process based on a path token

By | January 15, 2020

The bash one liner of the day is to find and kill a Java process using one liner. In my case I have a Jboss application server domain that is stuck. By using jps command that displays only the running Java processes is a no brainer to kill the process by using a token that… Read More »

Disable core dumps in #Linux

By | December 11, 2019

Systemd doesn’t completely control whether core dumps are made or not. It mainly determine where such dumps go, and whether they should take up space or not. It may prevent some user space core dumps, but not all. With “Storage=none”, they can still occur and are registered by journald, but they don’t take up disk… Read More »

Convert text label files to UTF-8 encoding

By | March 28, 2019

In a lot of multi-language enterprise applications where you have to support labels in different languages the text files with the different labels for each language are scattered across your source code. In my case I all the labels are kept in Java property files with “.properties” file extension. Then for each language I have… Read More »

Recover an #Oracle installation from a full disk backup in #Linux

By | August 26, 2018

Reinstalling things like Oracle is always a hassle and takes about one day to make it work. Lucky for me I made a full back-up of my old disk when I upgraded to a new laptop. On the new laptop I did a fresh install of Fedora 28. The idea is to migrate my old… Read More »

Disable core dump generation on #Linux

By | April 22, 2018

Generation of core dumps that result in freezing the Linux system is another common issue in the new Linux kernels discussed on many forum threads. Same as the bug of kswapd0 discussed here Kswapd0 going haywire this can become very annoying. It seems that lately someone tries to add developer features turned on by default… Read More »