Calculate time left in day in PHP

By Josh Sherman
2 min read
development
php

Before PHP 5.3, finding the difference between two dates was a bit of a pain. Convert the date strings to UNIX timestamps (if they weren’t already), subtract them, and then divide the result until you had each of the components (seconds, minutes, et cetera). As of PHP 5.3+ you can […]

$10 Showdown: Linode vs. DigitalOcean (July 2016)

By Josh Sherman
6 min read
reviews
hosting
linode
digitalocean

Been a minute since my last $10 Showdown. Since then, Linode has turned thirteen and doubled the RAM offered on all of their servers for new and existing customers. This means that Linode is offering twice the RAM as DigitalOcean at the ten dollar price point! Here’s the plan overview: […]

How to pull from git

By Josh Sherman
1 min read
development
git
github
gitlab

Had a peculiar request on one of my posts asking for a tutorial on how to pull from git. To be honest, I’m not entirely sure if the comment was just trolling or what, but figured may as well do a post on it. Cloning a repository If you want […]

How to make sauerkraut

By Josh Sherman
6 min read
food
cooking
recipe
fermentation
diy

Sauerkraut is one of my favorite things to make. Incidentally, it’s one of the easiest things to prepare. It’s always an exercise in extreme patience. As they say, “it’s ready when it’s ready”. Before we talk about it being ready, let’s talk about how to start your journey. To begin […]

How to read more

By Josh Sherman
3 min read
reading
inspiration

I never completed a single assigned book while in school. Up until a few years ago, I averaged reading only two books per year. This year, I’m on track to read at least thirty-five. Double what I read the year prior. And I am fully intent on reading fifty plus […]