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
# This isn't a script | |
dont try to run it | |
# Install smokeping | |
sudo apt install smokeping | |
# Setup | |
sudo ln -s /usr/share/smokeping/www /var/www/html/smokeping | |
sudo cp /var/www/html/smokeping/smokeping.fcgi.dist /var/www/html/smokeping/smokeping.fcgi | |
echo 'exec /usr/lib/cgi-bin/smokeping.cgi /etc/smokeping/config' >> /var/www/html/smokeping/smokeping.fcgi |
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
# exiftool.org | |
~/bin/google_photos_cleanup.py | |
~/bin/Image-ExifTool-12.34/exiftool -r -d %s -tagsfromfile "%d/%F.json" "-GPSAltitude<GeoDataAltitude" "-GPSLatitude<GeoDataLatitude" "-GPSLatitudeRef<GeoDataLatitude" "-GPSLongitude<GeoDataLongitude" "-GPSLongitudeRef<GeoDataLongitude" "-Keywords<Tags" "-Subject<Tags" "-Caption-Abstract<Description" "-ImageDescription<Description" "-DateTimeOriginal<PhotoTakenTimeTimestamp" -ext "*" -overwrite_original -progress -m --ext json . | |
~/bin/remove_json.py |
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
# exiftool.org | |
~/bin/google_photos_cleanup.py | |
~/bin/Image-ExifTool-12.34/exiftool -r -d %s -tagsfromfile "%d/%F.json" "-GPSAltitude<GeoDataAltitude" "-GPSLatitude<GeoDataLatitude" "-GPSLatitudeRef<GeoDataLatitude" "-GPSLongitude<GeoDataLongitude" "-GPSLongitudeRef<GeoDataLongitude" "-Keywords<Tags" "-Subject<Tags" "-Caption-Abstract<Description" "-ImageDescription<Description" "-DateTimeOriginal<PhotoTakenTimeTimestamp" -ext "*" -overwrite_original -progress -m --ext json . | |
~/bin/remove_json.py |
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
# Trim Original Video | |
# Start at original_video 5:30 and end at original_video 10:30 to produce a 5:00 video | |
# ffmpeg -ss 00:05:30 -to 00:10:30 -i original_video.mp4 -c copy trimmed_video.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
#!/bin/bash | |
# Example - merging the '971' named videos | |
#printf "file '%s'\n" ./*971.MP4 > mylist.txt | |
#ffmpeg -f concat -safe 0 -i mylist.txt -c copy 971.mp4 | |
printf "file '%s'\n" ./*$1.MP4 > mylist.txt | |
ffmpeg -f concat -safe 0 -i mylist.txt -c copy $1.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
#!/bin/bash | |
#(starting with v18 this option was renamed to KODI_AE_SINK=ALSA) | |
#/usr/bin/pasuspender -- /usr/bin/env AE_SINK=ALSA /usr/bin/kodi | |
systemctl --user stop pulseaudio.socket | |
systemctl --user stop pulseaudio.service | |
/usr/bin/env AE_SINK=ALSA /usr/bin/kodi | |
systemctl --user start pulseaudio.socket | |
systemctl --user start pulseaudio.service |