Today I had a go at setting up wprig. It is a development environment for making WordPress themes. I’m using it to try and update our church website. Here are some tips on how to set it up. This is very advanced – for WordPress Theme Coders.
The new Mac Minis have super fast SSD Drives. I measured read times of 2500MB/s which is 5 times faster than the SSD drive in my old mac mini. But these drives are super super expensive. (An extra US$1400 for a 2TB drive). So I thought it might be an option to buy a Mac Mini with a small internal drive (256GB) and add an external SSD drive and combine them into a fusion drive. It didn’t work! But I thought I ‘d write a post in case anyone else has the same idea.
If you get a bit bored booting up your Mac and waiting for the Apple logo, here’s a trick that will let you see what’s going on behind the scenes. It’s called verbose mode and it simply echoes to your screen everything that the computer is doing while it boots up. It doesn’t change anything about the way the computer operates, it doesn’t speed it up or slow it down, it just displays it on the screen.
To enable “Verbose mode” go into the terminal (Applications/Utilities/Terminal) and type in the following line:
XML is a format that some applications use to share data. For example I use a metronome called ‘Tempo’ on my iPhone. It allows me to share the tempos of all my songs by exporting an ‘XML’ file to an email.
This document can be read by the tempo app and it contains all the information about my tempos but it’s very hard to read and I would like to share the tempos with other people in a clearer format.
Here’s how to get the data out of such a file and into a spreadsheet. This should work for any XML file that you need to parse.
Confession time. I just got scammed. Yep. I know the dangers, I’ve spotted scams before, but this time I fell for it and for 5 minutes or so my account was vulnerable to attack. Thankfully I realised what was happening fast and was able to fix things quickly, but this scare has made me all the more wary of opening emails and clicking on web links.
With iTunes 12.7 you can’t download apps for older iPhones. If you have an older iPhone and you want to download older apps for you need iTunes 12.6.
But Apple have introduced a security feature called ‘System Integrity Protection’ that stops you from deleting iTunes 12.7.
To delete iTuens 12.7 (and go back to iTunes 12.6) you can disable System Integrity Protection, remove iTunes 12.7, then re-enable the protection. It’s pretty hard core. I would say this is not recommended by Apple. Here’s how to do it…
Apple releases a major update of OS X every year or so and for the past 10 years I have just done an automatic update, installing the new OS X on top of the old version and keeping all the existing applications and settings. When I upgraded to El Capitan I decided to do a completely fresh installation. I started with a new hard drive (SSD). I installed OS X. Then I copied everything across manually. This took about half a day and some things didn’t work but overall I think it has been a good spring clean. This article is not so much a step-by-step guide but a rough summary of what I did.
This is a bit of an advanced tip for web developers. Safari used to have a menu item called ‘View Page Source’. If you selected this you could see the HTML code of the website you were viewing. This option has been removed from recent versions of Safari but you can re-enable it by turning on Safari’s Develop menu.