[SAMBA] Can’t locate JSON.pm in @INC
version:samba-4.17.1error message:Can’t locate JSON.pm in @INC (you may need to install the JSON module) solution:install the JSON-module in PERLexecute following command as root: cpan JSON
version:samba-4.17.1error message:Can’t locate JSON.pm in @INC (you may need to install the JSON module) solution:install the JSON-module in PERLexecute following command as root: cpan JSON
system: FreeBSD v13.0-p7 reason: the bootloader is broken (e.g. after update) solution: reinstall the bootloader(s) to your boot disk(s) example: zroot (2-disk zfs-mirror with GPT partition tables) download a bootable FreeBSD-Image(e.g. FreeBSD-13.0-RELEASE-amd64-memstick.img) copy the image-file to a USB-stick (attention: all … Continued
use the following command to clear the history buffer:
install the Oracle VM VirtualBox Extension Pack(it enables support für USB 2.0 and 3.0) check, if you have read/write-access to the USB-device files(/dev/bus/usb/…) if not:create a new group named vboxusers, add your username to the group vboxusers andchange the group-ownership … Continued
problem: GTK applications need 25 seconds to start (info: 25s is the D-bus timeout) solution: uninstall the package xdg-dbus-proxy [edit 2023-09-10] uninstall the package xdg-desktop-portal-gnome
problem: if the name of the DEBIAN distribution has changed (e.g. testing-version changes from “bullseye” to “bookworm”), aptitude denies the update procedure. It requests a manual command to proceed. solution: execute the command apt-get update –allow-releaseinfo-change (it updates the file … Continued
minimal working example: read data from MCP23017-register and print it to screen.
purpose: measuring the timespan between rising/falling-edge (=off/on/off-change) of a digital-output-bank (GPA0…GPA7) testing equipment: -Raspberry Pi 3 Modell B-I2C-adress of MCP23017-chip = 0x20-MCP23017 register-adress of 8 digital-outputs: 0x14-Owon SDS7102 digital ocsilloscope conclusion: I²C-baudrate bash Python C 100.000 5,18 ms @ 75 … Continued
minimal working example, which creates a GTK-window and displays the first page of the given pdf-file.(compile with command: gcc example.c -o example `pkg-config –cflags –libs gtk+-3.0 poppler poppler-glib`) versions: GTK+ 3.24.23-2 and poppler-20.09.0-2
minimal working example, which creates a GTK-drawing-area and draws ‘Test.’ inside.(compile with command: gcc example.c -o example `pkg-config –cflags –libs gtk+-3.0`) versions: GTK+ 3.24.23-2 and cairo 1.16.0-4