- Disconnect power supply then start laptop
- Tap F1 during Lenovo splash screen to enter BIOS
- In Bios, go to Security then disable Secure Boot
- F10 to Save and Exit
- Start on usb-hdd temporary or change boot order permanently in Bios
$ sudo dd bs=4M if=/path/archlinux-2024.12.01-x86_64.iso of=/dev/sdb1 conv=fsync oflag=direct status=progress && syncVerify signature of Arch Linux ISO:
$ gpg --keyserver-options auto-key-retrieve --verify archlinux-2024.12.01-x86_64.iso.sighttps://wiki.archlinux.org/title/Installation_guide#Verify_signature
Alternative
To find public key that was used to sign Arch Linux ISO, run the following command:
Strips away the metadata overhead (such as memory addresses) from the Intel HEX file and retains only the raw data in the .bin file. This makes firmware file lightweight and suitable for direct loading into memory, such as for use in a bootloader or any firmware updater
$ arm-none-eabi-objcopy.exe -I ihex input.hex -O binary output.binArm GNU Toolchain: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
By default, OpenSSL installed by Git on Windows is located at:
C:\Program Files\Git\usr\bin\openssl.exe
Follow these steps to generate a private and public key pair using OpenSSL.
- Create Private Key
Run the following command to generate a 2048-bit RSA private key and save it to private_key.pem:
$ lsblk
$ sudo cryptsetup open /dev/sdb2 vaultdrive
$ mkdir -p /media/data
$ sudo mount /dev/mapper/vaultdrive /media/data
$ ranger /media| symbols = 'ABCDE' | |
| genexp_tuple = tuple(ord(symbol) for symbol in symbols) | |
| print(f"{genexp_tuple}") | |
| import array | |
| # parenthesis around second arg is mandatory for genexp arg | |
| genexp_array = array.array('I', (ord(symbol) for symbol in symbols)) | |
| print(f"{genexp_array}") |
Show list of remotes
$ git remote
$ git remote -vEdition of remotes
$ git remote add <remote_name> <SSH repo address>
$ git remote remove | colors = ['black', 'white'] | |
| sizes = ['S', 'M', 'L'] | |
| tshirts = [(color, size) for color in colors for size in sizes] | |
| # (color, size): [('black', 'S'), ('black', 'M'), ('black', 'L'), ('white', 'S'), ('white', 'M'), ('white', 'L')] | |
| tshirts = [(size, color) for size in sizes for color in colors] | |
| # (size, color): [('S', 'black'), ('S', 'white'), ('M', 'black'), ('M', 'white'), ('L', 'black'), ('L', 'white')] |