This is a TL;DR for: https://linuxopsys.com/topics/update-firmware-on-ubuntu-using-fwupd
# Install
su -
apt update
apt install fwupd
# Display supported devices
fwupdmgr get-devices
This is a TL;DR for: https://linuxopsys.com/topics/update-firmware-on-ubuntu-using-fwupd
# Install
su -
apt update
apt install fwupd
# Display supported devices
fwupdmgr get-devices
cal -3
is very useful#!/bin/bash | |
IMAGE=pihole | |
LENGTH=12 | |
LOG="${0%.*}.log" | |
CONTAINER=$(docker ps --format "{{.ID}}" --filter name=${IMAGE}) | |
if [ "${#CONTAINER}" -ne "${LENGTH}" ] ; then | |
echo "No running container for image: ${IMAGE}" | |
exit 1 | |
fi |
for
and while
# source: https://www.pythontutorial.net/advanced-python/python-decorators/ | |
def currency(fn): | |
def wrapper(*args, **kwargs): | |
result = fn(*args, **kwargs) | |
return f'${result}' | |
return wrapper | |
@currency |
The biggest of the big vs the smallest of the small
Comparing the highlighted sentences in each article
Hercules–Corona Borealis Great Wall
2022-12-16
ChatGPT answer:
There are several programming languages that natively support 128-bit integers. Here is a list of some of them:
__int128
data type, which is defined in the <stdint.h>
header file.java.math.BigInteger
class, which can represent integers of any size.