Skip to content

Blog

Page 10 of 76 - keep going...

Web Components as Decorators

I love the idea of web components for using more native and vanilla javascript instead of heavy client libraries. But if you’re not already on this train, it can be difficult to get started. But, I think I found a nice way to bridge the gap - using web components as decorators. Let me show you how.

Jan 24, 2024 4 min read #javascript

Logging for Laravel Http Client

I’m a huge fan of using the Laravel HTTP Client for requests to third-party APIs. It’s clean and easy, nice for unit testing, and exposes methods for the most common functionality we need when consuming APIs. But one thing has bothered me - how do I log both my request and the API’s response, no matter what, with no special calls. Well, we’re in luck - using some global middleware on the client, we can do just that.

Jan 15, 2024 3 min read #laravel

Make Meme Image Generator with IOS Shortcuts

Sometimes you just want to generate a custom meme image but you don’t want any attribution or to share it publicly like sites like Imgflip do. You can do this easily with an iOS shortcut (likely works on MacOS too). Let’s find out how.

Dec 25, 2023 2 min read #ios

Stop vs Code Wrapping HTML

I already have Prettier and ESLint set up and they handle all of my Javascript code perfectly. But what about when you’re working on just a plain HTML file in VSCode? How do you get it to stop randomly breaking your lines?

Nov 30, 2023 1 min read #html #ide-and-web-dev-tools

CSS Only Display Element After Click

Whenever I can use plain CSS instead of Javascript to solve a user interface or experience problem, a thousand angels rejoice. Well that, and usually the result is a lot less bytes sent for a faster page load. With this in mind, I had a problem a while ago that I solved using CSS only: showing a form only when a link was clicked to display it. Let’s see how.

Nov 9, 2023 2 min read #css #html

Explain WTF

A couple years ago I was working with a group of great hearted well meaning people who just didn’t know anything about tech. So I decided to create a website where I explained terms to them - but in my typical manner. That was explain.wtf.

Nov 9, 2023 20 min read #archived-projects

Job Trader Website Idea

What if you could trade your job with someone else - who wanted your job - and you wanted theirs? Would this be that hard to do? Here’s my idea.

Nov 8, 2023 2 min read #ideas