Docker & docker-compose on Raspberry Pi OS

Steps to setup Docker and docker-compose on a Raspberry Pi OS System Update: sudo apt update && sudo apt upgrade -y Install Docker: curl -fsSL https://get.docker.com -o get-docker.sh sudo sh...

WSL2 USB Devices

Steps to access USB devices in WSL2: Assuming you have WSL2 installed and set up, follow these steps to access USB devices: Install USBIPD: Open PowerShell as Administrator and run:...

Clean Code

List of some notes taken from Clean Code book by Robert C. Martin Meaningful Names: Use intention-revealing names Avoid disinformation Make meaningful distinction Use pronounceable names Use searchable names Avoid...

General Commands

General commands Create PFX: openssl pkcs12 -export -out auth.skybot.io.pfx -inkey private.key -in certificate.crt -in ca_bundle.crt ngrok port forwarding: ngrok http [port] -host-header="localhost:[port]"

Docker Commands

Docker commands Run MS SQL Server Linux image: docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=MyP@ssword!" -p [host port]]:1433 -d --name=[Container Name] microsoft/mssql-server-linux:2017-latest Run command on SQL Server: docker exec -it [Container...