danieliser
// Writing

The blog

Notes on WordPress development, the plugin business, performance, and the occasional rabbit hole.

Working with WordPress.org SVN Cheat Sheet

After years of building and releasing plugins on the WordPress.org repository you learn a few things about SVN usage. Since most of us use Git via Github or similar to manage the actual code and day to day changes, we must use SVN from time to time to get a release out to the public.…

Sync Steam Game Library to NAS using PowerShell

Steam or similar platforms make installing many games quick and easy, but maintaining a large library of games over time can lead to a lack of disk space as most gamers know. With titles like Microsoft Flight Simulator (140GB+) & Call of Duty (80GB+), this becomes even more of an issue sooner. If your lucky…

Machine Learning with WSL2, Cuda GPU Acceleration & Docker

Before October 2020 you either struggled through setting up tools on Windows natively or dual-booted to linux for doing machine learning tasks using the GPU's. In a recent Windows Insider update, along with new drivers from Nvidia, support for running GPU based tasks with Tensorflow pretty simple. You can follow the documentation , or watch…

React Flow Example Resources

I didn't find much listed outside of the documented examples so during my hunt for things I noted all the cool examples I found in the wild below. You can find recent examples here . Node Shapes https://codesandbox.io/s/react-flow-node-shapes-k47gz This project shows how you can create different shaped nodes such as circles, squares & triangles. Node…

Setup Minikube on WSL2 for Windows 10

Working as of 04/23/2021 After following a few guides (linked below) I wasn't able to get Minikube running under WSL2. So this guide serves as a quick TL:DR that worked for me and was repeatable. I will say that I have given my user password-less sudo access, which you can read about in my guide…

Migrating Ecommerce Sites without Data Loss

This is a short checklist for quickly migrating a live ecommerce site (specifically WordPress) without losing or duplicating data in the process. Set up new server. Install clean copy of WordPress Set up test domain. (Optional) Set up SSL on the new server. Install WP Migrate DB Pro. Clone old site to new server: Migration…

Importing & Exporting WSL Linux Distros

I regularly find myself working in WSL terminals, and often for completely different needs. This led me to find the following ways to clone and restore clean images very quickly anytime the need arises. How to export a WSL distro image How to import WSL distro image How to remove an existing WSL distro Reset…

Practical Guide to GDPR compliance for WordPress plugin & theme developers.

Last updated: 05/14/2018 4:00 am EST. You are likely here because you have a WordPress plugin that manages user data in some way and your users are SCREAMING about GDPR Compliance (as they should be). This is currently the only guide to GDPR compliance for WordPress plugins until the WP Codex is updated. This will help…

Prevent users from deleting a page or post in WordPress

During my time developing plugins, theme and sites using WordPress I have often come across the need to prevent certain pages from being deleted. I have tried many solutions that did not do the trick or didn't provide a full solution to the problem. Some left the delete links but would create errors when they…

jQuery UI Autocomplete: Tabbing before results are available.

While working on a plugin of mine using jQuery UI Autocomplete i ran into an issue where sometimes users enter the value and tab out of the field before jQuery UI can make a match. This is an issue when you are setting the value of a hidden field. This allows you to fill the…