In this post we will cover renaming the branch master to main in Git. Before renaming your master branch to main in git, keep in mind anywhere you are using the master branch should also be updated.
Developers. Stop robbing yourself in the software world. Resisting change and new learning. When I resist a tool in order to keep the status quo I rob myself of great satisfaction.
Clear and robust code tutorials are one of my favorite things to find. I run into just an article on CSS Text Gradients by Sebastiano Guerriero today. The article inspired a thought, “What if we had a text gradient utility class?” If we create a utility CSS class we can make multiple text gradient options […]
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 […]