Installing neovim on any Linux machine e.g. a shared hosting server

Once in while, I need to edit files on a shared hosting server. I have ssh access but no permission to install anything (dah! it's shared hosting.). The bare-bone vi doesn't cut it for me, and I am never going to use cpanel web-editor like a cave-dude! Fortunately there is way to install neovim on … Continue reading Installing neovim on any Linux machine e.g. a shared hosting server

Debugging python extension in gdb

$ gdb -ex r --args python myscript.py If you are using virtual environment then you are likely to run into the following error. /home/dilawars/PY38/shims/python": not in executable format: File format not recognized Because, in virtualenv, the command python is a bash script wrapping the real python executable. To bypass this, just do the following: $ … Continue reading Debugging python extension in gdb

Awesome Vue : A personal list

To automatically create links from raw url and email links in v-html directive, use vue-linkify. Create a custom directory such as v-linkified and add this to the tag. For example, import linkify from 'vue-linkify' Vue.directive('linkified', linkify) <div v-html="raw" v-linkified /> vue-dropzone is excellent for dragging/dropping images to a webpage and upload it to a server. … Continue reading Awesome Vue : A personal list

How to Fix or Get Rid of “Briefly Unavailable for Scheduled Maintenance” message in WordPress

Reason: During the update of a plugin or a theme, you refreshed the page, moved to another page, or the upgrade failed due to some other reason. WordPress creates .maintenace file in the top-level directory before the start of the update process. And removes it if the upgrade is successful. Solution:You need to delete the … Continue reading How to Fix or Get Rid of “Briefly Unavailable for Scheduled Maintenance” message in WordPress