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...
James McDonald
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...
Why you should put your compute as close as possible to your users
I'm in Melbourne notice the round trip time from my browser to Sydney Amazon Servers 30ms You can test this by finding a ping-able IP address in the cloud you are using to host your VM and compare with one from the another location...
Wine System Tray on Gnome Shell Fedora 32
I love gnome-shell I love the simplicity, the integration of the all the system settings in one place and the ability to extend it with extensions But it looks like in their quest to align with the Fisher-Price Desktop Standard they have trimmed some functionality...
Password Safe .desktop File
Been struggling to come to terms with Gnome Shell removing the Windows System Tray functionality Have installed some extensions to get tray icons showing sudo dnf install gnome-shell-extension-topicons-plus sudo dnf install gnome-shell-extension-appindicator sudo dnf...
Fedora 32 on AMD Ryzen 5 PC with Nvidia Graphics
Component List This is the exact components for the system I am running Fedora 32 on. See below for some of the config changes or hacks that I did to get things running. Brateck BT-LDT02-C024 Dual LCD Monitor Flexi Arm Table Stand w/Arm & Desk Clamp VESA 75/100mm...
The COVID Configuration
I've been stuck at home for a few months now due to COVID-19 isolation. My wife comments regularly on how hunching over my Macbook Pro all day gives me much spine curvature. "Bad posture", "Terrible posture" etc. So I haveĀ a solution which will bring my head up to a...
Moving from Evernote to Onenote
Just a couple of observations regarding moving from Evernote to Onenote. This is further to my previous blog post https://toggen.com.au/it-tips/how-to-export-evernote-notebooks-to-onenote Allow sufficient time for Notebooks to Sync to OneDrive / Sharepoint When you...
Cloudready on VMWare Fusion on MacOS
Trying to get Cloudready going on VMWare Fusion on Mac I downloaded CloudReady-Home-v78-x64.ovf and discovered I had to rename it to CloudReady-Home-v78-x64.ova to get VMWare Fusion to import it. Enable in VM Virtualisation to Complete Linux (Beta) Terminal...
How to Export Evernote Notebooks to Onenote
Just wrestled mightily with doing an export of Notebooks from Evernote with Onenote as the target Microsofts importer DOES NOT work and they have no interest in making it work. DO NOT USE IT. I observed that many of the titles and content were missing Apparently you...
Adding custom values to Contact Form 7
https://www.wpguru.com.au/generate-dynamic-tag-contact-form-7/ From the above URL is this code. Just putting it here so I can find it again <?php add_action('wpcf7_init', 'custom_code_generator'); function custom_code_generator(){ wpcf7_add_form_tag('coupon_code',...