Greycastle

Code matters

A portfolio and resource bank of issues solved,
projects started and things learned along the way.

Recent posts

Get the innerText of an element in Scrapy

Get the innerText of an element in Scrapy

I was trying to pull out a big description block for an item in a recent scraping project. Of course, this contains all kinds of weird and wonderful HTML formatting as it is probably built in a WYSIWYG editor. I found that Scrapy doesn't have a good way to handle even...

BigQuery and firebase analytics cookbook

BigQuery and firebase analytics cookbook

Firebase Analytics is an incredibly powerful tool to understand how users use your mobile or web app. The past year I have been using it to draw insights and help prioritise and improve various functions in our team. Firebase Analytics is mostly good for collecting...

How to download a list of URLs using bash

How to download a list of URLs using bash

Shell (or Bash as it is sometimes called), is the command line prompt of Unix-based systems such as Ubuntu or MacOS and, as we will see today, it can be a huge friend of yours. I have had the pleasure to work with some kings of bash and I was truly amazed bu what they...

Open source

Projects and examples free to copy or build on

If you want to see how I code, get a practical example of something that works and runs I am very happy to share a few of the things I have built this far.

Paid work

Past positions I have held and teams I have worked with

Since 2008 I have been working through Greycastle or as a full time employee in Sweden, England and Japan. Both in government, large and small companies.

 

Recent Medium posts

I also write on Medium. Product management, design and development.

Speed up Gitlab CI by using fewer steps in the pipeline

When I was writing on how to do Flutter test reports in Gitlab Ci I noticed my pipeline was split into three steps: When I first set this up, it felt “prettier” to me. They were all independent and…

Get Started with AB Testing and Remote Configuration in Firebase

I have been wanting to try A/B Testing since I first heard of it many years ago. It just seems such a logical thing to do, to try two things side-by-side, compare them and see which is best.

Segment analytics with Firebase AB testing

It allows you to combine the Firebase remote configuration with Google Analytics to track the performance of your test. I’ve written about how to do this in practice before so here I will focus on a…

Thank you for visiting