1. FInally, I have some relatively sensible pagination. /notes returns last 10 days by default, single days can be specified with ?day=YYYY-MM-DD or ?day=YYYY-DDD

  2. If you’re using Chome and you quit accidentally, losing important text forever, don’t panic! It can be found in /Application Support/Google/Chrome/Default/Last Session (on a Mac) with a bit of digging around.

  3. I’ve been having this problem with OpenPhoto which resulted in having over 90,000 records in my tags table.

    To fix this problem, simply run this sql:

    ALTER IGNORE TABLE  `database name`.`prefix_tag` ADD UNIQUE  `unique` (  `id` )