Justin Cook's Blog.

A playground for Jamstack, Next.js and other learnings.

Cover Image for Jamstack is the future of the web

I am beyond excited to be learning Jamstack, the Next.js framework as well as related tools and technologies within the JavaScript ecosystem. I will share my learnings here.

Justin Cook
Justin Cook

Previous Posts

Cover Image for Netlify ignores redirects in next.config.js

Netlify ignores redirects in next.config.js

When deploying my site on Netlify, I could not get redirects to work in next.config.js. Here is how.

Justin Cook
Justin Cook
Cover Image for Blitz.js vs. Next.js

Blitz.js vs. Next.js

Blitz.js is a meta-meta-framework that claims to pick up where Next.js leaves off. What are the differences?

Justin Cook
Justin Cook
Cover Image for When to use tRPC vs GraphQL

When to use tRPC vs GraphQL

tRPC is a lightweight alternative to GraphQL. A quick pointform overview, pros and cons of each and suggested use cases.

Justin Cook
Justin Cook
Cover Image for Automatic cPanel backup (domain & MySQL) with cron & PHP

Automatic cPanel backup (domain & MySQL) with cron & PHP

Schedule cPanel backups to run at regular intervals with cron. Handy for monolithic LAMP environments.

Justin Cook
Justin Cook
Cover Image for Convert an IP address to IP number with PHP, ASP, C# and VB.Net

Convert an IP address to IP number with PHP, ASP, C# and VB.Net

Here are the functions in PHP, ASP, C# and VB.Net to convert and IP address from dot format to IP number format.

Justin Cook
Justin Cook
Cover Image for Upload Multiple Files at Once with PHP

Upload Multiple Files at Once with PHP

With PHP, it is fairly simple to include a file field in a form to upload one file. But what if you need to upload multiple files at one time?

Justin Cook
Justin Cook
Cover Image for PHP - parse a string between two strings

PHP - parse a string between two strings

This is a handy little function to strip out a string between two specified pieces of text.

Justin Cook
Justin Cook