WordPress says “The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.” after uploading an oversized image, then apache promptly dies.
Continue readingCloudflare Domains doesn’t work with Digitalocean Droplets
When registering a new domain on Cloudflare, you need to keep two things in mind:
- They don’t allow their domains to have non Cloudflare-branded nameservers. Which means that while the domain lives on Cloudflare, its DNS records will also have to stay.
- Even newly registered domains have SSL/TLS configured to
Full
, so if you’re starting out with a new server, certbot will fail because HTTP traffic is not allowed.
xCode: How to Remove all Devices and Simulators
When some of them are determinately stuck.
Continue readingXcode: How to Install Previous Older Versions of Simulators
If you don’t see the version you need listed in the build dropdown:
Continue readingXcode: The document could not be autosaved. The file doesn’t exist.
This is usually because you edited a file that should have been generated instead. In which case Xcode will stay confused until you clear the cache (and generated files along with it) and rebuild.
Continue readingHow to route iPhone/Simulator traffic through Proxyman on Mac
Proxyman has this nice menu under “Certificate” where you can select configuration for either physical device or simulators:
Continue readingSwift: Why You Shouldn’t Make Mock Classes Public for Tests
Because you’ll run into weird access control problems.
For example, you may be setting a public property of a class, be po
logging the new value out in console no problem, and still be getting the old value in expecting tests, right in the next line.
Setting wildcard subdomain on Cloudflare DNS doesn’t work
If you use the Full (Strict) mode, you may run into Invalid SSL certificate 526
on www or other subdomains. Even though their official documentation claims that adding a A record with *
should work, it didn’t for me.
The solution is to add Redirect Rules for them.
Continue readingXCode: How To Get More Than 1 Build Error At A Time

Though this means that there might be phantom errors that are not real, but are caused by the dependency’s build failure.