Php convert long array syntax to short

Php introduced new short array syntax ‘[]’ back with PHP version 5.4. Practically we may still work on some older projects where we may encounter those long formatted array() syntax. And also – there is nothing wrong with using a long syntax, it’s not like it’s deprecated or anything. Some of us do however strongly … Read more

Using w3tc (W3 Total Cache) cache with wordpress bedrock

As anyone who ever seriously developed with wordpress – it is not the platform that is necessarily known for solid software architecture and modern development practices. WordPress does absolutely excel in other areas though – such as UI and ease of use. It’s end-user-friendliness (but let’s not mistake end-users with software developers) is unparalleled, which … Read more

Connect remote mysql servers to local phpmyadmin via ssh tunnel(s)

Update may 7th 2024: these days I would recommend just using tailscale and tailscale acl and just access servers directly from phpmyadmin using tailscale ips. As a self-hosting aficionado I do prefer to use tools that are hosted on my home server instead of my development computer/laptop. There may be couple reasons you would want … Read more

Haproxy http/https on single port

I do a lot of web development and prefer spinning up my development app/site/enviroment on one of my home server(s) within the confines of my homenet/homelab (without ever exposing site/app to the internet). It works just dandy for http, however – im not satisfied with just http (even if this is a dev environment) – … Read more