I while back I wrote my very first lovelace card for Home Assistant. It’s a card for displaying various transportation times for pre-selected stops.
The card is based on the EnTur component for Home Assistant that interacts with a service which collects and delivers information about all public transport available in Norway.
The card can be installed manually from my github repo or via HACS.
Getting back into coding after the summer holidays I sat down to write my first published wordpress plugin.
It was after a request on a facebook group i decided to sit down and write a new wordpress plugin for woocommerce. The idea is that if you set some amount threshold under woocommerce > settings > shipping, you can use the plugin to display how much a customer has left before they are eligible for free shipping.
To get this plugin you can head on over to the wordpress plugin directory and download it, or search for it in your wordpress backend and install directly. I called it Woocommerce Shipping Notifications. I am thinking about adding more features like the ability to display it in various places; the shopping cart page, the checkout page or like a standard woocommerce notification. Also ability to modify the text and to make it asynchronous.
For now it’s just a basic shortcode that you can place anywhere you’d like in your content, it will check the customers cart amount total and calculate how much more they’d need to spend to get free shipping.
Installation and usage is underlined on the plugin page.
I’ve found myself in this situation a couple of times. The site has a date based permalink structure but the client want’s to remove them.
The correct way of doing this would be to add a 301 permanent redirect, and here’s how I do it:
The WPForms plugin is my new favorite form plugin. It’s very clean and super easy to use. However since it’s still relatively new in the game there are some things that you might have to do manually/the hard way.
Not many, but a few clients were reporting that they’ve been receiving a lot of spam on their account, so I decided to take a closer look on pyzor and how to integrate it with spamassassin under virtualmin on debian.
Pyzor is a completely free database and software HashSharingSystem, written by Frank Tobin.