Refactoring array index magic number with class constant.

During a code review my peer Michal Mazur turned me onto the follow example; I have to say I am really digging it: Array Index as…

PHP and large CSV’s…

After looking around a bit I have yet to find a way to read a specified line from a file without doing one of the…

PHPStorm 2017.1 released…

I’m sure many of you know this already by JetBrains has released PHPStorm version 2017.1. The improvement list looks nise and Im eager to try…

Quick little thing.

Was sad to see Yii2’s getOldAttributes() did not have to ability to limit based on a provided array; whereas getAttributes() does take an array to…

Write about my place of employment (all the stories are true).

While I’m not explicitly pictured in the gallery I did have a direct hand in many of the software solutions solutions mentioned in the article.…

emoji as variable names…

PHP
…during a short discussion today with a peer we found this little tool: https://mothereff.in/js-variables . I was all like AHA! I have an idea! Sadly though…

A little fun with gource

Every year my employer has a holiday party. This past year I rendered out all the projects we had worked on and put them in…

PHP str_word_count’s and validating base64 strings…

PHP
Recently I had to validate a string that is was indeed a base64 string and it was indeed an encoded allowable image type. Between str_word_count’s…

`Cert Mode`

So I heard an interesting phrase from a networking engineering buddy of mine: ‘Cert Mode’. You can typically tell when someone is in ‘Cert Mode’…

Local user groups: get out more than you put in.

Here in the Tampa bay area we have user groups. Some are small, some are large, some are new, some are long running. But no matter…