This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 | |
[email protected] | |
mailhub=smtp.gmail.com:587 | |
[email protected] | |
AuthPass=userpass | |
UseSTARTTLS=YES | |
UseTLS=Yes |
This file contains hidden or 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: | |
[email protected] | |
mailhub=smtp.gmail.com:587 | |
[email protected] | |
AuthPass=userpass | |
UseSTARTTLS=YES | |
rc.conf: |
This file contains hidden or 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..) |
NewerOlder