Better file size reduction of a PDF in OS X

The default PDF file size reduction in OS X (I’m on Mavericks) is god awful, and causes text to be illegible. Scouring the web, below is a solution from blogger Eric, at http://meyerweb.com/eric/. Eric says “If you’re the hands-on type who’d rather set things up yourself, or you’re a paranoid type who doesn’t trust downloading zipped…

Fix Smart Mailbox in Mac Mail App

Update 20 March 2017 Well, it looks like the below method doesn’t work anymore. I’m currently on El Capitan, 10.11. Firstly, the Envelope files don’t existing anymore. Secondly, mdimport returns a lot of errors. Not a particularly patient person, I assumed the worst, and luckily found something that appeared to work. macissues.com – fix-mails-smart-mailboxes-not-working-properly by…

Turning on PHP on OS X

# Updated: 30 Jan 2015 # tested on: uname -a Darwin 13.3.0 Darwin Kernel Version 13.3.0 Darwin 13.4.0 Darwin Kernel Version 13.4.0 Darwin 14.1.0 Darwin Kernel Version 14.1.0 # root part, if necessary: sudo su – cp /etc/php.ini.default /etc/php.ini vi /etc/php.ini vi /private/etc/apache2/httpd.conf # enable php module, search php or LoadModule apachectl restart ls /etc/apache2/users/…

Country Codes

Country Codes   INSERT INTO `country` (`code`,`name`) VALUES (‘AF’,’Afghanistan’), (‘AX’,’Åland Islands’), (‘AL’,’Albania’), (‘DZ’,’Algeria’), (‘AS’,’American Samoa’), (‘AD’,’Andorra’), (‘AO’,’Angola’), (‘AI’,’Anguilla’), (‘AQ’,’Antarctica’), (‘AG’,’Antigua And Barbuda’), (‘AR’,’Argentina’), (‘AM’,’Armenia’), (‘AW’,’Aruba’), (‘AU’,’Australia’), (‘AT’,’Austria’), (‘AZ’,’Azerbaijan’), (‘BS’,’Bahamas’), (‘BH’,’Bahrain’), (‘BD’,’Bangladesh’), (‘BB’,’Barbados’), (‘BY’,’Belarus’), (‘BE’,’Belgium’), (‘BZ’,’Belize’), (‘BJ’,’Benin’), (‘BM’,’Bermuda’), (‘BT’,’Bhutan’), (‘BO’,’Bolivia, Plurinational State Of’), (‘BQ’,’Bonaire, Sint Eustatius And Saba’), (‘BA’,’Bosnia And Herzegovina’), (‘BW’,’Botswana’), (‘BV’,’Bouvet Island’), (‘BR’,’Brazil’), (‘IO’,’British…

15 minutes to make a bootable encryptable external backup disk for your Mac

Bootable Encrypted External Backup Disk 08

Problem: My Mac internal disk is large, but I want to create a bootable backup on an external disk that is much smaller. Problem: I want to create a bootable backup on a thumb drive or SD card that’s 32G small. Problem: I need my external bootable backup protected by encryption Problem: My Mac is…

Mac OS X Turning on full disk encryption

FileVault

Problem: How to encrypt all the data on your laptop when you travel, in case you lose it, or even if you are burgled at home. Summary System Preferences -> Security & Privacy -> File Vault Turn On FileVault… FileVault recovery key dialog states: “The recovery key is a “safety net” which can be used…

Force Time Machine to backup TrueCrypt container

TrueCrypt settings

Problem: Apple Time Machine doesn’t backup TrueCrypt container files where both the modification date/time and file size doesn’t change, even if the contents do change.   Solution Open TrueCrypt preferences Un-check the “Preserve modification timestamp of file containers” Today, I’ve learnt important things about two pieces of software I use regularly. Time Machine, by default,…