Writing

Blog Posts

Post an array of objects to WebAPI using jQuery

This is quite niche but caught me out the other day. Let’s say you have a person entity: public class Person { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } } and you have a WebAPI method that takes in a group: public class UsersController : ApiController { …

Inked

So I got a tattoo. It's been something I've wanted to do for years but never worked up the courage to do it due to a general disliking of pain. I came close to getting the band tattoo a couple of years ago but The Fear got a hold of me and I didn't bother (thankfully). But, after getting over my fear of needles (I…

Stop Getting Random Post Notifications from the Facebook App

A month or so ago I started getting seemingly random notifications from the Facebook app about posts/links/photos friends had posted. The weird thing was that it wasn't recent stuff: most of it was from several days to weeks in the past. Here’s how to switch it off. Go to your Account Settings Open Notifications…

Trailer Trash Meatloaf

I've seen some fancy recipes online with Parma ham and white wine and such. This isn't that. Ingredients 500g Lean Minced Beef 6 rashers bacon 3 slices bread 1 large onion 1 egg 2 cloves garlic 3 tbsp milk 1 tbsp tomato ketchup 1 tbsp yellow mustard (French's / stuff you'd put on a hotdog) 1 tbsp Worcestershire…

Stuffed Chicken Breasts with Honey, Mustard and Cheese

Ingredients 4 chicken breasts 8 smoked streaky bacon rashers 3 tbsp wholegrain mustard 2 tbsp Dijon mustard 3 tbsp runny honey 150g mozzarella 50g cheddar Method Heat oven to 200C/fan 180C/gas 6. Grate or tear up the cheese. Put in a bowl with 1 tbsp wholegrain mustard and mix well, pressing with the back of a…

Slow Cooker Chunky Beef Chilli

Ingredients 500g casserole steak 2 onions 2 tbps cooking oil 2 tsp hot chilli powder 1 tsp Cayenne pepper 2 tsp paprika 1 tsp cumin 1 tsp oregano Mug beef stock 2 tbsp tomato ketchup 400g chopped tomatoes 400g kidney beans in chilli sauce 2 tbsp cornflour 1 square dark chocolate Method Put the chilli powder,…

Adding Business Layer Caching Using Castle Windsor AOP

Aspect Oriented Programming (AOP) is a programming paradigm that allows separation of cross-cutting concerns. But you probably already knew that if you're reading this. If not, go have a read at the Wikipedia page on AOP or the introduction page on the Castle Project site. The Problem If we have an existing…

Chatting with Natwest Customer Services

My online banking with Natwest wasn't working so I thought I'd try their live chat support. Chat An advisor will be with you shortly. While waiting to be connected, don’t forget you might still be able to find the answer to your question and many more by using our ‘Help 24x7’. During this chat you will not be asked…

A New Structure for Scottish Football

The recent plans for reconstruction of the Scottish league have been… interesting. Groups of 12-12-18 then splitting into 8-8-8-18 towards the end of the season. Yeah, okay. Here’s an alternative plan I've been mucking around with. It’s not ideal and I've no clue about the money situation but I think it'd make things…