Updates: page 90

  1. Find git parent branch

    This is a situation I very infrequently find myself in, but when I do find myself here, I always scramble around the internet and suffer through a lot of just and other typical Stack Overflow crap.

    This is a little snippet to run in your terminal and it will output a load of useless guff, but importantly, right at the end, you'll see the current branch's parent branch:

    git show-branch -a \
    | grep '\*' \
    | grep -v `git rev-parse --abbrev-ref HEAD` \
    | head -n1 \
    | sed 's/.*\[\(.*\)\].*/\1/' \
    | sed 's/[\^~].*//'

    I'm not 100% sure how it works, but it does work by cleaning up a big old list of data with regular expressions.

    This note is mainly for me so I don't have to go through the trauma of finding this snippet again!

  2. A handy post about how Mastodon works

    I keep sending this link to folks who are new to Mastodon, so I thought I might as well keep a link to it.

    Kev does a great job of explaining how it all works in human-terms which is really crucial in getting a wide spectrum of people understanding and using Mastodon.

    His email analogy to explain how users from other instances interact is very good too.

    https://kevq.uk/how-does-mastodon-work/

  3. Variable Fonts and Dyslexia

    So much good in this post! I find variable fonts absolutely fascinating and considering they could be a powerful accessibility tool further increases that fascination. There are some really handy CodePen demos too.

    There is also some really handy information about the WCAG 2.1 text spacing rules which I'm going to make sure that this site complies with.

    http://adrianroselli.com/2018/08/variable-fonts-and-dyslexia.html

  4. Thoughts about Medium

    I hope that Medium deprecating support for custom domains will encourage folks to pull their content from there. I know I’m certainly thinking about it.

    If people do pull out of Medium, it further decentralises publishing on the web, so it can only be a good thing.

    Time to quell the myth that Medium brings traffic to your posts too. A recent rather successful one of mine had about 7% of traffic from the site it was published on. Not worth giving up ownership for is it?

  5. It’s time to say goodbye to Twitter

    My mental health has certainly improved considerably since I've stepped away from Twitter and I hope the same for Charlie too because she's great.

    This quote stuck for me:

    "In retrospect, a single giant character-limited IRC server that you can’t split up into more interesting channels was a fucking terrible idea. But we went with it, because it was an interesting way to hear from random new people and see what they were talking about."

    https://sonniesedge.co.uk/posts/abandon-twitter