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
Mint 19.2 | |
disable kdb backlight to avoid lockup at boot: | |
ln -s /dev/null /var/lib/systemd/backlight/platform-dell-laptop\:leds\:dell\:\:kbd_backlight | |
It's actually this command, but I did not manage to mount up the system for systemctl to work: | |
sudo systemctl mask systemd-backlight@leds\:dell\:\:kbd_backlight.service | |
For wifi to work the Broadcom 3rd party driver install is needed (broadcom, what did you expect? - closed drivers..) |
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
Install ssmtp | |
/usr/local/etc/ssmtp/ssmtp.conf: | |
root=destination@gmail.com | |
mailhub=smtp.gmail.com:587 | |
AuthUser=useracc@gmail.com | |
AuthPass=userpass | |
UseSTARTTLS=YES | |
rc.conf: |
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
yum install ssmtp | |
/etc/ssmtp/ssmtp.conf: | |
TLS_CA_FILE=/etc/pki/tls/certs/ca-bundle.crt | |
root=useracc@gmail.com | |
mailhub=smtp.gmail.com:587 | |
AuthUser=useracc@gmail.com | |
AuthPass=userpass | |
UseSTARTTLS=YES | |
UseTLS=Yes |
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
Under File Storage -> Run a command | |
/etc/motioneye/convert.sh %f | |
convert.sh: | |
#!/bin/bash | |
FILEPATH="$1" | |
TMPPATH=$(mktemp).mp4 |
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
ffmpeg -i inputfile.mkv -codec copy outputfile.mp4 | |
ffmpeg -i inputfile.mkv -codec copy -c:a aac outputfile.mp4 |
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
ffmpeg -i chunkies.m3u8 -codec copy output.mp4 | |
If TS: | |
for file in $(cat chunks.m3u8 ); do cat $file.ts >> all.ts ; done | |
ffmpeg -i all.ts -acodec copy -vcodec copy all.mp4 |
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
curl -sSL https://install.pi-hole.net | bash |
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
OctoPi: | |
network={ | |
ssid="Your Wifi SSID" | |
psk="supersecretwifipassword" | |
} | |
========================================================== | |
RASPBIAN: | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=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
Prusa Mesh Level (didn't change - used default): | |
G28 W ; home all without mesh bed level | |
G80 ; mesh bed leveling | |
G81 ; check mesh leveling results |
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
old kernels: | |
Vanila: | |
## dnf repoquery set negative --latest-limit ## | |
## as how many old kernels you want keep ## | |
dnf remove $(dnf repoquery --installonly --latest-limit=-2 -q) | |
YUM-UTILS: | |
## CentOS, Red Hat (RHEL) ## | |
yum install yum-utils |
OlderNewer