To get access to any of MikroTik routers you need to know an IP address of the router and credentials, i.e. a username and password. All the MikroTik routers are pre-configured with the default IP address as well as with the default username and password.
Raspberry Pi: Wake from Sleep – Command
While using a Raspberry Pi (RPi) connected to a monitor or TV over HDMI, you may notice that the screen will be automatically put to sleep after a certain amount of time of inactivity. To wake the RPi it is usually enough just to move a mouse or press some key button. But if you […]
VLC: Change Preferred Audio Language Order
VLC Media Player can play video files with multiple audio tracks. The audio track can be selected in “Audio” → “Audio Track” menu. If you watch some series with a default language that doesn’t suit you, you would have to manually change the audio track for each episode, that may be a bit annoying. Luckily, […]
OOM Killer Doesn’t Work Properly [SOLVED]
An out-of-memory (OOM) killer is a mechanism of the Linux kernel that is supposed to terminate (kill) high memory consuming processes if a system is critically low on memory. Unfortunately, the OOM killer doesn’t always work properly. It often starts too late, when the system is already out of memory, so it doesn’t have enough […]
Kubectl: Get Events & Sort By Time
Kubernetes events are automatically created when resources have state changes, errors or other messages that should be broadcasted to the system. These events (logs) are very helpful for debugging issues in a Kubernetes cluster. Unfortunately, a kubectl get events command, by default, returns an unsorted list of the events that is not easy to search […]
Vi/Vim: Dark Background – Change Color Scheme
If you use vi/vim text editor in a terminal with a dark background it may be hard to read some text due to improperly configured color scheme. For example, dark-blue comments on a black background in vi/vim make them almost unreadable. By default, vi/vim is configured to work with a light background, i.e. has a […]
Helm: Dry Run & Template Debug
Helm uses a packaging format called charts (a collection of Kubernetes resource files). This note shows how to –dry-run and –debug Helm chart templates with examples. It also shows how to lint and render Helm chart YAMLs locally (without sending them to a Kubernetes API server).
Helm Upgrade: Update Chart Values – Example
When you upgrade a Helm chart in a Kubernetes cluster you can also customize parameters of the chart to configure a release. The Helm chart parameters customization is carried out by updating сhart values. This note shows how to update a Helm chart with new values using a helm upgrade command.
Restart X Server – Ubuntu Linux
While working on a Linux systems like Ubuntu, Linux Mint, etc., through a graphical user interface (GUI) it may happen that some application will hang the GUI and freeze a system. To unfreeze the system without rebooting a machine we can restart an X server (also known as X11, or just X) that is the […]
Kubectl: Run Pod With Command & Exec Into
Unless for very specific reasons, you should never run a Pod with a long-running application on its own, but use a Deployment for this. Nevertheless, if you want to quickly run some container image on Kubernetes resources, you can use a kubectl run command. For example, i often need to run the Pod on a […]