Find a name for almost any hex color

Written on

Have you ever wondered what color that certain shade of blue is? Or maybe you've named your Less/Sass variables something like gray, light gray, lighter gray, etc. Here's a tool that will give you more reasonable names for all those colors.

Working with HTML5 data attributes

Written on

Before HTML5, working with arbitrary data sucked. To keep things valid, you had to stuff things into rel or class attributes. Some developers even created their own custom attributes. Boy, was it a mess.

Is it possible to be an introverted entrepreneur?

Written on

A tweet by Remy Sharp sparked my thoughts about being an introvert and starting a company. I don't hate human beings, but I do tend to keep to myself. How has this impacted my ability to run a successful business?

How to use the PHP ternary operator

Written on

When I learned how to use the ternary operator years ago, I fell in love with it. What a cool way to simplify assignments based on a condition. If you're not sure what the ternary operator is or how it works, you're missing out on a really cool piece of programming knowledge.

Five things I've learned about taking risks

Written on

I had a cush job at a university with great benefits, decent pay, and normal hours. Five years ago, I took a risk and gave it all up to start a company. Here are the five most important lessons I've learned about risk-taking.

Using the classList API

Written on

jQuery makes it easy to add, remove, and toggle classes on various elements. It's too bad this stuff wasn't built into JavaScript. But wait — it is now!

TinyPNG: A better way to compress PNG images

Written on

By now, you know that optimizing images and other resources can reduce bandwidth and help your website load faster. Perhaps you've even used a tool like Pngcrush before to make your images smaller. Now, there's an even better solution.

What is my browser? This tool will tell you

Written on

Last week I wrote about how to get faster and better help from support. One of my suggestions was to tell them what browser, OS, etc. you're using. Here's a free tool that will make that so much easier.

Smaller volume increments in macOS

Written on

Ever wish you turn the volume up or down just a tiny bit more on your Mac? Well, you can.

Link to a specific page in a PDF file

Written on

Both Chrome and Firefox render PDF files in the browser, making them easier for users to view. Today I wanted to send someone a link to a certain page in a PDF user's manual. Here's how I did it.