This script should ensure that VMware modules will be rebuilt and signed for Secure boot when a kernel package is updated.
Copy the script below to /etc/kernel/postinst.d/vmware
and make it executable.
#!/bin/sh -e
export LANG=C
This program can be used to convert raw BGRA 8888 framebuffer to standard PNG file. |
This is a small program for restarting DHCP on first interface for the EV3 programmable brick. This can be useful when you need to make the brick connect through a *supported* USB-to-Ethernet adapter to a wired network and you don't want to wait for a restart. | |
How to build: | |
- Get a copy of EV3 assembler (lmsasm) - my modified version can be found on https://github.com/JakubVanek/ev3sources-asm | |
- Download connect.lms to the directory with file assembler.jar from the step above. | |
- Compile this program. That is done by running "java -jar assembler.jar connect" in the assembler directory. | |
- Upload the connect.rbf file to the brick. |
Creates a mono "balanced" output from a stereo unbalanced one. |
import sys | |
import pandas as pd | |
import numpy as np | |
def main(): | |
if len(sys.argv) != 3: | |
print("Chyba: očekávány dva argumenty", file=sys.stderr) | |
print("Použití:", file=sys.stderr) | |
print(f"{sys.argv[0]} <csv sklad> <csv pokladna>", file=sys.stderr) | |
sys.exit(1) |
## PART 1: get RPi image ready | |
# where the chroot will be | |
CHROOT=$(pwd)/chroot | |
# companion directory (will be bind-mounted to /companion) | |
COMPANION=$(pwd)/companion | |
# download latest Raspbian | |
wget https://downloads.raspberrypi.org/raspios_lite_armhf_latest -O raspbian.zip | |
unzip raspbian.zip # decompress the image |