paulgorman.org

< ^ txt

Tue Jan 13 09:17:14 EST 2015. Beverly Hills, MI Went to bed early, but slept poorly. Cold and clear. Quick commute. On time to work. Goals for today: Work: - Tally machines to be virtualized, and their requirements Done. - Settle on vm host server build Done, but may modify requirements - Test new router at Tel-Twelve Delayed. Sent Scott to fix Central phone line instead. - Review IT project list for 2015 with staff Delayed because Scott went to Central. - Read up on updating OpenBSD from Release to Stable Read and documented. Got source tree and patches, but waiting till maintenance to update. - Set up linux SFTP server with multi-factor authentication for bank lockbox `man 5 sshd_config` and search for AuthenticationMethods Crap. Looks like the sshd version on Wheezy may not support AuthenticationMethods. Jessie does, as does OpenBSD 5.6. What to do? Should we set this up on the still experimental openbsd-vpn-server or install a new OpenBSD (or Jessie) utility vm or what? I'll decide tomorrow. - Play with tcpdump for pflog reading on OpenBSD. Home: - Laundry Nope. Tomorrow. - Learn more about C programming Did a couple of tedious exercises from a book. Plan to read more of the chapter before bed. Questions: - Why is Microsoft licensing such a pain in the ass? It's like they don't want to sell me software. - Do we need to escape ampersands within HTML pre blocks, or are they OK bare? Un-escaped ampersands may render correctly, but it's probably the browser silently fixing it. Using the &amp; HTML escape is more correct. - Why has `weather` stopped working as expected on falstaff? Does it still work on bava? On falstaff `timeout 2s weather -q kvll` only every outputs: Searching via station... [caching result Troy, Oakland/Troy Airport, MI, United States] No, not true. `weather` isn't broken, it just never returns in under two seconds. I tried changing it to `weather --cacheage=600 --cachedir=~/.weather -q kvll` but it always seems to query the server. The ~/.weather directory exists, and _does_ seem to contain recent data. Ah: --- 508 --- falstaff .weather $ whereis weather weather: /usr/bin/weather /home/paulgorman/bin/weather /usr/share/man/man1/weather.1.gz --- 509 --- falstaff .weather $ cat ~/bin/weather #!/bin/sh /usr/bin/weather -a KVLL After removing ~/bin/weather, it works. Evidently, the -a flag implies --no-cache-data or it's caching basic data but also actively hitting the server for weather alerts. - How do you get Apache directory listing to order files in reverse name order by default? http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html IndexOrderDefault Directive In this case (the index for this diary), I want an .htaccess file containing: IndexOrderDefault Descending Name

< ^ txt