-
Boto3 Response to JSON String in Python
When working to programmatically check or configure your AWS infrastructure in Python, we need to use Boto3. Most of the time we will need to check the output of the Boto3 Client by printing it to the terminal. Unfortunately, printing directly the boto3 response is not really easy to understand. The best way to work […]
-
Listing AWS Regions using boto3 Python
If you want to programmatically retrieve the AWS regions one of the best ways to do this is via Python boto3 package. In boto3, specifically the EC2 client, there is a function named describe_regions. This will retrieve the regions that are in AWS. See different uses of the describe_regions function below. Basic code for retrieving […]
-
How to run Python3 Virtualenv in PowerShell
Below is a step-by-step instruction on how to run Python3 Virtualenv in PowerShell. The tutorial below assumes that you have already installed python3 and pip3 in your windows computer. Installation of virtualenv in Python3 In PowerShell, install virtualenv using python pip. Create a virtual environment Error when activating newly created virtual environment To activate the […]
-
How to update Ubuntu 20.04 LTS to the latest packages
For every new installation of Ubuntu 20.04 LTS the first thing that we need to do is to update Ubuntu and its packages. I would also recommend updating your Ubuntu Operating System once every month to update the security of your Ubuntu 20.04 LTS. If you are running Ubuntu Server, the only way to do […]
-
How to install VirtualBox Guest Additions in Ubuntu 20.04 LTS Desktop
After you have installed Ubuntu 20.04 LTS Desktop in VirtualBox, the first thing that you will notice is that Ubuntu desktop does not occupy the whole VirtualBox window no matter how you resize the window. To solve this we need to install VirtualBox Guest Additions. Installation of build-essential package (prerequisite) Installation of VirtualBox Guest Additions […]
-
How to Install Ubuntu 20.04 LTS Desktop in VirtualBox
Below is a detailed tutorial on how you can install and run the Ubuntu 20.04 LTS (Focal Fossa) Desktop in Oracle VM VirtualBox. Downloading the Ubuntu 20.04 LTS Desktop Installer Disk Image Creation of new Virtual Machine in VirtualBox Loading the Ubuntu Installer to the Virtual Machine Installation of Ubuntu 20.04 LTS Desktop Running Installed […]
-
How to use Macbook Big Sur with lid closed
If you want to use your Macbook with the lid closed or in clamshell mode, you will need the following. External Keyboard (USB or Bluetooth) External Mouse (USB or Bluetooth) External Monitor Then follow the steps below to setup your macOS Big Sur to not sleep when you close the monitor of your Macbook.
-
How to install VirtualBox in Windows 10
If you want to install Oracle VM VirtualBox in your Windows 10 computer, follow the steps below. Steps to install VirtualBox in Windows 10 On your preferred internet browser, go to https://www.virtualbox.org/wiki/Downloads. This is the downloads page for the latest VirtualBox Installer. On the screenshots below, I am using Google Chrome as my internet browser. […]
-
How to disable collapsing to one line for single folders in Visual Studio Code
If you have been using Visual Studio Code, you might have encountered that if you have a folder that only has a single folder inside, Visual Studio Code will automatically collapse both parent and child folders into a single line. Actually, if you have a chain of subfolders that have only one folder inside, it […]