How to get a video element to act like background-size: cover scoped within a parent element.
Coding an HTML close button seems simple. But, the only thing simple about coding a close button is getting it wrong. The biggest mistake is using the wrong HTML element. I’ve used <a> and <div> as a close button many times (<button> is the correct element). The second mistake is not using proper ARIA properties. […]
Dropping poor meeting invites will end your freelancing days fast. Sending exceptional meeting invites can land a lifelong client. If you are sending 4, or even 20, messages to schedule a meeting you are stressing your clients. Meeting invites shouldn’t take more than two communications via emails. Your job as a freelance professional is to […]
I run into an issue today with PostgreSQL. I had manually entered a row into a table and it caused the primary key to fall out of sequence. To reset the primary key sequence ID on the PostgreSQL table I used the setval and pg_get_serial_sequence functions. Source: How to reset postgres’ primary key sequence when […]
A little bit of PHP is sometimes all you need to solve a problem. In our case, we need just a little PHP code to generate a UUID. When you need more I recommend using Ben Ramsey‘s PHP UUID package. P.S. When using a UUID in the database I’d still run a unique check for […]