How to fix message in Android Studio 4.2 to remove jcenter() and migrate to mavenCentral()

Android Studio 4.2 displays below message.Please remove usages of jcenter() Maven repository from your build scripts and migrate your build to other Maven repositories. This repository is deprecated and it will be shut down in the future. To fix it, open the gradle file at the project level, search and and replace jcenter() with mavenCentral(). … Continue reading How to fix message in Android Studio 4.2 to remove jcenter() and migrate to mavenCentral()

Installing Spotify on Linux Mint desktop

Spotify also has a desktop application that works on Linux Mint. To install it, open a terminal window and enter the following:$ curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add - <enter>$ echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list <enter> $ sudo apt-get update <enter>$ sudo apt-get install spotify-client <enter>

How to fix error while updating repositories in Ubuntu or Linux Mint

On entering the apt-get update command, the following errors appeared. Reading package lists… DoneW: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Cannot initiate the connection to dl.google.com:80 (2414:6221:4109:825::210a). - connect (101: Network is unreachable) Could not connect to dl.google.com:80 (2xx.5x.2xx.2xx), connection timed outW: Some index files failed to download. They have been ignored, or old ones used instead. … Continue reading How to fix error while updating repositories in Ubuntu or Linux Mint

How to install Signal on the Linux Mint 20.1 or Ubuntu

After the WhatsApp privacy changes, many folks have installed the Signal app on their Android devices. Signal also has a desktop client, where Signal can be installed and used on a computer. To install the Linux version, open a terminal window and enter the following commands: Set up the repository$ wget -O- https://updates.signal.org/desktop/apt/keys.asc | sudo … Continue reading How to install Signal on the Linux Mint 20.1 or Ubuntu

How to amend default user name and email before committing code to remote github repository

If you commit the code to a local github repo with the default user name, you will get the message as shown below: $ git commit MumbaiStock.pm -m v1.5 <enter> [master 24fea3] v1.5  Committer: wronguser <wrongemail@wrongdomain.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are … Continue reading How to amend default user name and email before committing code to remote github repository

Add repository to sources.list file in Ubuntu

Here is an example of how to add a sources.list file to the Ubuntu packages repository. Open a terminal window and enter the commands below. $ sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup <enter> $ sudo vi /etc/apt/sources.list <enter> Now add the line: deb http://ppa.launchpad.net/speed-dreams/ppa/ubuntu raring main <enter> :wq $ sudo apt-get update <enter> Now you can … Continue reading Add repository to sources.list file in Ubuntu