A bike from Andorra
Every now and then components seem to break just because they can. Unfortunately, my Titus El Guapo frame decided to break while riding in a trail centre so I was basically forced to buy something new: A Commençal Meta AM V4
Every now and then components seem to break just because they can. Unfortunately, my Titus El Guapo frame decided to break while riding in a trail centre so I was basically forced to buy something new: A Commençal Meta AM V4
It seems some guys abused he.net for faking geographical locations in order to access Netflix. Not a bad idea from a technical perspective but it is quite annoying if you would like to use Netflix AND he.net tunnels. Netflix was so kind to block any he.net IPv6 range.
Common workarounds are like disabling AAAA lookups for netflix.com or blackhole routing. I favour the latter:
ip -6 route add blackhole 2a01:578:3::/48 ip -6 route add blackhole 2406:da00:ff00::/48 ip -6 route add blackhole 2600:1407:19::/48 ip -6 route add blackhole 2607:f8b0:4001::/48 ip -6 route add blackhole 2620:108:700f::/48
Update:
As it turned out, my initial idea was good but not perfect. I ended up with a pretty standard dnsdist configuration that just forwards any request to ISP nameservers and blocks AAAA for netflix:
addAction(AndRule({QTypeRule(dnsdist.AAAA),RegexRule("netflix\\.com$")}), RCodeAction(dnsdist.REFUSED))
Travelling Malaysia during "rain season" may sound weird but weather was fine most of the time.
I had to get rid of Gallery3 without losing all my pictures and albums. Fortunately, I found Koken as a possible replacement. It turned out that there is also is quite simple way to migrate Gallery3 to Koken - thanks to Daniel Muller.
His migration scripts can be found here: https://github.com/DanielMuller/gallery_to_koken
Three issues occured:
- Galleries were obviously imported but not shown as albums
- Aspect ratio was a bit messed up
- Several images were not shown
A few SQL statements later, they were solved:
update koken_albums set level=1;
update koken_content set aspect_ratio = width/height;
update koken_content set filename = replace(filename, ' ', '_');
Obviously, filenames on disk should match those in the database:
find . -name "* *" | while read FILENAME; do mv "$FILENAME" $(echo $FILENAME | tr ' ' '_'); done;
Finally, get the urls nice and clean:
url.rewrite-if-not-file = (
"^/koken/admin($|/.*)" => "$0",
"^/koken/storage/cache/images(/[0-9]{3}/[0-9]{3}/.*)$" => "/koken/i.php?path=$1",
"^/koken(/[^?]*)(\?(.*))?" => "/koken/app/site/site.php?url=$1&$3"
)