RSSAmplifier

Blog

Alan Pearce

alanpearce.euRSS feed ↗16 posts

Latest posts

scriptura: a cozy corner for your scripts

I’ve created a new little tool to help run and manage scripts in a folder tree, called scriptura . It is based on the idea behind sd and is made for fish users. 
 Given a script folder like so: 
 $ set -x SCRIPTURA_ROOT ~/scripts
$ tree ~/scripts
~/scripts
├── os
│ └── update
│ ├── linde
│ └── r5 -> linde
└── scriptura
 └── tree
 
 If I type in…

Avoiding Linguistic Misunderstandings

Recently, I’ve been noticing more linguistic misunderstandings and it prompted me to make changes to how I communicate in order to reduce the likelihood of such misunderstandings. 
 Spell out initialisms 
 Unless 100% sure that the other party knows the same initialisms I do, I try to avoid them. I recently saw someone mention ‘SA’ in a group as referring to social anxiety, which led to…

Announcing Searchix: Nix ecosystem search

I decided to create a search tool for NixOS, nix-darwin and
home-manager options and packages, potentially with more sources to
come. 
 I called it Searchix 
 For NixOS options and packages,
 search.nixos.org already exists (and works
better than Searchix), whereas for home-manager and nix-darwin, I
couldn’t manage to find a web-based search tool that’s…

When Tailscale MagicDNS isn’t

Frustrations of a NixOS user

Homesteading

Running my own code

Running NixOS on a NanoPi R5S

I managed to get NixOS running on my NanoPi R5S ( FriendlyElec Wiki ). 
 Firstly, I flashed a pre-built stock Debian image from inindev to an SD card. This can be used as a rescue system later on. 
 From that SD card, I then flashed the same system onto the internal eMMC Storage. I only really needed to this to ensure UBoot was correctly installed; I think there will be an easier way to do…

Now on three continents

This website is now hosted on three continents

Postfix on a NixOS null client with external catch-all

I wanted to set up a server so that any local email (e.g. generated by cron jobs/systemd timers) would be forwarded to an external address, regardless of the user. I also wanted the from address to keep the system hostname whilst not allowing any external use of the mailserver. 
 It took me a while to figure out how to this, so I thought I’d share my method. 
 Here’s the config…

A simple, powerful self-hosted git setup

I describe my git server setup (using cgit and gitolite), and what it allows

Repository management with ghq

I recently encountered ghq , a tool for automatically organising VCS-backed
projects automatically. Give it a repository URL, it will clone a project to
your projects dir (set by $GHQ_ROOT ) like so: 
 $ ghq get https://github.com/motemen/ghq
# Runs `git clone https://github.com/motemen/ghq ~/.ghq/github.com/motemen/ghq`
 
 I don’t like the idea of having projects…

Back again

I'm back

Cedit and Paredit

Cedit and paredit for structural editing

Emacs Package Archive Statistics

Working out which package archives I'm using

Opening Projects with Projectile

I use Projectile for working with projects in Emacs. It’s really good at finding files in projects, working with source code indexes (I use Global ), and with its perspective support, it’s also great at separating projects into workspaces. However, I’ve always felt it lacking in actually opening projects. I tend to work on different projects all the time and…

Cloning Similar Git Repositories

Speed up cloning of similar git repositories

A New Site

I made a website.