Blog

Reading a specific line from a file with 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 [...]

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

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

How to pickle peppers

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

Convert Mongo BSONDocument to an array in PHP

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

Programming the same thing in multiple programming languages

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

Losing friends to the great beyond

Found out I had lost another friend from the wayback machine not too long ago. We were great friends back in school and kept up online fairly regularly ever since then. I knew he was damaged goods, but I had [...]

Sourcing external files from your .gitconfig

If you're like me, there's a great chance that you have not only some public dotfiles but you also have some private stuff you don't want the world to have open access to. I refer to these private dotfiles simple [...]

Set Vim tab spacing based on the type of file

Now that my buddy Justin is back to using vim, he's been flooding me with questions. Loljk, but he did ask about setting the tab spacing based on the type of file he was working with. Incidentally, this was something [...]

You should totally blog about that

Hate to say it, but I am a broken record. If it's not "OH, I actually wrote a blog post about that" then it's "that would make a great blog post, you should write about it". When I mention my [...]

Closed sourcing an open source project

Most of the time, folks are talking about making projects open source not closed. Companies use it as way to get some press and to position themselves as being altruistic by giving back to the community. I used to be [...]