Sending commands to all iTerm2 panes

iterm

I use iTerm2 as a my termimal of choice on my mac (along with oh-my-zsh).

There are times when I have multiple iTerm2 panes on one window and I want to send commands to all of them. This is especially useful when updating npm packages across several apps, especially if you have a microservice architecture.

To do this on a Mac, the shortcut is cmd + shift + I

If you want to get out of this state (this is something that was hard to find online), the shortcut is cmd + opt + shift + I

Full post

One Pot Tagliatelle with Olives, Capers and Sundried Tomatoes Recipe

tagliatelle

Cooking pasta in the sauce you intend to serve it with will change how you make pasta. The pasta will be properly infused with the sauce as the starch from the pasta will make it stick, and also thicken the sauce and make it rich. Also it is quicker and results in less washing, so let’s get cooking!

Recipe timing

Total Time

Prep Time

Wait Time

Makes

30m 15m 15m 3 portions

Skip to:

Ingredients

  • 1/2 large onion (diced)
  • 4 tbsp olive oil
  • 1 tbsp sugar
  • 1 tbsp capers (drained)
  • 6 tbsp pitted black olives (halved)
  • 6 slices of sundried tomatoes (drained and sliced)
  • 3 scotch bonnet chillis (chopped) (reduce if needed)
  • 500g passata with garlic
  • 250g water
  • 200g tagliatelle pasta
  • handful roughly chopped basil
  • 100g spanish chorizo (optional)
  • 1 tbsp parmesman cheese (optional)
Ingredients prepped
Ingredients prepped

Equipment

  • Large lidded saucepan or deep frying pan
  • Knife
  • Wooden spoon
Full post

Best Cauliflower Cheese Recipe

cauliflower cheese

This is a really quick and simple cauliflower cheese recipe, but gives delicious results! It’s really quick to make and you’ll be tucking in after roughly 40 mins!

Recipe timing

Total Time

Prep Time

Wait Time

Makes

35m 15m 20m 4 portions

Skip to:

Ingredients

  • 1 slice of brown bread
  • 1 Large cauliflower (no leaves and broken into pieces)
  • 500ml Whole milk
  • 4 tbsp Flour
  • 50g Butter
  • 200g Grated mature cheddar
Ingredients prepped
Ingredients prepped

Equipment

  • Baking tray
  • Baking dish
  • Saucepan
  • Rolling pin
  • Cheese grater
  • Oven

Instructions

  • Preheat your oven to 200C / 180C Fan
Full post

iPlayer’s journey with our end-to-end tests

iPlayer’s journey with our end-to-end tests

A story of how iPlayer Web achieved a stable end to end testing platform

At iPlayer we take our testing seriously and always strive to provide an optimal user experience, free of bugs and without broken user journeys. This is why as part of our Continuous Integration/Continuous Deployment pipeline we have a suite of end-to-end tests (E2Es) which run every time any code is merged into our master branch.

the build pipeline for the iPlayer Playback page
the build pipeline for the iPlayer Playback page

The value of E2Es lies in the fact that they directly emulate user interaction and user journeys. Whereas unit and integration tests are heavily mocked, meaning that you start with certain assumptions that other parts of the system are working correctly, E2Es test the entire system from start to finish without anything being mocked and just as a user would experience it.

Full post

Quick fudge recipe

Quick fudge recipe

This is a really quick and simple fudge recipe, which I got from Cupcake Jemma’s Cookies & Cream Fudge Recipe. Unlike “real” fudge, this involves minimal effort but with great end results.

Recipe timing

Total Time

Prep Time

Wait Time

Makes

2h 30m 30m 2h 40(ish)

Skip to:

Ingredients

Cookies & Cream layer

  • 280g White chocolate
  • 200g (half a normal can) Condensed Milk
  • 1/2 tsp Vanilla Extract
  • 10 broken-up Oreos

Chocolate layer

  • 280g Dark chocolate (50% dark)
  • 50g Butter
  • 1/2 tsp Vanilla Extract
  • Pinch of salt
  • 200g (half a normal can) Condensed Milk

Equipment

  • A bowl
  • A saucepan (which the bowl can rest on without touching the bottom)
  • Spatula
  • Baking tray
  • Greaseproof paper

Instructions

  • Line your baking tray with butter (so the paper sticks to the sides) and then put the greaseproof paper in and press it down.
Full post

Millie's style cookie recipe

Millie's style cookie recipe

This simple recipe will give you lovely soft chewy cookies, similar to Millie’s cookies (who do amazing cookies if you’ve never tried them!). The guide baking time is 8 minutes, but you can bake them between 7-10 mins if you prefer them a bit softer or harder.

Recipe timing

Total Time

Prep Time

Bake Time

Makes

28m 20m 8m 30(ish)

Skip to:

Ingredients

  • 125g Unsalted Butter (room temp)
  • 115g Golden Granulated/Caster Sugar
  • 110g White Granulated/Caster Sugar
  • 1 Medium Egg
  • 1 tsp Vanilla Extract
  • 220g Self Raising Flour
    • If you do not have self raising flour, mix 2 tsp baking powder to each 150g of flour, this will be just under 3 tsp (roughly 12g) of baking powder
  • 1/2 tsp Salt
  • 200g Chopped chocolate (or chocolate chips)
    • Any chocolate will do, this recipe was done twice, once with white chocolate and once with dark chocolate

Equipment

  • Two bowls
  • Electric whisk (a hand wisk can work but it will be harder)
  • Spatula
  • Baking trays
    • Ideally 4 if you have room, or make the cookies two trays at a time
  • Greaseproof paper
  • Sieve

Instructions

  • Preheat the oven to 200°C, (fan 180°C, gas mark 4) and line your baking trays with greaseproof paper.
Full post

Make the most of Iceland in 8 days

Welcome to Iceland

How can you best spend eight days travelling around Iceland? Why is this a recommended length for a trip around this beautiful island? Read on to see how to spend eight amazing days in Iceland.

You’ve probably just arrived at Keflavík International Airport, taken the shuttle bus to pick up your car, and you’re itching with excitement to explore this beautiful island!

The article starts you off just leaving the capital, Reykjavík (don’t worry, you’ll spend some time there at the end!), and describes some of the best things to see and some great places to stay too.

Don’t stick to just these places though, this isn’t an exhaustive list and there is so much that this trip didn’t contain. Also be sure to take lots of unscheduled stops at the various laybys you’ll find on the ring road, there is so much beautiful scenery and hidden gems between the main stops so don’t miss out on those!

Note: Most guides will tell you to visit the Blue Lagoon first but due to a delayed flight, that didn’t happen on this trip. I hear it’s beautiful but very expensive).

This trip was done in early October and mostly utilises the main ring road (Route 1) to traverse the country.

This article will start with a overview of the itinerary and then it’ll go into more detail for each day. Ok, let’s get started!

Note on the weather: Unfortunately the weather was not so ideal during the entireity this trip, and apart from a couple of days, it was constantly cloudy and rainy, with not a single clear night whatsoever. This meant I did not see any stars or the nothern lights, whether this is typical for October or not, I’m not sure.

Itinerary Overview

alt text

Full post

Make the most of Svalbard in 4 days

Welcome to the Arctic Circle

Intro

Have you ever wanted to go to the Arctic Circle? It’s easy, if you don’t think that’s true, check out this video from Tom Scott on how to visit Svalbard.

Despite the sound of the words “Arctic Circle”, it’s not nearly as remote as you might think. It is sparsely populated though, and the only “city” there, Longyearbyen, houses a small population of roughly 2000.

Location of Svalbard in comparison to Europe
Location of Svalbard in comparison to Europe

It was settled when mining was a big source of income in the area and it is becoming a more popular tourist destination. They have some bars that wouldn’t look out of place in Shoreditch (London) and AirBnBs and fast WiFi (mainly because of the research also done there).

Speaking of AirBnBs, I’d recommend going for these. There are a few hotels but they are a lot more expensive.

Prepare for the weather! This article is for a June holiday, so around the city itself there isn’t much snow, but as soon as you leave the town you’ll see endless snow and glaciers, so wrap up warm. Also, June is in the “summer sun” season where the sun stays high in the sky for 24 hours a day. As fun as this is this can be disorienting, so make sure you try and sleep at a regular-ish time (the bars close at 2 am so there’s not much to do after this anyway).

Full post