Page 4 of 9

How to uninstall all the installed packages in python

To uninstall all the packages in your python virtual environment, run the below command. It will first fetch the list of all the installed packages using pip freeze and then will pass this list to the pip uninstall command. pip… Continue Reading →

Copy files from one s3 bucket to another S3 bucket

Today, we are going to discuss the implementation of copying files from one S3 bucket to another S3 bucket, and both the S3 bucket has different credentials. We will go step by step to implement this and then will explain… Continue Reading →

Determine whether a webpage is up and exists.

If you want to run a script to check whether your website is up and running properly, you can use the below curl command and it will give you a response and then you can parse this response and conditionally… Continue Reading →

Semantic Versioning in software development

You may have seen the version number like X.Y.Z something like this. This denotes the format MAJOR.MINOR.PATCH, increment. MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version… Continue Reading →

Git Autocomplete command Mac OS

It is really difficult to type the full command in the terminal when we can autocomplete it by just typing the initial few characters and then pressing the tab. So to enable the autocomplete feature for git commands in the… Continue Reading →

Execute command denied to user ‘user’@’%’ for routine ‘sys.list_drop’

We see this error when mysql user doesn’t have permission to execute the list_drop Function inside sys schema of mysql. To fix this error we need to grant the privilege for the same. Login as the root user. Run the… Continue Reading →

Format of External Harddisk compatible for both Mac OS and Windows

If you want to use your external hard drive in both windows and Mac OS then we need to change the format of the hard drive. I am using WD hard drive that comes with the default NTFS format and… Continue Reading →

Clean space filled by Docker

Sometimes, it happens that docker takes a lot of spaces when you create images and containers and over the period of time this space takes most of the part of your hard disk so it becomes necessary to clean this… Continue Reading →

Check the Folder Size in the mac OS Terminal

If you want to see the space any folder or directory is occupying in your mac then you can the below command in your mac terminal. Step 1: Open your mac terminal by pressing command + space bar and type… Continue Reading →

Postgres basic commands

There are some basic postgres commands, those we use daily basis like listing database, switching database, listing tables etc. Listing Database \l # or \list 2. Switching Database \connect sales # or \c sales 3. Listing Tables \dt

« Older posts Newer posts »

© 2024 My Beliefs

Write us at [email protected]