QEMU: Installation of QEMU VMs on Mac OS

QEMU: Installation of QEMU VMs on Mac OS Credit Goes to : Gist GitHub Install QEMU on OSX QEMU requires brew in OSX, so we need to install brew first. Installing Brew To install brew we need to have the developer tools enabled in our system. In order to install those tools, we have two options. Download Xcode form the AppStore In your terminal run the following command: xcode-select...

Python FastAPI: Notes

Python FastAPI: Notes My FastAPI notes. Installation pip install "fastapi[all]" Basic App: Assume filename main.py from typing import Optional from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Optional[str] = None): return {"item_id": item_id, "q": q} To start...

How to resolve InitializeSandbox() called with multiple threads in process gpu-process. Error in Linux with Google Chrome ?

How to resolve InitializeSandbox() called with multiple threads in process gpu-process. Error in Linux with Google Chrome ? Hello Everyone, While launching google chrome browser, if you are getting below error in Linux, remove Google Chrome config directory from your home folder. ❯❯ ~ 18:03 google-chrome-stable [45359:45359:0125/180542.953317:ERROR:sandbox_linux.cc(378)] InitializeSandbox()...

Linux: How to generate self-signed certificate in Linux using openssl ?

Make sure openssl installed in your server/machine Process includes 3 steps as below {{ step.description }}{{ step.command }} Execution and output ❯❯ cert 23:03 openssl genrsa -out ca.key 2048 Generating RSA private key, 2048 bit long modulus (2 primes) ............+++++ ...