"What’s the Hot Dog?" How to Outsmart Your Inner Lawyer

September 6th, 2024 6 minute read

I've noticed that when it comes to making decisions, we often tell ourselves a story, one full of reasons that sound good but don't really get to the... more »

My Amount: Embracing Compassion Over Judgment

November 18th, 2023 2 minute read

Have you ever noticed how we all silently think, "My amount is okay" about our life choices? It's a common thought process that really shows... more »

Free QR Code Generator

May 7th, 2023 1 minute read

This has been moved to it's own domain 👉 GratisQR.com QR Code contents: (Right Click > Save Image As...) I wrote this simple script (that uses the free... more »

Better Strikethrough / Strikeout Style (good for prices) with CSS

May 22nd, 2020 1 minute read

This code will show you how to make a more style and readable "strikeout" style of text. Good for showing pricing discounts etc. The strike line adjusts... more »

Fast & Agile YouTube Embed - Responsive iFrame load delay with jQuery

August 13th, 2015 3 minute read

This code is an alternative to the traditional YouTube <iframe> embed. It will reduce the downloads of each embeded video by about 90% and have them... more »

Simple Responsive Table Solution for Mobile using jQuery

November 22nd, 2013 2 minute read

So far I've found all the proposed solutions for dealing with wide tables on mobile to be a bit cumbersome and just not that great. Then I had the idea... more »

Replace checkbox inputs with "mobile style" toggle switches using jquery and css

September 27th, 2013 4 minute read

So as the world gets more and more mobile people are getting used to seeing the toggle switches seen on iPhone/iOS and Android user interfaces. They are... more »

Easy css3 transitions

May 1st, 2012 1 minute read

You can do a lot with css3 transitions and I'm not going to get into that here. But I am going to show you a simple line of css you can start using now... more »

PHP Shorthand Conditional Statement

April 30th, 2012 2 minute read

Here's another quick hit from my php snippets. You can see a review of a lot of ways to do this on David Walsh's post on the subject. However, I wanted to... more »

PHP Conditional Statement - In Between Dates

January 20th, 2012 1 minute read

I'm always using little php snippets in tons of projects. Here's one I needed today that is very useful.  If you want a specific item to show only... more »