Converting an x5c
from a JSON Web Key to a PEM with Node.JS (1 mins read).

How to convert a JWK's x5c
to a PEM-formatted certificate with Node.JS.
Converting an x5c
from a JSON Web Key to a PEM with Node.JS (1 mins read).
How to convert a JWK's x5c
to a PEM-formatted certificate with Node.JS.
Extracting x5c
s from a JSON Web Key Set (JWKS) to PEM files with Node.js (1 mins read).
How to extract the full chain of certificates from a JWKS' x5c
parameter to files.
Generate a running mock server from an OpenAPI specification using Prism (3 mins read).
Using Stoplight's prism
tool to run a stubbed server from an OpenAPI specification, for better testing.
Gotcha: checked and unchecked exception handling from Spring WebFlux WebClient
(2 mins read).
How checked and unchecked exceptions may appear when testing your WebClient
code.
Accessing the response body with Spring WebFlux WebClient
with onStatus
(1 mins read).
How to access the body of an (error) response when using WebClient
's onStatus
method.
#IAmAntifa are you? πBrΓd ππ¬π¦β‘π¦ πΊπΈ (@DianeYoder12)Sun, 04 Jul 2021 03:29 +0000
Running a command on a visual selection in Vim (1 mins read).
How to pipe the text in a visual selection to a command, either to run it, or to replace the text in the seletion.
Updating the CA Certificate bundle in Chef Installations (3 mins read).
How to update/add new certificates to the Certificate Authority Certificate Bundle in a Chef Development Kit / Workstation installation.
Introducing a Go command-line tool for interacting with Micropub servers (1 mins read).
Announcing the initial release of micropub
, a CLI for interacting with Micropub servers.
Automagically formatting on save, with Neovim and Language Server Protocol (LSP) (1 mins read).
How to use Neovim's Language Server Protocol (LSP) support to autoformat code on a file's save.
Gotcha: Segfault when HTTP headers include newlines with Go (2 mins read).
Why you may be receiving a segfault when using http.Client
with HTTTP headers that include newlines.
Week Notes 22#08 (5 mins read).
What happened in the week of 2022-02-21?
Converting Spring Boot Property Variables to Environment Variables with Go (1 mins read).
A command-line script to convert a Spring Boot property to an environment variable.
Pretty Printing JSON Web Tokens (JWTs) on the Command Line using Go (2 mins read).
How to easily introspect and pretty print a signed JWT (JWS) or an encrypted JWT (JWE) on the command line using Go.
I will be attending
Gotcha: Field casing is important when marshalling struct
s to JSON in Go (2 mins read).
Why you may be missing fields from your struct
s in your Go json.Marshal
calls.
Testing @Scheduled
annotations with Spring (Boot) (2 mins read).
How to test your Spring (Boot) scheduling without waiting for hours.
Creating a "Manual of Me" (1 mins read).
Creating a reference document about how to best collaborate together.
Everything on Twitter is a π§΅ these days and itβs annoying. Get a blog. #moarusingh.com (@MaybeThisIsRu)Wed, 23 Feb 2022 05:48 GMT
Pretty Printing JSON on the Command Line with Go (1 mins read).
Using Go's JSON module to pretty print JSON objects from the command line.
Reading all of stdin
on the command-line with Go (1 mins read).
How to read the whole of stdin
, up to EOF, with Go.
Week Notes 22#07 (4 mins read).
What happened in the week of 2022-02-14?
Tobie Langel, Open source strategist and Principal at UnlockOpen, joins Chris, Feross, and Amal to discuss recent widespread incidents affecting the JavaScript community (and breaking CI builds) around the globe. Two widely used npm libraries were self-sabotaged by their single maintainer, yet again, highlighting the m...
Tobie Langel, Open source strategist and Principal at UnlockOpen, joins Chris, Feross, and Amal to discuss recent widespread incidents affecting the JavaScript community (and breaking CI builds) around the globe. Two widely used npm libraries were self-sabotaged by their single maintainer, yet again, highlighting the m...
My colleague Bethan wrote about the work we're currently doing on Federated API Discovery across government. Very much recommend a read about why we're doing it, and we'll be doing more posts in the future about progress, but until then, you can check out the repo
Exporting a Git repo as an archive (1 mins read).
How to export a Git repo as an archive format, such as a .tar.gz
or a .zip
.
How to interpolate a property inside Spring Security @PreAuthorize
/ @PostAuthorize
(3 mins read).
How to use the value of a property in a Spring Security authorization statement.
Combining an Audio-only and Video-only MP4 with ffmpeg
on the command-line (1 mins read).
How to use ffmpeg
to combine two MP4 files, where each file contains audio and video separately.
Today is the three year anniversary of Anna Dodson and me using #Gousto, and it's wild how much of a difference its had on how much we cook, the fact that sometimes we even cook of our own accord, and that we've made a number of the meals ourselves.
We found it to make a good change to our cooking pre-pandemic, and throughout the pandemic it kept us safer, meaning we didn't have to go out and gave us lots of variety in our meals. It's been so convenient and made the weekly shop a fun 10 minute experience of "ooh that looks good".
There's currently a great discount so you - and us - can get a load of money off and see if it's worth it, using my referral code JAMIE21201650
Happy Valentine's Day! Did you miss me? I am back with Season 4 with something that needs to be said among all of the discourse surrounding courses, books, tutorials, and money in technology that not many people talk about. It really could be the solution to all of your problems. >> All Links are Here https://linktr.ee/javavvitch
Week Notes 22#06 (2 mins read).
What happened in the week of 2022-02-07?
I will be attending
π Still shopping for Valentine's day? Here's the perfect way to show that special somebody you love them.* *If they are an open source contributor you appreciate. Others might prefer some flowers. We β€οΈ open source. Share your love too. oss.loveNetlify (@Netlify)Sun, 13 Feb 2022 09:59 GMT
Adding a Wiretap to a Spring WebFlux WebClient
to Log All Request/Response Data (2 mins read).
How to log all request/response data from a Spring Webflux WebClient
.
Determining if the Spring Boot Application is Running in Debug or Trace Mode (3 mins read).
How to determine if your Spring Boot application is running in debug mode, for instance to selectively enable other features of your application.
If anyone fancies giving #Gousto a try, there's a very good referral bonus for the next week if you use my codeJAMIE21201650
. Its been a hugely important in keeping us fed generally well, cooking through the week, and avoiding risky shopping visits through the pandemic, and there's a tonne of tasty food!
Simplifying Spring (Boot) ExceptionHandler
s by extending ResponseStatusException
(1 mins read).
How to drive HTTP response status codes from exceptions by extending Spring's ResponseStatusException
.