If you’re a Things user like me, and have to deal with Azure DevOps for working on software projects, I wouldn’t doubt that you’ve thought that there must be some way the two can be linked–some way to get the work items you’re focusing on from DevOps into Things. Up until now, I’ve been adding my important work items to my Things inbox manually, either by copy and pasting their titles, or re-typing their titles in their entirety–both methods of which are frustrating and time consuming. In my opinion, entering items into your task manager shouldn’t force you into a mental ‘context switch’, and switching into Things to paste/type in long-winded work items from DevOps typically leads to this happening, at least for myself.
Trying to solve this, I decided to automate the process with the new Shortcuts app in macOS Monterey. It’s my first ‘big’ shortcut, and whilst I am a software developer and could’ve very well written a fully-fledged script in a language of my choice for this, I settled on Shortcuts for this for two main reasons; it easily integrates with the applications I needed it to integrate with, and it’s easy to share the automations I create with others. The Shortcuts app is the future of automation in the Apple ecosystem, so I very much enjoyed this opportunity to properly dive into it.
…or “What to do if you lose Mac OS after resizing your Windows Bootcamp partition”
TLDR; Scroll to the bottom of the post where I outline the steps I took to make my Mac partition bootable again without any data loss.
I was meant to spend this afternoon completing an assignment for my course due Thursday. Instead, I nearly lost all of my programming projects dating back to when I began to take programming seriously at age twelve. This is your typical “always have and check backups story”; something I thought I was immune to – until now, at least.
It began when I decided I needed to expand my Mac’s Windows 10 Bootcamp partition. I thought this would be an easy task; I’d shrink my APFS partition from Mac OS, as Disk Utility would be the beast utility to accomplish that task, and then expand my Windows partition from Windows, as I don’t trust Mac OS to expand NTFS. Shrinking the APFS partition went swimmingly, it took about 15 minutes and apart from Disk Utility freezing, seemed to complete without a hitch.
The next step was to expand my Bootcamp NTFS partition to fill the unallocated space on the SSD. I decided to undertake this task in Windows, rather than booting a Linux live USB. The first tool I tried was the built-in Windows Disk Management, however it quickly became apparent that it cannot resize a currently mounted partition, like the Windows C: drive. So off to the internet I went, in search of a partitioning tool that could somehow accomplish this task. I landed on EaseUS Partition Master, it was a program I had heard of before and it seemed to be fairly reputable. It advertised itself as a safe way to manage partitions. This turned out, in my case, to be false.