Ahmadullah Mirza
Ahmadullah Mirza's Blog

Ahmadullah Mirza's Blog

Follow
homebadgesnewsletter

Access WSL ports Over Lan

Feb 14, 20231 min read

Old way [don't use] $remoteport = bash.exe -c "ip -4 addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'" $found = $remoteport -match...

Access WSL ports Over Lan

JavaScript Tips: Web share Api

Feb 9, 20231 min read

const shareData = { title: "au.mirza", url: "https://www.instagram.com/au.mirza" }; const btn =...

JavaScript Tips: Web share Api

Generate compose file from docker container

Feb 5, 20231 min read

Specific container/ containers docker run --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose <container-name-or-id>...

Generate compose file from docker container

Add new user in linux with home directory and /bin/bash

Feb 1, 20231 min read

sudo useradd -s /bin/bash -m -c "Full Name" user The command is composed of: sudo: We need administrator privileges to allow a new user to access...

Add new user in linux with home directory and /bin/bash

Create and Publish an npm package [guide]

Jan 23, 20234 min read

It takes only a few steps to create and publish an npm package. Setting up Environment and Project. Installing Node.js and npm: This is the first...

Create and Publish an npm package [guide]

Adding Permanent alias using update-alternatives

Jan 22, 20231 min read

sudo update-alternatives --install [target_path] [alternative_name] [source_path] [priority] alternative_name -> name for managing...

Adding Permanent alias using update-alternatives