Gilbert Pellegrom

Gilbert Pellegrom

Software Engineer and Web Developer from Scotland

Path Copy 2 Created with Sketch.

Moving Away from Medium

Posted on

For some time now my blog has been hosted on Medium. I liked Medium for several reasons: I didn’t have to worry about things like maintaining a server or software updates. The editor made the writing experience really nice. Built it social aggregation meant I got more eyes on my content. However, as time has…

Setting up Font Awesome 5 in Laravel using Vue.js

Posted on

So you have a Laravel app set up and you want to use the new Font Awesome 5 goodness in your Vue.js components. Here’s how you do it. 1. First, install the required packages: We’re going to use the official Vue component to display the Font Awesome icons in this case. 2. Next, import the…

2017 Year In Review

Posted on

As has been my tradition for the last seven years now I like to spend a bit of time at the end of the year reflecting on the year that has been and looking ahead to the year that is ahead, and note down some of these reflections for posterity. Professionally In many ways 2017…

One week with my Google Pixel 2

Posted on

Last week I traded my iPhone for a Google Pixel 2, after nine years of being a faithful iPhone fan. In the article I explained my reasons for wanting to switch away from Apple to Google. As it turns out, quite a few people have found themselves in the similar position of considering switching away…

I’ve been an iPhone owner for 9 years. Why did I just pre-order a Pixel 2?

Posted on

Let me give you a bit of context. I’ve been an avid iPhone owner since I bought a 3G in 2008. I’ve loved iPhones since I first held one and earnestly upgraded to the new iPhone every 2 years (mostly skipping the “S” models). I currently own a Jet Black iPhone 7 as well as…

My problems with utility-first CSS

Posted on

If you’ve not already read it yet, you should read Adam Wathan’s article on how he reached the conclusion that using utility classes was the best way to build consistent components in CSS. As I read the article I followed his conclusions and agreed with his justifications. It sounded like a very reasonable solution. However,…

Modifying Variables in PHP Closures

Posted on

This one caught me out yesterday. If you use a variable in a PHP closure and try and modify it inside the closure, you will find that the variable outside the closure is not modified. You must pass the variable by reference for it to work. Turns out that when ‘importing’ variables to a closure’s…

Splashify — Beautiful Desktop Wallpapers for Mac and Windows

Posted on

Yesterday I announced the release of my Christmas side project Splashify. At Christmas time I like to build a side project that helps me to learn something new and push me to do something out of my comfort zone. A few years ago I built an iOS game and released it on the app store.…

2016 Year In Review

Posted on

As has been my tradition for the last six years now, I like to spend a bit of time on the last day of the year to reflect, consider the year that has been and the year that is to come, and note down some of these reflections for posterity. What a year 2016 has…

Selling My First Business (Dev7studios.com)

Posted on

Last week I sold my first business. It’s not the first project I’ve sold, but it’s by far the biggest and was my main source of business income for five years. Disclaimer: Yes I sold an internet business and no I am not a millionaire (not even close). It’s amazing to think just how far…