Welcome to My Blog
IT related tech tips since 2006Can’t launch OpenVPN on Fedora 32 due to SeLinux preventing access to key
Network manager allows you to add certs to an OpenVPN connection but the connection fails with SeLinux enabled You know it's seLinux because when you disable seLinux it works # disable seLinux NM openvpn works setenforce 0 # enable seLinux NM openvpn fails setenforce...
View Fedora 32 Nvidia Driver Settings
So just booted my Fedora box into version 5.7.6-201.fc32.x86_64 kernel and got stuck at the UEFI boot logo and no further. Theoretically the NVIDIA driver should dynamically build and install it's kernel module in the later kernel when you follow the directions at the...
How to copy values from one column to another using CakePHP 4 Query Builder
I want to change the name of a column in my database and to do that I have to create a migration and drop a table The query I want to run is UPDATE pallets SET production_date = print_date; Seem so simple in SQL but to do it in CakePHP 4 took some finding Copy data...
Scribus to PDF Print
Just using Scribus to design and print some lapel cards Regarding Scribus - It seems that the stable version will not run or install easily on Fedora 32 so I have had to make do with the Scribus Version 1.5.6.svn Beta. So after getting around the flakey behavior of...
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,...
Intelephense squiggly line under function
Adding a missing function definition Using the VS Code Intelephense Extension. You get a squiggly line under a function you know exists. When you hover over it the popup says "Undefined function ... " Go to Preferences and Settings [ Ctrl + , ], search for stubs and...
CakePHP 4 $this->request->referer() not working in production
Just had a situation where I couldn't get a redirect to work. My CakePHP app is in an Apache enabled docker container behind an nginx reverse proxy $this->redirect($this->request->referer()); The above simply refused to work in my development environment it worked...
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 exposing #...
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...