How much ever I tried to change the color of the navbar links in Bootstrap 5, it never did the change. To do the change, the following had to be done in the CSS stylesheet file. .nav-link { color: #dfb97c !important; } !important allows the default color given by Bootstrap 5 to be overridden by … Continue reading How to override default navbar link colors of Bootstrap 5 to custom color
Category: Programming
How to install git on Linux
To know how to install and work with git, refer https://wordpress.com/post/askmeaboutlinux.com/2504. Git is a powerful source code and versioning system.
How to fix global nodemon node package install error on Linux
To install nodemon globally on Linux, below command:$ npm install -g nodemon <enter> will not work as it requires root privileges. If it is installed with :$ sudo npm install -g nodemon <enter> it will install on the local machine in the root folders. If we do not want to install it globally on our … Continue reading How to fix global nodemon node package install error on Linux
How to fix issue if autocomplete or intellisense does not work in vscode for express.js
If the below line is used in the javascript code:const express = require(express); then autocomplete / intellisense will not work. It will not display the relevant methods as shown in the image below. This is the correct code to use:const express = require("express"); The quotation marks make the difference and the following image shows the … Continue reading How to fix issue if autocomplete or intellisense does not work in vscode for express.js
How to install node.js on Linux Mint or Ubuntu Linux
To install node.js for LinuxMint Vera (21.1) or Ubuntu, do followingVisit https://github.com/nodesource/distributions#deb Follow the instructions to install the .deb file on your system at https://github.com/nodesource/distributions#debinstall. Open a linux terminal window and enter the following: $ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\sudo apt-get install -y nodejs <enter> It will now install node.js on … Continue reading How to install node.js on Linux Mint or Ubuntu Linux
Moving from Atom to Visual Studio Code and it’s extensions on Linux
Application developers would rely on Atom code editor to create code for a while now. However, Atom code editor is now sunset per this https://github.blog/2022-06-08-sunsetting-atom/. The option left now is to migrate to another code editor. And one of the best out there is Visual Studio Code (vscode). Since most of the work I do … Continue reading Moving from Atom to Visual Studio Code and it’s extensions on Linux
How to query the GTK3 theme currently in use on Linux, enable dark mode and display missing icons in Gnucash
To view the current GTK3 theme in use on the XFCE desktop environment that is pre-installed in distributions like Linux Mint or Xubuntu, open a terminal window and enter the following comment: $ gtk-query-settings theme <enter> Upon enter, it displays the following: gtk-theme-name: "Mint-Y-Dark-Orange" gtk-icon-theme-name: "Mint-Y-Dark-Orange" ! gtk-fallback-icon-theme: NULL gtk-key-theme-name: NULL gtk-cursor-theme-name: "Bibata-Modern-Ice" gtk-cursor-theme-size: 24 … Continue reading How to query the GTK3 theme currently in use on Linux, enable dark mode and display missing icons in Gnucash
How to install python3 on Linux
Install python3 $ sudo apt-get install python3-pip python3-venv python3 <enter> Make an isolated environment$ mkdir environment <enter>$ cd environment <enter>$ python3 -m venv my_env <enter> where my_env is the isolated environment$ ls my_env <enter> to display the created folders Activate the isolated environment$ source ~/environment/my_env/bin/activate <enter> This will be the resulting prompt(my_env) patrick@rm01:~/environments$ Create a … Continue reading How to install python3 on Linux
How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG
Reading about Gerard Huet's paper on the geometry of the Shri Yantra available in PDF format at this link http://pauillac.inria.fr/~huet/SKT/sanskrit.html.orig, I was prompted to try out the Postscript code he had in and Appendix in the paper. After typing the code into a .txt file, the file did not render using Evince or a PDF … Continue reading How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG
How to fix AVD emulator grainy, poor resolution display in Android Studio
The AVD emulator on Android Studio display shows all characters at 1:1 resolution grainy. It is difficult to read the text of the app under testing. To overcome this problem: From the menu of Android Studio select Help -> Edit Custom Properties and enter hidpi=false Create the AVD emulator device and disable device frame and … Continue reading How to fix AVD emulator grainy, poor resolution display in Android Studio