Recent Updates Toggle Comment Threads | Keyboard Shortcuts

  • Wayne 5:46 am on July 13, 2015 Permalink | Reply  

    How to move all your messages to a new gmail account via your mac 

    Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your local computer. It uses the standard IMAP protocol but also takes advantage of some custom Gmail IMAP extensions.

    Here’s how I used it to move all my email messages from one gmail account to another one.

    (More …)

  • Wayne 12:21 am on June 2, 2015 Permalink | Reply  

    Saying No: How Successful People Stay Productive 

    Why to-do lists are rarely as effective as scheduling time…

    Saying No: How Successful People Stay Productive.

    It’s really easy to add things to a to-do list. Because it’s so simple, these lists tend to grow and grow. Even worse they encourage us to say yes to almost everything because, well, we can just add it to our list. This means we’re not discriminating and we’re not as conscious about controlling our time as we should be. As Steve Jobs said, it’s easy to say yes but the real value comes from saying no.

  • Wayne 1:42 am on May 20, 2015 Permalink | Reply
    Tags: admin,   

    Override WordPress Default Attachment “Link to” Setting

    via Override WordPress Default Attachment “Link to” Setting.

  • Wayne 10:34 pm on February 3, 2015 Permalink | Reply  

    how to move wordpress site to new url on the same server. 

    1. Setup new directory and copy across all  old files.

    2. Edit functions.php of old site.

    Add these two lines to the file, immediately after the initial “<?php” line.


    reload admin pages a few times. remove the 2 lines

    3. Update URL’s in database tables.

    On new site, replace all URL’s in database. Use ‘Better Search replace’ plugin on database with old url to new url (serialised that’s why you need this
    plugin) on all tables

    4. Redirect old site.


    • Thomas 8:29 am on April 7, 2015 Permalink | Reply

      Hi Wayne, nice blog! Looking for a follow button so I can see all your posts on my WordPress reader on my iPad. Do you have one? Thanks! Also looking for a follow button on your MacintoshHowTo blog but – can’t find one. Thanks. 😀

  • Wayne 9:38 am on January 12, 2015 Permalink | Reply
    Tags: analytics,   

    How to set up custom dimension tracking in wordpress 

    I wanted to compare 2 different wordpress themes.

    I’m using a plugin called SES theme test or something like that and it swaps between 2 themes so I den test them. But I need to set up analytics to gather the data as follows:


    1. Set up google analytics to look for custom variables.

    Firstly go to your analytics interface and click on the ‘Admin’ tab (blue) then on the ‘Properties Settings’ (here it’s selected – orange.

    Firstly go to your analytics interface and click on the 'Admin' tab (blue) then on the 'Properties Settings' (here it's selected - orange.


    Screen Shot 2015-01-12 at 8.26.36 pm

    Now go down and click on ‘Custom Definitions’ (above) then on Custom Dimensions (below.)

    Screen Shot 2015-01-12 at 8.26.44 pm




    Then click on ‘New Custom Dimension’ button





    Screen Shot 2015-01-12 at 8.26.53 pm


    Then fill in the ‘Name’, i just entered ‘theme name’. It’s just for your own reference.

    Screen Shot 2015-01-12 at 8.28.27 pm


    It will then show you the code to add to your theme:

    Screen Shot 2015-01-12 at 8.23.27 pm



    STEP 2, add code to theme

    REplace ga(‘send’, ‘pageview’);

    ga(‘send’, ‘pageview’, {
    ‘dimension1′: ‘get(‘Name’) ?>’

    Now analytics will pick up the theme name.

  • Wayne 12:57 am on September 30, 2014 Permalink | Reply
    Tags: phone,   


  • Wayne 12:18 am on September 30, 2014 Permalink | Reply  

    rsync server backup 

    How to back up your web server via the terminal

    This will backup your entire remote server to your local Macintosh computer.

    rsync –recursive –verbose –archive –progress –stats –size-only –dry-run ~/Sites/

    TO do for real repeat the command with –dry-run removed!

    Here’s how to make it so you don’t need to type in your password each time you rsync to the remote machine:

    1. Open the terminal window and type ssh-keygen -t rsa
    Follow the prompts and use the defaults for the filenames it gives you. Don’t enter in a password.
    2. Go to the finder menu Go|Go to Folder and type in ~/.ssh
    You should then have two new files id_rsa and
    3. Use your ftp program to copy into the .ssh directory in the home folder on your server machine, and rename it to authorized_keys.

    If server IP address changed you need to delete entry from known_hosts file on local mac with this terminal ommand:

    ssh-keygen -R hostname

  • Wayne 1:48 am on July 1, 2014 Permalink | Reply  

    Legality of taking photos of people in NSW and publishing htem

  • Wayne 10:55 am on June 25, 2014 Permalink | Reply  

    remove ds-store files from zip file 

    If you are trying to  upload theme to and are getting the following error:

    ds_store Hidden Files or Folders found

    Here is an app that will remove the offending files from your folder…


  • Wayne 1:06 am on May 8, 2014 Permalink | Reply  

    How to change the tailshaft bearing or universal joint in a Toyota Granvia Grand Hiace van 

    I can’t believe the lack of info on HiACE vans.

    Here’s how I changed a tailshaft in case anyone else wanted to try it.

    1. Better to have a pit or hoist. Very hard to do lying under van.
    2. Mark with white-out or white paint a line along tailshaft/dif/gearbox so you can line everything up again later.  Be very precise. It needs to be within about 5mm accurate when you line it all up again. Especially around the centre bearing.
    3. Undo 4 bolts that join rear uni joint to diff drive shaft. You may need to move car back and forward to make this easier. It won’t fall apart – prise 2 flanges apart with large screwdriver.
    4. Undo 2 centre bearing bolts. Support.
    5. As you drop tailshaft, remove shaft from gearbox.
    6. Put tail shaft in vice.
    7. Undo centre uni joint.
    8. Mark centre bearing thread with white-out or take a photo so you know which way it’s lined up. Undo centre bearing bolt. This is a huge bolt, done op  tightly, and it has a chisel hit in it to stop it moving. There’s a washer that then comes off after bolt.
    9. My old bearing then just pulled off by hand.
    10. Put a little grease inside new bearing and sit new bearing on, but don’t hit it on. Be careful to line it up properly.
    11. Do up bolt and this will press bearing on.
    12. Do it up tight. Then hit with chisel in the right spot to fix it permanently.
    13. Put it all back together.


    mark well, very well.

    chisel hit bearing thread before re-assembly

    easier as 2 man job to help lift tail shaft.

    easier in pit or on hoist.

    Total time approx 2 hours. This was the first time I’ve changed a tailshaft bearing.




Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc