Parsing linux command results and lessons learned

Over the last two years of my career, I've spent most of my time developing in-house software for my company's own use. Most of it involves the management of our own systems infrasctructure, with servers all around the world and the hardware attached to them. I developed tools that ssh…

NAS server on a Raspberry Pi

In this spring/lockdown clearing, I unburied an old Raspberry Pi I bought several years ago but never did anything with it. I was in need of a new project so I decided to do something useful and build a file server. My current laptop's HD is only 500GB which…

Searchable encrypted database fields in Laravel

My current company records sensitive client data, including identifiers such as names, addresses and other personally identifiable information. It is then very important for us to keep security in mind in the whole system. Our product is a web application that is accessed through three-factor authentication. We, of course use…

User Agent String, usage statistics and reporting

Lately, I have been developing in JavaScript more than I used to. I have recently discovered the JavaScript  functions .map(), .reduce() and .filter(), which are equivalent to my beloved array_map, array_reduce and array_filter in PHP. However, not every browser supports them. They are not supported, for example,…

Fluent interface for method chaining in PHP

I am currently doing some research to choose between one of the most popular PHP frameworks for my next project. I have experience using codeigniter and Yii, which are starting to be fairly low in the popularity scale nowadays. They are simple, straightforward and do the job, so I'm still…