This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Dependencies | |
| import os | |
| import sys, traceback | |
| import readline | |
| from platform import python_version | |
| version = "1.0-stable" | |
| # Inbuilt commands |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL | |
| # SPDX-FileCopyrightText: 2024 Thomas Duckworth <tduck973564@gmail.com> | |
| o="$(udevadm info -q property -p /sys/devices/virtual/dmi/id --no-pager)" | |
| # Calculate minimum width required for all output | |
| width="$(echo "$o"| grep -e "MEMORY_ARRAY" -e "MEMORY_DEVICE" | awk -F '=' ' | |
| { |