IT Tips

Access

Blog History

CakePHP 4 has Deprecated File & Folder

So recently my code editor has been putting a line through File because it is going to removed in CakePHP 5 So here is an example of code that uses the deprecated methods and the suggested SplFileObject Using File public function createTempFile($print_content,...

read more...

Reverse Proxy Cups in Nginx

The process is similar to my previous post on proxying a sub directory back to the root. For example https://example.com/test => proxies back to / in the docker container upstream cups-endpoint { # in my case I'm using cups inside # a docker container and...

read more...

June 20 – Moved to Amazon Sydney

So for a while I have been using a Digital Ocean droplet based in Singapore and it is cheaper than an AWS EC2 Instance However I did some tests and found that ping times to Sydney from Melbourne were ~20ms and to Singapore ~400ms I noticed some lag problems with a web...

read more...