Home » Archives for Patrick Kua

Author Archives: Patrick Kua

Patrick Kua is an author, speaker and consultant who still finds time to code. He works as an active, generalizing specialist at ThoughtWorks and dislikes being put into a box. He is often found leading technical teams, coaching people and organisations in lean and agile methods, sometimes facilitating situations beyond adversity. Patrick is fascinated by elements of learning and continuous improvement, always helping others to develop an enthusiasm for the same.

Using different SSH keys for different hosts

When I’m setting up a new computer, one of the tasks I need to do is set up new SSH keys to access different servers. It’s good practice not to use the same key for different services. Keys are useful so you don’t need to type your credentials in all the time when working on a trusted PC. Instead of ...

Read More »

Synchronising two external hard drives with rsync on a mac

This is more of a reminder for myself so I don’t need to keep googling or looking at man when I need to look up the syntax. Let’s assume you have two hard drives, ones called PHOTOS the other other PHOTOS_BACKUP. You can use the following command to sychronise photos (including removing all files that were deleted on PHOTOS to ...

Read More »

Changing Mac’s Default Location for Screenshots

For pedantic people like myself, who like to keep their Desktop tidy, I came across this tip to save screenshots to a different location automatically. Create a folder (mine is called Screenshots)Open a Terminal windowType the following: defaults write com.apple.screencapture locationDrag and drop the folder into terminal. You’ll end up something like the following: defaults write com.apple.screencapture location /Users/pkua/Desktop/ScreenshotsHit enter! ...

Read More »