I’m trying to build a website for my dog. The plan is not very complicated. I’d like to just have a masonry layout of photos of him, and when you click one, a lightbox opens. I’d like to set it up so I can store the photos somewhere so I can hook into a REST … Continue reading “Photos API”
Category: Web Development
How to add commas to a number in JavaScript
I was working on something where I wanted to add commas to a number that didn’t have commas. I like things to be readable ya know? Turns out it’s really easy. All you need to do is set up the “toLocaleString” method and JavaScript does the heavy lifting. After reading the MDN docs on it, … Continue reading “How to add commas to a number in JavaScript”
Exclusivity is the Antithesis to What Podcasts Were Meant to be.
I don’t have too many badges of honor in nerd-dom. One of the few that I do have is that I’ve been into podcasts since 2008. The first podcast I ever listened to was Major Nelson Radio, now The Official Xbox Podcast, hosted by Larry Hyrb at Xbox. I thought it was magical. I was … Continue reading “Exclusivity is the Antithesis to What Podcasts Were Meant to be.”
Space Photo of the Day
I’m trying hard this year to do more creating. Write a blog, and even if it’s not perfect, that’s ok. Ship it. Build a site. Who cares if it’s small and not up to the design standards I’d usually set? Did I learn something? Ship it…or make it a Codepen. Just share learnings. I often … Continue reading “Space Photo of the Day”
How to Apply a Coupon Code Automatically in WooCommerce/WordPress
If you’ve ever needed to automatically apply a coupon code at checkout for your WooCommerce customers, you may have noticed that there are a few plugins that can do this for you. However, with a little extra work, it’s easy to do yourself. Previous knowledge of the PHP and the WooCommerce folder structure is required. … Continue reading “How to Apply a Coupon Code Automatically in WooCommerce/WordPress”