RSSAmplifier

Blog

Alex Pearwin

Blog of software engineer and ex-physicist Alex Pearwin (né Alex Pearce).

alex.pearwin.comRSS feed ↗36 posts

Latest posts

Daikin heat pump WiFi woes

Troubleshooting WiFi connection problems with the Daikin Altherma MMI and Onecta app, ultimately due to WPA3 incompatibility.

Auto-formatting GitHub URLs with macOS Automator

Save time with a JavaScript macOS Automator quick action that formats GitHub URLs on paste.

Thinking loops in Elixir

Approaches for converting imperative loops into functional Elixir.

TIL: Conditional Git configuration

Setting configuration Git configuration to separate personal and work user information.

TIL: Colima as a Docker Desktop for Mac replacement

Using the Colima virtual machine manager to replace Docker Desktop for Mac.

High-availability real-time Celery monitoring

A guide on creating multiple Celery event receivers for highly available real-time worker and task monitoring.

Integrating CodeMirror with a Phoenix LiveView form

How to integrate the CodeMirror editor with a Phoenix LiveView form.

TIL: FastAPI, OpenAPI, and Bearer token authentication

How to add idiomatic support for Bearer token authentication in FastAPI's generated OpenAPI specification.

TIL: Logging and analysing slow PostgreSQL queries

How to leverage existing PostgreSQL configuration to find slow queries in your application.

Managing dotfiles with Nix

How to manage your programs and dotfiles with Nix and Home Manager.

A grand tour of Switzerland

A road trip around Switzerland.

Moving from Jekyll to Eleventy

Moving a blog-centric site from Ruby-based Jekyll to Javascript-based Eleventy.

Moving static sites from a VPS to Netlify

A short guide on how to run periodic jobs with a Kerberos token on CERN's computing resources

Creating a virtual machine for acron jobs

How to creating and set up a virtual machine for running acron jobs in the CERN network.

Running periodic Kerberos-authenticated jobs with acron

A short guide on how to run periodic jobs with a Kerberos token on CERN's computing resources

Managing dotfiles with GNU stow

How to organise and deploy dotfiles using GNU stow.

Simpler Jekyll searching

How to create a searchable post index on a Jekyll site

ROOT on OS X 10.11 El Capitan

A guide to install to high energy physics framework ROOT on OS X 10.11 with Homebrew.

Flask with Apache and Shibboleth authentication

A step-by-step tutorial on deploying Flask apps to a Linux VPS, running behind Apache with Shibboleth CERN SSO authentication.

Italic fonts in iTerm2, tmux, and vim

How to configure iTerm2, tmux, and vim to enable italic fonts.

Exponent labels in matplotlib

How to move and configure the exponent/offset label in matplotlib.

ROOT on OS X 10.9 Mavericks

Caveats when installing ROOT on OS X 10.9 (Mavericks).

TBrowser shortcut

A shortcut to launch a ROOT TBrowser from the terminal.

Python and ROOT on OS X

Fixing an ImportError from libPyROOT on OS X

Fixing a TMVA error

One solution for the TMVA error “signal and background histograms have different or invalid dimensions”.

Merging ROOT ntuples

How to merge multiple ntuples, in the form ntuple.root, in to a single file.

JaxoDraw on OS X with MacTex

Tips on running the Feynman diagram generator JaxoDraw on OS X

ROOT on OS X 10.8 with CMake and Homebrew

A step-by-step guide to install to high energy physics framework ROOT on OS X 10.8 with CMake and Homebrew.

Deploying with Capistrano

A step-by-step tutorial on deploying Ruby and static apps to a VPS with Capistrano.

Jekyll sitemaps

How to create a Google sitemap for a Jekyll site.

An Ubuntu VPS with rbenv, nginx and Passenger

A step-by-step tutorial on deploying Ruby apps to a Linux VPS, installing nginx, Passenger, rbenv, and PostgreSQL along the way.

The Spectrum of Quarkonium

A computational physics project on ‘Masses of S-State Quarkonium via the Roots of the Airy Function Ai(x)’.

Scattering Cross Sections in the Standard Model

A computational physics project on ‘Numerical Evaluation of the e+e− → μ+μ− Cross Section in the Standard Model’

Escaping liquid tags in Jekyll

How to include Liquid tags in Jekyll posts.

Simple Jekyll searching

How to add simple JSON-based searching to Jekyll site.

Hello

An introduction to a blog.