After Ade Attwood’s recent dive into TLS and creating server certificates with a root ca. This is a much simpler way with mkcert…
In your Yii2 controller, it is quite common practice to return the stream of a file to the browser for your user to download. However, it’s not so well documented you can set any stream reference as the content of your response.
When dealing with those pesky regular expressions trying to get our matches by their index, making your code that little less readable.
Canonical have been doing some awesome work with Microk8s. This program makes it super simple to get up and running fast with Kubernetes.
After you have been developing a project for some time your local git repo can become detached from the repository on ‘origin’. Here are a few commands you can run to clean things up a bit when you feel things are getting cluttered.