Resize APFS Container in macOS 10.13 VMWare Image

Resize APFS VoContainerlume in macOS 10.13 VMWare Image

Ingo Richter

2 minute read

Resize VMWare Disk size VMWare provides an option to resize the Hard disk of a VM. The Settings dialog provides this option under Hard Disk. If the VM is not running and you don’t have a snapshot, the slider is enabled, and you can size the disk to your desired size. I wanted to increase the size of the hard disk from 50 GB to 100 GB. That’s a matter of seconds, and I was ready to go.

1 minute read

I was building a Reactjs component, that should toggle between two child components. <Toggle> <Comp1> <Comp2> </Toggle> The render method of Toggle looked like this render() { const content = React.Children.count(this.props.children) > 0 ? this.props.children[0] : this.props.children[1]; return ( ${content} ); } Unfortunately, this didn’t work (index out of bounds), when I passed only one component instead of two. This doesn’t make sense, since the Toggle is supposed to toggle between two components.

1 minute read

I was testing an ant based build script change today. And I thought ant was already retired. Running the script led to a lot of warnings about a missing library. I asked the person, if there are any dependencies for ant-contrib. His response was “yes, you need to install ant-contrib”. First of all, I didn’t have ant installed. But that was easy with irichter@irichter-MacBookPro:~ brew install ant Unfortunately, ant-contrib wasn’t available via homebrew, so I had to download it and place it…​ where?