Reading a specific line from a file with PHP

By Josh Sherman
2 min read
development
php

As I’ve been building a system that is driven primarily by CSV files (because it’s easier to use Google Sheets than it is to build out an admin section) I’ve had to get creative. Recently I found myself working with a CSV file that’s around of 3000 lines of data […]

How to pickle peppers

By Josh Sherman
2 min read
food
cooking
recipe
fermentation
diy

A few months back I wrote a post about making sauerkraut. It was a bit wordy considering how simple the process really is. Along with kraut, I have been pickling [hot] peppers. At any given time, I have at least a couple of jars of peppers hanging out on the […]

Convert Mongo BSONDocument to an array in PHP

By Josh Sherman
1 min read
development
php
mongodb

Ran into a scenario this weekend where I needed to take a sub-document from Mongo but I needed it in an array in PHP. Reading the data from Mongo with PHP was simple and won’t be discussed. What I’d like to talk about is taking the BSONDocument that Mongo returns […]

Programming the same thing in multiple programming languages

By Josh Sherman
3 min read
open source
development
holiday api
nodejs
php
ruby
python

Recently I set out on an interesting journey. I wanted to build programming libraries for my API, HolidayAPI. Some of the languages I know like the back of my hand. Others, have never even touched them before. Before you start sending me hate comment, I am fully aware of Swagger. […]