Levi LOL

URL Shortener

Tools like Cloudflare Workers and Firebase make building scalable web applications much more straightforward. I’ve built a URL shortener before, but I didn’t maintain it, and I knew there was a …

Laravel DigitalOcean Redis Database error

If you’re attempting to use DigitalOcean’s Managed Redis Database with Laravel then you may run into some issues. The Redis server requires an encrypted connection. However, Laravel defaults to an …

MySQL/MariaDB Specified key was too long

About two weeks ago the power went out at the office. This power outage caused some issues with a MySQL database we use for local development. I tried for a few days to resolve the issue, but I never …

MySQL Root mysql_native_password

I often forget how to switch root back to the old MySQL Native authentication. UPDATE mysql.user SET plugin = 'mysql_native_password', authentication_string = PASSWORD('password') WHERE User = 'root'; …

URL Shortener built with Cloudflare Workers KV

This post is old. I’ve written a new post about how I created a URL shortener. Cloudflare introduced a new service called Workers that I used to build a URL Shortener. Other cloud companies have …

MySQL Relational Database

If my advice on how to date a model didn’t work, then maybe this will, but probably not. Anyway, you probably wouldn’t want to date a database, it will have other relations at the same time. So …