How to delete multiple redis keys with backslashes in

I came across this issue the other day, looking at our redis logs some keys had been defined with backslashes in. This Isn't advisable, but it had happened, and we needed to get rid of them. If you manually use redis-cli DEL you can delete each key, but if you have a few thousand that isn't super helpful. All of the docs and posts online refer to the standard way [Read More]

If BTC is gold and ETH is oil, Ark must be solar.

After my last blog post about how I got into crypto investing, a few people have asked my opinion on different coins, and how I interpret the market at the moment. Please bear in mind I'm new to this and just one voice of a lone investor. Feel free to call this a shill piece, I just want to articulate why I have chosen to invest the way I have. [Read More]

A foray into crypto investing

As I've recently become an adult with a proper job, for the first time in my life I have had an income that covers more than just food and rent. This revelation prompted me to consider how best to invest my surplus income and make the most of the savings I had been able to accrue. There are many options out there, and the most long-term-saving-for-the-future-sensible option would probably be [Read More]

Search For - A bash function that harnesses the power of fzf and rg to let you edit as quickly as possible

Following on from my articles on reflection time and combining rg & fzf I wanted to expand on one of my more powerful use cases for these great tools that can have the biggest impact on reflection time. What I did was make a nice little bash function that uses, rg to search for strings in text files, fzf to display, search and filter the results, and then plumb the [Read More]

Reflection time: What is it, how do you measure it, and how can it be improved?

As I wait for a docker container to restart for the 1001st time, an artifact of poor design decisions made on an old project I have been lumbered with, I can't help but feel the need to try to define in more clear terms what I have been referring to as "reflection time". Reflection time is simply the time it takes for a developer to go from a location in [Read More]

Halloumi & Mushroom Pie

Ingredients 2 medium onions 2 medium packs of (different) mushrooms 1 head of garlic 2 red chillies 1 pack of halloumi Flour Oregano Salt Lea & Perrins (Worcestershire Sauce) Pre rolled puff pastry Olive oil Whisky (optional) Equipment Big pan (wok even) Pie tray Prep Slice the two onions into thin strands, the idea is to carmelise them, I tend to find thinner longer peices work nicer. Dice up the [Read More]

Everyday Carry

One of my small obsessions and favourite subjects to nerd out on is everyday carry items, or EDC for short. For people like me the idea is that the things you EDC are the things you use most in life, and if you invest in them they can make your life a lot easier and last a lifetime! Pocket Carry I like to be a minimalist when it comes to [Read More]

If I were standing for office...

With the general election suddenly looming and seeing how none of the parties running really represent my set of ideals, I thought I would write down what I really want to see represented. Ideally I would have research conducted on all of these areas and follow their findings. Science comes before tradition. My ill informed policies so far would be: ´┐╝Democracy Abolish the House of Lords, build a new parliament [Read More]

[Project log #4] Finally a chance to build something!

After looking at the data I was given, I have been using my limited biology knowledge to come up with theories as to how the data was created, what it means, and how it would best be used. This process has taken about three weeks, and in that time I spent good chunk of it lamenting over the blast2go outputs that I had been given. I thought they were the [Read More]

Vim text objects, extend Vim's natural language!

One of the magical things about Vim is that it uses nouns and verbs to construct an editing language. For example d (delete) is a verb and w (word) is a noun. By combining a noun & verb we make an edit. Learning this language is key to getting the most out of your editing, I recommend this great talk by Chris Toomey if this concept is new to you. [Read More]