When added --args "nomodeset" to arm-image-installer command, booting problem was fixed.
sudo arm-image-installer \
--image=Fedora-Server-40-1.14.aarch64.raw.xz \
--target=rpi4 \
--media=/dev/sda \
--resizefs \
--args "nomodeset"| #!/usr/bin/env bash | |
| # Reference: https://stackoverflow.com/questions/18787375/how-do-i-extract-the-contents-of-an-rpm | |
| # cpio flags | |
| # -i = extract | |
| # -d = make directories | |
| # -m = preserve modification time | |
| # -v = verbose | |
| mkdir contents; cd contents |
When added --args "nomodeset" to arm-image-installer command, booting problem was fixed.
sudo arm-image-installer \
--image=Fedora-Server-40-1.14.aarch64.raw.xz \
--target=rpi4 \
--media=/dev/sda \
--resizefs \
--args "nomodeset"| import socket | |
| import struct | |
| import subprocess | |
| import time | |
| REF_TIME_1970 = 2208988800 # Reference time | |
| def get_ntp_time(addr="0.de.pool.ntp.org") -> int | None: | |
| client = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) |
| #!/usr/bin/env bash | |
| # Check whether your mypy version compiled: `mypy --version` | |
| # Mypy works a lot faster when using the compiled version | |
| ## Usage: | |
| ## curl -fL 'https://gist.githubusercontent.com/dogukancagatay/99df8636b0ca9d5a59f40b50f4a70970/raw/mypy_compiled.sh' | bash | |
| MYPY_VERSION="${1:-1.9.0}" | |
| curl -fL -o /tmp/${MYPY_VERSION}.tar.gz "https://github.com/python/mypy/archive/refs/tags/${MYPY_VERSION}.tar.gz" |
| # ===================================================================== # | |
| # BASIC CONFIGURATION (FEDORA 37) | |
| # ===================================================================== # | |
| # Default values in this YAML file are specified by `null` instead of Lima's "builtin default" values, | |
| # so they can be overridden by the $LIMA_HOME/_config/default.yaml mechanism documented at the end of this file. | |
| # VM type: "qemu" or "vz" (on macOS 13 and later). | |
| # The vmType can be specified only on creating the instance. | |
| # The vmType of existing instances cannot be changed. |
| #!/bin/bash | |
| # Name: kvm.sh | |
| # Purpose : Control remote server/laptop/desktop using KVM and VNC client | |
| # Author: nixCraft {https://www.cyberciti.biz/} under GPL v3.x | |
| # ---------------------------------------------------------------------- | |
| xIP='192.168.2.88' | |
| xPASSWORD='PasssordHere' | |
| xVNC_PWD='In9t8el@' # random but must be 8 charter long | |
| xVNC_PORT='5900' | |
| wsman put http://intel.com/wbem/wscim/1/ips-schema/1/IPS_KVMRedirectionSettingData -h $xIP -P 16992 -u admin -p ${xPASSWORD} -k RFBPassword=${xVNC_PWD} |
| #!/usr/bin/env bash | |
| _GPG_KEY_NAME="apt-service" | |
| ## Clean residual files | |
| rm -rf $_GPG_KEY_NAME.txt $_GPG_KEY_NAME*.gpg | |
| ## Create a temporary GPG home | |
| export GNUPGHOME="$(mktemp -d)" |