Hindsight, so much faster

No, wait, not hindsight, timelapse. Timelapse is so much faster. The little embedded youtube video there (all four minutes and seventeen seconds of it) was closer to four and a half hours in real time.

I finally got around to assembling my Altairduino and decided to record the process for posterity, and because I am definitely not original 😉

Anyway, there you go, my sausage fingers doing a bunch of soldering in high-speed. My neck was not happy with me after that…

On the plus side, not only have I fixed a couple of wordpress issues on my server, I’ve also successfully used a computer again for the first time in five days (contracting pink eye is definitely not recommended)

08. November 2019 by Mat
Categories: Daily Wibbles | Tags: , , | Leave a comment

A Bash Shaped Hammer to Crack an AWS Shaped Nut

No, I know, I really should hide this sort of one-liner awfulness on a private wiki somewhere, but right now, I don’t have one set up, so it’ll have to live here…

Anyway, requirements: find all subnets across regions for an AWS account, and update the ones which automatically assign an IPv4 address to new instances, and update that to not do so.

Lovely hacky one-liner solution:

for region in `aws ec2 describe-regions --output text | cut -f3` ; do aws ec2 describe-subnets --region ${region} | jq -r '.Subnets[] | select(.MapPublicIpOnLaunch==true) | .SubnetId = "aws ec2 modify-subnet-attribute --subnet-id \(.SubnetId) --no-map-public-ip-on-launch --region=\(.AvailabilityZone[:-1])" | .SubnetId' ; done

The observant amongst you will notice that this only outputs the “aws ec2 modify-subnet-attribute” commands, but I’m fine with reading over what is about to be done, and then copy-pasta-ing the commands back into a terminal to run them.

19. June 2019 by Mat
Categories: Daily Wibbles | Comments Off on A Bash Shaped Hammer to Crack an AWS Shaped Nut

Smashed it.

No, not the time between blog posts, but my elbow.

At the back end of January, some clown walking down the bike lane kicked my bike out from under me, and before I knew it, I was sticking a “three points of contact, full superhero landing”, only my three points of contact were my head (hurrah for helmets), my hip, and the initial point of impact, my elbow. One badly smashed humerus later, and I won the prize of four and a half hours of reconstructive surgery, some screws, and some metal plates. No large bearded man telling me “You’re a cyborg, Harry” though. See below the break for magic internal photos (X-rays, Mat. They’re called X-rays).

Continue Reading →

27. March 2019 by Mat
Categories: Daily Wibbles | Comments Off on Smashed it.

Obviously I need to find a much shorter, neater network cable,…

Obviously I need to find a much shorter, neater network cable, but I am very pleased with this option for taking my openspot mobile. It’s a mifi device with a network port, but also a USB port to function as a power bank. My plans ultimately have a box running from a larger USB battery pack, but it’s nice to know I can operate super lightweight if I want to.

from Tumblr https://ift.tt/2pEfMq8
via IFTTT

16. May 2017 by Mat
Categories: Amateur Radio | Tags: , , , , , , | Comments Off on Obviously I need to find a much shorter, neater network cable,…

My Inner London Shack

I did a little tidying up and rearranging of the shack, so I thought I should post up here in some form of attempt to try and keep updating here. Of course, when I say shack, I am in a flat in the middle of London, so where some folks have entire rooms/converted garages/sheds, I have the top of a set of shelves…

Despite this, I have managed to work JT-65 out into Europe/the fringes of Russia/Kazakhstan with 5W from my Yaesu ft-817 and my recently acquired AlexLoop Walkham, which I am quite pleased with.

I have also been playing with some APRS, using both my ft-817 and my trusty baofeng UV-5R with a mobilinkd bluetooth TNC, and APRSDroid on my phone, as well as setting up a receive only iGate using an RTL-SDR and a raspberry pi.

The things I haven’t been as active with are amsat work, and either VHF analogue or any DMR work through my openspot, so I am going to set myself a goal of making my first amsat QSO by the end of April, and also try to get into the habit of at least monitoring my local repeaters and/or some DMR talkgroups.

That and replace the windows surface in that (terrible) photo of my shack with a raspberry pi with a seven inch touchcreen, hopefully running my APRS iGate, wsjt-x, GNU predict for amsat work, and whatever else I can think of to punish my poor overworked pi.

from Tumblr https://ift.tt/2nvnSQL
via IFTTT

09. April 2017 by Mat
Categories: Amateur Radio | Tags: , , , , , , , , , , , | Comments Off on My Inner London Shack

Create SES users in the SES console, not the IAM console

Having spent some time this morning getting annoyed by Amazon’s SES returning “535 Authentication Credentials Invalid” for what I knew were valid credentials when trying to send email via the SES SMTP interface, I am typing this up here to make sure that I remember it for the future.

Requirements for sending emails:

Create the user in the SES console, not the IAM console, even though the SES user will show in the IAM console once created. Because obviously.

Base64 encode the access key and secret key, but don’t just do

echo myvoiceismyaccesskey | base64

because that is too obvious 😉 Better make it

echo -n myvoiceismyaccesskey | base64 -w 0

Fuck yeah option flags 😉

09. February 2017 by Mat
Categories: SysAdmin Type Things | Comments Off on Create SES users in the SES console, not the IAM console

My Magic Chilli

I’ve had at least one person ask me about my chilli recipe, so here goes. It is largely a choose-your-own style adventure, but I’ll try to give the basics, and will be giving away my little secrets. For reference, I usually cook this in “a git big pot”, or, to put it another way, a “deep casserole” pan, which is either four or six litres. I’m not sure, and I can’t be bothered to go downstairs right now to check. (That, right there, is the sort of dedication to blogging which leads to sometimes two whole posts per year). Continue Reading →

30. October 2016 by Mat
Categories: Food | Tags: , , | Comments Off on My Magic Chilli

Ten characters to save hours of hassle

We’ve recently been making some security minded changes at work, one of which is ssh-ing though a bastion host/jumpbox, and me, being one of those linuxy types, had some hassles with my ssh working. I was getting errors where both sides of the connection claimed that other one had closed the connection, and some mumbles about pre-auth.

After a lot of time wasted googling, and trying things like limiting the ciphers used, dropping to a 2048 bit key instead of a 4096 one, trying keys without passphrases, I managed to stumble on the ten characters which fixed my connection, and allowed me to ssh with a snippet in ~/.ssh/config via a bastion host

ssh-add -k

Yup, I forgot the number one rule of computering, which is stop trying to find the most elaborate, complex solution, and start with the easy steps.

It might be annoying, but this is why computer people ask if you’ve restarted/reloaded things 😉

13. July 2016 by Mat
Categories: Daily Wibbles, SysAdmin Type Things | Comments Off on Ten characters to save hours of hassle

Protected: LEJoG, or “Why Am I Doing This?”

This content is password protected. To view it please enter your password below:

28. August 2015 by Mat
Categories: bike tour, Cyclist | Comments Off on Protected: LEJoG, or “Why Am I Doing This?”

I won a thing!

 

London Hackspace Radio Club - RSGB National Club of the Year 2014 (large club section)

London Hackspace Radio Club – RSGB National Club of the Year 2014

Well, technically I was a small part of a club which won a thing, but in the last year I’ve been doing something which I wanted to do twenty years ago, but for whatever reasons didn’t, and I’ve been getting into amateur radio, starting with my foundation license in April 2014, and moving up to the intermediate license in April 2015. And no, I’m not planning to wait until April 2016 to get my full license, although now I look at it, there is something nice about the progression being every April.

Anyway, at the 2015 RSGB AGM, the London Hackspace Radio Club ( callsign M0HSL ) were awarded the RSGB’s Club of the Year 2014 (Large Club Section) award, which was nice, and thanks to the RSGB and their CC-BY-NC-ND licensing of the photographs taken at the award ceremony, you lucky lucky people get to see this here picture of the representatives of the LHS Radio Club being presented with the award, kindly sponsored by Waters and Stanton.

LHS Radio Club receiving the RSGB Club of the Year 2014 award. Photo courtesy of RSGB

LHS Radio Club receiving the RSGB Club of the Year 2014 award. Photo courtesy of RSGB

19. May 2015 by Mat
Categories: Amateur Radio | Tags: , | Comments Off on I won a thing!

← Older posts