How to get updates working if you use Proxmox without a subscription
Firstly a Proxmox community subscription is only €105 for a year if you only have a single CPU Socket and is well worth the cost imo.
However if you want to use Proxmox without a subscription and are getting the “TASK ERROR: command ‘apt-get update’ failed: exit code 100” over and over again then you can use the free non subscription repository to update instead.
This page has the available repos which you will need.
For version 8.0.4 which i was using on a test machine that instructed to modify the following file so it looks like this.
Into file /etc/apt/sources.listdeb [...]
Change a letsencrypt SSL certificate to a webroot renewal instead of spinning up a standalone server.
When you first use letsencrypt, or certbot, to add an SSL certificate to a Ubuntu or other linux flavour server it will often install the certificate as a standalone certificate. This could have been because of the guide you followed in the past or you may have an old server that you administer that has standalone certificates in place.
Standalone certificates specifically spin up their own web server in order to check the domain and run through the challenges and install the certificate. This can cause issues when another web server such as Apache or Nginx are already running on port 80 (http) and mean more complex renewal processes need to happen where Nginx needs to be [...]
Converting Formidable Forms date to a Unix Timestamp
Formidable Forms is a great WordPress plugin that provides a simple yet powerful UI for creating forms. It is now the only form plugin we use on our sites.
One of the main features we utilise Formidable forms for is its capability to send API data to any external source.
This is particularly useful for when certain products or, in our case, CRM systems do not have specific actions built into their current “integrations” or plugins.
One recent project required that we use Formidable forms to send a date to an external CRM API to update a date field.
So we setup the Send API Data action to send the resulting date field to the external CRM [...]
Quick and easy datatables with jquery
You want a nice looking, easy to use, table to display some data.
You can spend some time custom coding the table with various sorting functions and perhaps hiding the odd column but that’s all done for you already. Using Jquery Datatables.
I will show a couple of quick examples on how I now use the datatables Jquery plugin to quickly be able to control various functions of the table to make it simple and easy to use.
First off you include the two required files, A Css file and a JS file.//cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css //cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js
Then you can just include one piece of js code [...]