This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
| # usage: redfin-images "http://www.redfin.com/WA/Seattle/123-Home-Row-12345/home/1234567" | |
| function redfin-images() { | |
| wget -O - $1 | grep "full:" | awk -F \" '{print $4}' | xargs wget - | |
| } |
| #!/bin/bash | |
| # | |
| # This program is free software. It comes without any warranty, to | |
| # the extent permitted by applicable law. You can redistribute it | |
| # and/or modify it under the terms of the Do What The Fuck You Want | |
| # To Public License, Version 2, as published by Sam Hocevar. See | |
| # http://sam.zoy.org/wtfpl/COPYING for more details. | |
| # | |
| # Version 3, enhanced for Ubuntu 13.X+, Fedora 19+, and similar distros. |
| #!/bin/bash | |
| # | |
| # This program is free software. It comes without any warranty, to | |
| # the extent permitted by applicable law. You can redistribute it | |
| # and/or modify it under the terms of the Do What The Fuck You Want | |
| # To Public License, Version 2, as published by Sam Hocevar. See | |
| # http://sam.zoy.org/wtfpl/COPYING for more details. | |
| # | |
| # Version 3, enhanced for Ubuntu 13.X+, Fedora 19+, and similar distros. |
This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
This is a short cheatsheet to help you determine whether a release from Amazon, Hulu, or Netflix contains the lossless/untouched (as in no further loss of quality compared to what the streaming services provide) video/audio or not, since tagging is not always consistent and therefore it's an unreliable way to determine this alone.
In most cases, non-lossless rips from these services are screen captures (which, when done by professional releasers, should be high quality and contain little to no glitches – see the history section for details), but in some cases they may be simply reencoded from the untouched stream, for example to crop black bars or reencode from a higher-quality stream to achieve better quality. Also, generally the audio is untouched even when the video is not, but that's not always the case. There is no easy way to differentiate these cases, so I'm only describing what to look for in regards to lossless video streams, and for those, you can be quite certain
| #!/usr/bin/env sh | |
| ############################################# | |
| # WARNING # | |
| # No more commits are going to be made to # | |
| # this gist. Please get the latest script # | |
| # from the new repository: # | |
| # https://github.com/pixelomer/macos-mkjail # | |
| ############################################# |
| #!/bin/bash | |
| # macOS Automator script to rename photos/videos based on creation date | |
| # Blog post: https://paulgalow.com/macos-quick-action-rename-photos-videos-timestamp | |
| export PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
| # Create subfolder to store renamed files | |
| createDestination() { | |
| readonly destination="$(dirname "$file")/sorted" |
⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
| #!/bin/bash | |
| ### | |
| # This script utilizes apprise (https://github.com/caronc/apprise) to send notifications | |
| # You need to have apprise available for the user sonarr operates under. | |
| # I installed it via `sudo pip install --system apprise` although the python | |
| # community really dislikes it when you do that. Recommended installation would be | |
| # something along the lines of: | |
| # | |
| # sudo su sonarr -s /bin/bash | |
| # pip install --user apprise |