This file contains 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
## 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 |
This file contains 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
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) |
This file contains 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
Creates a mono "balanced" output from a stereo unbalanced one. |
This file contains 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
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. |
This file contains 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
This program can be used to convert raw BGRA 8888 framebuffer to standard PNG file. |