For god knows how long,
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; is one of the line usually included in nginx config snippet for proxying to a unicorn (Rails) backend.
…which is something you should never do unless you have another load balancer in front of the nginx being configured.
That line basically tells nginx to append
$remote_addr to whatever
X-Forwarded-For value currently set. It is only useful when your nginx is behind other load balancer which set up its own (hopefully correctly)
X-Forwarded-For. It should be set explicitly to
$remote_addr for any external-facing proxy. Otherwise fun things will happen.
For working with locked packages (the ones which must be upgraded through compilation because of using custom options)
# filename: pkg-lock-outdated
pkg query -e '%k = 1' %o | while read pkgorig; do
pkg version -ovL =\> -O "$pkgorig"
The script above is to list locked packages which need upgrading. And to upgrade everything at once (and sit in front of PC waiting for whole process)
pkg-lock-outdated | cut -f 1 -d '<' > "$listfile"
while read <&3 outdated; do
pkg unlock "$outdated"
pkg lock "$outdated"
done 3< "$listfile"
rm -f "$listfile"
There’s another alternative of unlocking all packages at once, run batched portmaster, and lock them all again.
I’ve bought and ripped this a while ago but then forgot to actually release. Some more incoming this weekend. Don’t forget to buy original, etc.
[ Torrent ]
As I’m too lazy to keep the other domain, this blog who nobody visits have changed the domain once again back to blog.myconan.net. animebsd.net will not be extended after next year. I’ll keep looking on access to old domain and to make sure no one accidentally visits this blog using wrong domain.
Uh, yeah. The anime itself is okay.
[ Torrent ]
Contains spoiler up to this episode. Also no, no Comiket 84 report in planning. Continue reading
Update: whoops, I fail at life ヽ( >∀<)ﾉ
Update 2: crc32 7239D1B8, md5 1d229cc5e7affdc1994c8483bc7b4de9.
Update 3: ocd kicked in ヽ( >∀<)ﾉ
[ Torrent ]
Holy shit those insane Tanukis. Also Mamiko Noto being awesome as usual.
Up next: life-or-death performance.
First we have concert, by nao herself, singing the Mk. 2 opening \o/
And then Leanbox being fujoshi and an online gamer.
Closed off with the goddesses getting pwned and wireraped… ( ﾟ◡ﾟ)