What makes Alpine great is that it’s tiny. What doesn’t make it great is when weird things happen. Here I document potential fixes for potential problems.
Creating a certificate for using HTTPS on localhost
I found myself in the situation the other day, where I wanted to test some modern web technologies on my development machine, which required HTTPS to be enabled.
Not wanting to create a hosts or DNS entry to match my website and pull over a wildcard certificate, I decided that it would be best to create a self-signed certificate.
Continue readingMy experiences configuring an Android Compilation environment for Unity
When trying to set up Unity to compile for my Google Pixel Gen1 running Android 9, I found most articles to be either out of date, lacking depth of information, or both, and I spent quite a bit of time scratching my head trying to figure things out. Ultimately, I was having trouble configuring my compilation environment, and so I could not build for Android Devices. Let’s start from the beginning.
Continue readingUsing php://input stream
Looking over someone’s code today, I found them using the php://input stream. Having known of this stream but never having used it, I decided it was about time to do something about it.
Stop Nginx from logging robots.txt, favicon.ico
I decided that I do not want to log HTTP Error 404 when browsers cannot access favicon.ico or when search engines cannot access robots.txt
Thanks to kfl62 at GitHub for this one:
https://gist.github.com/kfl62/6049099
shutdown-sequence.php
Just a simple PHP file to show PHP’s shutdown / object destruction sequence.
Apache / NginX passing request as PHP get variable
This is a very simple one, kinda works like rewriting. All page path requests will be passed to PHP though $_GET[‘page’]. Not the greatest implementation, but it works, and it works well. Everything else works as you would expect it.