Mac: Deleting pages in Preview.app

Today I received a PDF document, but there were two pages I’d to delete. Clicking the page and then hitting Delete didn’t work, so I did a Google search:

I figured it out! In case this is useful to anyone else: I just needed to go to the Edit menu and choose “Thumbnail.” Once the list of pages is turned into Thumbnails, you can delete them.

https://discussions.apple.com/thread/5893303

Advertisements

Magento: Admin URI 404

Today I was informed that navigating to a (previously working) Magento installations’ admin page was no longer working. Obviously, paid orders cannot be processed. So it’s pretty serious, to say the least.

Stack Overflow gave me the solution, but it’s buried pretty deep down, so I’m copy-pasting for posterity, from http://stackoverflow.com/questions/18724995/magento-404-on-admin-page.

One common cause for this behavior is an invalid value (or no value at all) being set for a custom admin path. Since you can’t access the admin, try running the following SQL query. If you see results similar to the above, or admin/url/custom_path is blank/not-present but admin/url/use_custom_path is still 1 — then that’s your problem.

Hope this helps someone else out there in some small way.