Two-factor authentication for WordPress

Written late in the morning in English • Tags: , , ,

Content management systems are being targeted by brute-force password attacks. Improve the security of your self-hosted WordPress blog by installing the Google Authenticator plugin. (more…)

»
I hadn’t run offlineimap for a month on my desktop. It brought in 2300 new messages…
»
VMware ESXi won’t do jumbo frames on my Intel card (e1000 driver). Splitting the home network into two subnets with different MTU sizes is also less than ideal as mDNS (Mac, Apple TV) and Squeezebox server advertisements would need a proxy of some sort.

File Vault volumes cannot be resized

Written late in the evening in English • Tags: ,

Turns out one has to turn off File Vault to resize the underlying partition. However, resizing does not work when running off of the recovery partition (which you might be doing to run fsck on the primary partition). (more…)

Irlantilainen soodaleipä

Kirjoitettu iltapäivän alussa suomeksi • Tägit: ,

Ainekset:

  • 3½ dl vehnäjauhoja
  • 2½ dl grahamjauhoja
  • 1 tl ruokasoodaa
  • 1½ tl leivinjauhetta
  • 3 tl muscovado-sokeria
  • 3 dl rasvaista piimää

Valmistus:

  1. Kytke uuni päälle, 200ºC.
  2. Mittaa kuivat ainekset kulhoon.
  3. Sekoita sokeri huolellisesti jauhoihin niin, ettei sitä jää kokkareiksi.
  4. Lisää piimä ja sekoita kunnes kaikki jauhot ovat taikinassa.
  5. Vaivaa taikina kevyesti tasaiseksi jauhotetulla alustalla.
  6. Muotoile taikinasta n. 4 cm korkea limppu leivinpaperin päälle.
  7. Tee limppuun leipäveitsen tylsällä syrjällä syvä ristikuvio.
  8. Paista n. 45 minuuttia. Kypsä leipä kuulostaa koputettaessa ontolta.
  9. Jäähdytä ritilällä. Jos haluat pehmeämmän kuoren, jäähdytä pyyhkeen alla.

Time to upgrade Asterisk

Written late in the evening in English • Tags: , ,

SIP appears to be broken in the Asterisk 1.6 packages released to address DSA-2550. I resorted to a hasty upgrade to Asterisk 1.8 from backports. (more…)

Omenakaurapaistos

Kirjoitettu iltapäivän alussa suomeksi • Tägit: ,

Ainekset:

  • n. 10 kotimaista omenaa (hapokasta)
  • (½ dl calvadosta, rommia tai likööriä)
  • kanelia

Päälle:

  • 150 g voita
  • 1½ dl fariinisokeria
  • 4½ dl (isoja) kaurahiutaleita
  • 1 dl erikoisvehnäjauhoja

Lohko kuoritut omenat voideltuun uunivuokaan. Kaada halutessasi päälle calvadosta tms. Anna maustua hetki tai muutama tunti. Ripottele pinnalle kanelia.

Sekoita fariinisokeri, kaurahiutaleet sekä vehnäjauhot keskenään. Lisää sulatettu voi ja sekoita huolellisesti. Levitä seos omenalohkojen päälle.

Kypsennä 200-asteisen uunin alatasolla noin puoli tuntia. Nauti sellaisenaan tai tarjoa maidon, vaniljakastikkeen tai jäätelön kanssa.

Troubleshooting USB Audio 2.0 on a Mac

Written in the wee hours in English • Tags: ,

I noticed my Cambridge Audio DacMagic Plus was no longer recognized by my iMac and music was coming out of the built-in speakers instead. I had no idea when the DAC had disappeared, as I hadn’t listened to music in the office for a while (and had been traveling for a week as well). I moved it to another USB port and it was recognized, but the signal it received was at 48 kHz instead of 192 kHz.

I tried:

  • connecting a USB headset to the problem port: it was not recognized.
  • connecting the DAC to a Macbook Air: the DAC indicated a 192 kHz signal.
  • an SMC reset: no change.
  • a PRAM reset: I got the USB port back, but still at 48 kHz.

My searches on Google weren’t turning up anything useful about the sample rate on USB Audio. Then I happened to search for just “imac usb audio 2.0” and started reading the top hit: USB Audio on the Mac. It has a section on Clock Entities showing the Audio Midi Setup tool.

For some reason the Mac had the clock for the external DAC set at 48 kHz. Using the dropdown menu I could set it at 192 kHz and all was instantly back to normal.