Levi LOL

Meta Tags

There are several meta tags that you should have on your site. While social media sites can crawl your site and guess what the page is about, it’s much easier if you provide them with that …

Git Branches

Below are some branch names I use. The primary branch is usually called main. If the code is public and used by other developers then I’ll maintain a LTS version. When working to release a new stable …

htaccess redirect

Sometimes you need to redirect an old domain name to a new one. Since many websites use Apache, you can use the following htaccess snippet to handle the redirects for you. This snippet will handle …

Git Commands

Git is a VCS (Version Control System) used by many, including me. Checkout Writing code on a new branch is a great way to experiment with ideas while being able to keep track of your revisions. You …

Generate Randomness with OpenSSL

Computer generated random numbers have always interested. When I was learning BASIC one of the games I created was a random number guesser. The computer would generate a random number and then the …

SHASUM Verify File Integrity

If you ever had the need to verify the integrity of all the files in a folder, then you can use the following commands. Hash files This command will get the SHA 512 hash for each file in the current …