Control USB Powered Devices – Fun Tech Projects
sudo apt-get install libusb-1.0-0-dev
git clone https://github.com/mvp/uhubctl
cd uhubctl
make
sudo make install
sudo apt-get install libusb-1.0-0-dev
git clone https://github.com/mvp/uhubctl
cd uhubctl
make
sudo make install
Christophe, officier de police judiciaire, est recruté comme brigadier à la DGSI. Pendant plusieurs mois, il revend des informations confidentielles sur le darkweb. Enquêteur de police le jour et délinquant la nuit, il raconte cette double vie qui l'a mené en prison.
Passionnante histoire.
Suite à l'achat de clés USB SanDisk, j'ai reçu ce coupon dont je ne me servirai pas :
RPDLX-0720-13700-73539-89825
FCFS, comme on dit ine inegliche.
sudo apt install ssh-audit
https://www.ssh-audit.com/
https://www.ssh-audit.com/hardening_guides.html
https://github.com/jtesta/ssh-audit
— Permalink
La messagerie interstellaire. Fallait y penser !
But : avoir un raspberry pi qui affiche, au démarrage, firefox en plein écran et rien de plus. C'est pour une TV d'information / monitoring.
Pour ça, j'utilise la version «no desktop» de «Raspberry Pi OS» avec un auto login.
sudo apt-get install xorg firefox
echo '#!/bin/sh
xrandr -s 1920x1080
exec firefox -height 1080 -width 1920 --window-size 1920,1080 --kiosk file:///home/pi/index.html
' > ~/.xinitrc
# là, ça devient crade mais ça «marche»
echo 'if [[ -z "$DISPLAY" && $(tty) == /dev/tty1 && "$(pgrep firefox)" == "" ]]; then startx -- -nocursor; fi' >> ~/.profile
Pour éteindre ou allumer la TV :
DISPLAY=:0.0 xrandr --listmonitors
DISPLAY=:0.0 xrandr --output HDMI-1 --off
DISPLAY=:0.0 xrandr --output HDMI-1 --auto