Change Local Account Password in Windows – CMD & PowerShell

If you have forgotten a local user password in Windows but you can still log in to the computer with PIN, picture password or another administrator account, you can easily reset the forgotten password from a command-line prompt (CMD) or using a PowerShell.

In this note i will show how to change the forgotten local account password in Windows using the net user command. (more…)

Check If User Is In Domain – CMD & PowerShell

In Windows, a Local User is the user created in the local system, whose username and password are stored on the computer itself.

A Domain User is one whose username and password are stored on a domain controller (e.g. Active Directory) rather than the computer the user is logging into.

In this note i will show how to determine whether the current user is a Domain User account or a Local User account using the command-line prompt (CMD) or a Windows PowerShell. (more…)

Raspberry Pi: Force HDMI – Hotplug

By default, the HDMI output of the Raspberry Pi is only activated if a monitor or a TV is connected and powered up before the Raspberry Pi is started up.

Fortunately, there is an easy fix which will force the Raspberry Pi to turn on the HDMI output, no matter whether a display is connected or not.

In this note i will show how to force the HDMI output on the Raspberry Pi by modifying the HDMI hotplug settings. (more…)

What Is My Router’s IP Address (Default Gateway)

A router is a device that communicates between the Internet (or public network) and the devices in a local network (or private network).

A typical home router, that usually acts as a default gateway for the local devices, can be configured using a web-based configuration page that can be accessed from a web-browser if you know the router’s IP address.

In this note i will show how to find out the router’s IP address in Windows, Linux and MacOS from the command line. (more…)

Git Alias: Config – The Best Git Aliases

An alias in Git is a shortcut that Git translates into a full-text command.

With the aliases you can avoid typing the entire text of each of the Git commands over and over again, that significantly improves the experience of working with Git from the command line.

In this note i will show how to set up the aliases in Git using the git config alias command. (more…)

Kubectl: Create Deployment – Command Line

In this note i will show how to create a Deployment from the command line using the kubectl command.

Below you will find the examples of how to deploy an Nginx Docker image on a Kubernetes cluster and how to update and scale it using the kubectl command only (without YAML configs).

I will also show how to create a Service to expose the created Deployment outside the Kubernetes cluster. (more…)