Category Archives: Programming

Recover missing empty space after removing bootcamp on macOS

Today I tried to remove the unused bootcamp partition on macOS to get more space but unfortunately it turned out to be not so simple.

After deleting the bootcamp partition from Disk Utility, I was greeted with an error that says the bootcamp partition cannot be merged into the main partition.

I then run First Aid and found some corruptions. Following the guide on Internet I booted into Recovery mode and fixed those errors, but the empty space was still not given to me.

Until I found this answer on the Internet and turns out the magic is just one command:

disk0s2 is the existing macOS IDENTIFIER as shown in diskutil list Continue reading

Fixing WordPress Image Sizes missing issue on Ubuntu 16.04

While I was trying to upload some new photos onto my blog, I realized that all my photo sizes are gone. I use different sizes in blog posts and final tiles gallery as my portfolio so they are pretty important for me.

Uninstalling Simple Image Sizes and WP Smush did not help. Updating WordPress and all plugins to the latest did not help as well. So it had to be my Upgrading Ubuntu 14.04 to 16.04 for WordPress that messed it up. Continue reading

Upgrading Ubuntu 14.04 to 16.04 for WordPress

So today I decided to take on an adventure of updating my WordPress from an ancient 4.x to 5.x.

I did my due diligence of backing up and take a snapshot from DigitalOcean (my VPS service provider) and then started the risky process. The WordPress upgrade itself was relatively smooth with no issues. Little did I know that I was jumping into something more serious… Continue reading