How to uninstall Python via Homebrew on Mac

Before uninstalling Python, make sure you don’t have any other applications that rely on it. You might also want to check whether you have any important data files or information that use Python. It is safe to have a backup of your important data files using Python. To uninstall Python via Homebrew on a Mac,…More

Steps to Install and Set Up Jupyter notebook on MAC

Jupyter Notebook is an open-source web-based interactive computational environment, including Python, R, Julia, and others. It allows users to mix codes with output, and explanatory text in a single document which is ideal for data analysis, scientific computing, and machine learning. To use Jupyter, Notebook you’ll need Python installed on your system. The official Python…More

Steps to Install and Set Up JupyterLab on MAC

JupyterLab is an open-source web-based interactive development environment (IDE) built on top of the Jupyter Notebook. It provides a more flexible and powerful environment for working with notebooks, data, and code. JupyterLab can run on your computer or be used as a cloud-based service. It can also be integrated with other tools, such as Git…More

How to update Nginx on Ubuntu

Before upgrading Nginx, make sure you have a backup of your current configuration files. You can do this by copying the files in the /etc/nginx directory to a different safe location. Here’s what you need to do to update Nginx on Ubuntu: Check the initial version of Nginx you have on your Ubuntu machine: The…More

Pages to exclude in robots.txt for WordPress site

You can use the “Disallow” tag in the robots.txt file for the pages to exclude in robots.txt for WordPress site. The “Disallow” tag in a robots.txt file is used to prevent search engines from crawling or indexing certain pages of your website, including sensitive information or duplicate content. The robots.txt file can be a helpful…More

Understanding and Configuring the robots.txt File for WordPress Websites

Robots.txt is a file that tells search engine robots which pages or sections of your website should not be crawled. When a robot visits your website, it first looks for a file called robots.txt before it starts crawling your website. When you install WordPress, a file called robots.txt is created in the root directory of…More

Set status: subscribed via mailchimp api

To change a subscriber’s “status” to “subscribed” using the Mailchimp API, send a PATCH request to the lists/list id/members/{subscriber_hash} endpoint, where the list id is the ID of the list to be updated and the subscriber hash is the MD5 hash of the subscriber’s email address. The request body should include a JSON object with…More

Change inner html of div with angular directive

Angular directives allow you to add functionality to HTML elements. The most common use case for directives is adding behavior or functionality to an element without having to write any JavaScript code. In this case, we want to change the content inside our div element when it’s clicked on by the user. The ng-template directive…More