Parse changelogs with wget and grep

I try to keep up with the latest kernel update from, but parsing through the output can be a pain if there are a lot of changes taking place. Here’s a handy one-liner to make it easier to read: wget --quiet -O - | grep -A 4 ^commit | grep -B 1 "^--" | grep -v "^--" It should give you some output like this: Linux ext4: Fix potential fiemap deadlock (mmap_sem vs....

2009-12-15 · 1 min · Major Hayden

Get the public-facing IP for any server with

There are a ton of places on the internet where you can check the public-facing IP for the device you are using. I’ve used plenty of them, but I’ve always wanted one that just returned text. You can get pretty close with, but there is still HTML in the output: I wanted something simpler, so I set up

2009-07-31 · 1 min · Major Hayden