Pretty Printing XML on the Command-Line (1 mins read).
How to use xmllint
to pretty-print XML/HTML files.
Pretty Printing XML on the Command-Line (1 mins read).
How to use xmllint
to pretty-print XML/HTML files.
Backporting/Replaying Changes using git format-patch
and git apply
/ git-am
(2 mins read).
Using git format-patch
and git apply
/git am
to apply a patch, if git cherry-pick
isn't available.
For anyone having issues not seeing #MrRobot Season 4 Episode 11 in their Fire TV / Prime video account, try skipping through Ep 10 until it autoplays 11
Happy Second Appendixaversary (2 mins read).
Celebrating the second anniversary since my appendix ruptured - and reminiscing on the benefits of a well-funded NHS.
List What Files Changed in a Git Commit (1 mins read).
How to list what files changed in a given commit.
Sorry to anyone who's just received a tonne of webmentions from me - I'm tweaking the way the sending works so there are a few new places you may see them come from
This post has been published by my Micropub endpoint (code in https://gitlab.com/jamietanna/www-api ) and syndicated to Twitter via https://brid.gy 🙌 #IndieWeb - I'm able to own my tweets from my personal website at https://www.jvt.me and you can too by joining the folks at https://indieweb.org/discuss
49% of workers, when forced to update their password, reuse the same one with just a minor change
Recommended read: 49% of workers, when forced to update their password, reuse the same one with just a minor change https://www.grahamcluley.com/49-of-workers-when-forced-to-update-their-password-reuse-the-same-one-with-just-a-minor-change/
Using Bash to automate Rubocop fixes
Recommended read: Using Bash to automate Rubocop fixes https://krmannix.com/2019/12/12/using-bash-to-automate-rubocop-fixes/
Inside Gousto’s Chaos Engineering Hackathon
Recommended read: Inside Gousto’s Chaos Engineering Hackathon https://medium.com/gousto-engineering-techbrunch/inside-goustos-chaos-engineering-hackathon-2afb6a2243ad
How to fight back against Google AMP as a web user and a web developer
Recommended read: How to fight back against Google AMP as a web user and a web developer https://markosaric.com/google-amp/
Binary Planting with the npm CLI
Recommended read: Binary Planting with the npm CLI https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
Just been shown this by a colleague - it's a great way to learn shortcuts for the thing you just did and how you can do that task with a handy keystroke in the future!
Recommended read: IntelliJ Key Promoter X https://github.com/halirutan/IntelliJ-Key-Promoter-X
Blogcop: A GitHub app that helps you manage your Jekyll blog
An interesting idea, but surely you'd not want to break existing links to your articles, and instead have it update the article to say "this may be outdated, we're reviewing this"?
Recommended read: Blogcop: A GitHub app that helps you manage your Jekyll blog https://www.ombulabs.com/blog/github/jekyll/ruby/blogcop-for-jekyll.html
Recommended read: It's Time for OAuth 2.1 https://aaronparecki.com/2019/12/12/21/its-time-for-oauth-2-dot-1
Ruby Literals You May Not Know
Some interesting ones in here I'll look at using - escaping things is one of my biggest gripes with every language, so this is pretty nice
Recommended read: Ruby Literals You May Not Know https://citizen428.net/blog/ruby_literals_you_may_not_know/
Recommended read: Do We Really Need a Web API? https://liaison.dev/blog/articles/Do-We-Really-Need-A-Web-API-yq12wz
Will ‘Star Wars’ Stick the Landing? J.J. Abrams Will Try
Recommended read: Will ‘Star Wars’ Stick the Landing? J.J. Abrams Will Try https://www.nytimes.com/2019/12/11/movies/star-wars-the-rise-of-skywalker-jj-abrams.html
What 10,000 Steps Will Really Get You
An interesting read, especially since I keep a watch on these by https://www.jvt.me/posts/2019/10/27/owning-step-count/
Recommended read: What 10,000 Steps Will Really Get You https://www.theatlantic.com/health/archive/2019/05/10000-steps-rule/590785/
I will be attending IndieWebCamp London on
I will be attending IndieWebCamp London 2020 on
This is a great read about the things that being in the https://indieweb.org/ (Independent Web) can empower you with, and the ownership and agency that it affords you.
I'd recommend a read of https://www.jvt.me/posts/2019/07/22/why-website/ and https://www.jvt.me/posts/2019/10/20/indieweb-talk/ for a bit more info, too.
Recommended read: It’s Time to Get Personal https://24ways.org/2019/its-time-to-get-personal/
Recommended read: “Link In Bio” is a slow knife https://anildash.com/2019/12/10/link-in-bio-is-how-they-tried-to-kill-the-web/
Using Chef to Delete Files that aren't in a List (2 mins read).
How to delete files in a directory that don't match a list.
This is a brilliant talk about the quirks of JavaScript, from a number of years ago.
Although it's fun to hate on JavaScript, it can also be seen about other languages.
Definitely worth a watch if you've never seen it before, or are working with JavaScript and want to have to think very hard about what the language does.
Recommended read: Wat https://www.destroyallsoftware.com/talks/wat
Converting a JSON Web Key to a X.509 .pem
file (in Node.JS) (2 mins read).
Converting a JSON Web Key (JWK) to an X.509 PEM file, using the node-jose
library.
Day 10 - It’s OK if you’re not running Kubernetes
Recommended read: Day 10 - It’s OK if you’re not running Kubernetes https://sysadvent.blogspot.com/2019/12/day-10-it-ok-if-you-not-running.html?m=1
Recommended read: Blogging Less in the 2020s https://www.kickscondor.com/blogging-less-in-the-2020s/
There is no “Linux” Platform (Part 1)
Recommended read: There is no “Linux” Platform (Part 1) https://blogs.gnome.org/tbernard/2019/12/04/there-is-no-linux-platform-1/
Recommended read: Level of Effort https://bradfrost.com/blog/post/level-of-effort/
Developers shouldn't distribute their own software
Recommended read: Developers shouldn't distribute their own software https://drewdevault.com/2019/12/09/Developers-shouldnt-distribute.html
I thought something weird was happening - I've not seen any incoming webmentions since Friday from my own posts, and it seems that my webmention sending post-deploy isn't working.
I'll look into that tonight!
In the Beginning was the Website
Recommended read: In the Beginning was the Website https://desmondrivet.com/2019/12/08/intro-to-indie-web
Recommended read: 2019 Firefox Flashback https://www.mozilla.org/en-US/firefox/flashback/
Interactive Gender Pay Gap Tool
Recommended read: Interactive Gender Pay Gap Tool https://www.starlingbank.com/current-account/tools/interactive-gender-pay-gap-tool/
Zsh prompt with asynchronous Git status
This is an interesting idea - I've not been bitten by it before, but may be worth adding to my dotfiles anyway
Recommended read: Zsh prompt with asynchronous Git status https://vincent.bernat.ch/en/blog/2019-zsh-async-vcs-info
Choose Your Docker Base Image Wisely
Version pinning is always a difficult line to walk - you don't want things to change when you're not expecting them to (such as here) but you also don't want to be pinned to really old versions of software, as that increases risk
Recommended read: Choose Your Docker Base Image Wisely https://www.innoq.com/en/blog/choose-your-docker-base-image-wisely/
Configuring a Jenkins Multibranch Pipeline to Use an External Script with Job DSL (2 mins read).
How to set up a Multibranch Pipeline to use an external Git repo for running your Jenkins script.
ChefSpec Gotcha: Using render_file
When Deleting Files (2 mins read).
How to use render_file
with ChefSpec when you're deleting the file.
What Stable Kernel Should I Use?
Recommended read: What Stable Kernel Should I Use? http://kroah.com/log/blog/2018/08/24/what-stable-kernel-should-i-use/
Thames Water don't get password security
Recommended read: Thames Water don't get password security https://shkspr.mobi/blog/2019/12/thames-water-dont-get-password-security/
Linux exists only because of a happy accident
Recommended read: Linux exists only because of a happy accident https://augustl.com/blog/2019/linus_and_linux_happy_accident/
Recommended read: Improving CLIs with isatty https://blog.jez.io/cli-tty/
How to Fix Social Media by Injecting A Chunk of the Blogosphere
Recommended read: How to Fix Social Media by Injecting A Chunk of the Blogosphere https://kottke.org/19/01/how-to-fix-social-media-by-injecting-a-chunk-of-the-blogosphere
Defragmenting your Calendar and your Outlook
Recommended read: Defragmenting your Calendar and your Outlook https://www.hanselman.com/blog/DefragmentingYourCalendarAndYourOutlook.aspx
PHPMiNDS August - the Politics of Tool Shaming (7 mins read).
A writeup of James' talk at PHPMiNDS about the impacts of criticising others for their technology choices.
Being in First Class on a train is great and all (only £2 more expensive than an open return - bargain!) but they can't make tea correctly. They put the milk in first!!
After seeing my Spotify Wrapped playlist for the year, and some of the usage stats, I think I'm definitely going to be writing an application to get that data out for myself and my own usages
Day 2 - 15 Ways to Make On-Call More Fun
Recommended read: Day 2 - 15 Ways to Make On-Call More Fun https://sysadvent.blogspot.com/2019/12/day-2-15-ways-to-make-on-call-more-fun.html?m=1
Recommended read: It was 20 years ago today http://boston.conman.org/2019/12/04.1