Josh Sherman


Coding
Life stuff
Fermentation too
Shipping fixes everything.

Reading a specific line from a file with PHP

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 […]

Invalid or corrupted package (PGP signature) during pacman sync / install

1 min read
linux
arch linux

I’ve been using Linux off and on for the last 20 years. I’m currently moving back to Arch Linux after a short stint on OS X (now MacOS). I am quite the Arch noob but I’ve been completely taken by it’s simplicity and wasn’t turned off by high barrier of […]

How to pickle peppers

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

1 min read
development
php
mongodb

Ran into a scenario this weekend where I needed to take a subdocument 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

3 min read
open source
development
holiday api
node.js
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. […]