Tag: Linux

14 posts

Why did/n't I do that? A tragicomedy in more parts than I'd like to think about...

In which your hero decides past him was actually a lazy, semi-competent nincompoop who needs a good thwack upside the head

Direct USB Network connection RPi and Linux

Direct USB Network connection RPi and Linux

After deciding to host my own Gitea server, I also wanted to be able to take my repositories on the road with me. And what better device to do this than a Raspberry Pi! I already had a spare Pi 4 with 4GB of RAM just sitting around and plenty of SD cards*. And I had previously tried connecting a Pi via USB to my laptop so I knew I could have it working with a direct connection rather than as a server sitting on the same network. But I quickly found out that things have changed, and previous meth...


A
adrianmartinsen
adrianmartinsen.pckt.blog
Mar 24, 2026

Uses

Some of the stuff I use


ben blogs icon
ben blogs
benharri.org
Jan 16, 2024

git diff-highlight

Diff output from git can be hard to read. Luckily there’s a nice tool bundled with git that can help us out. Enter diff-highlight, a little perl script found in git’s contrib directory. From its own documentation: [diff-highlight] post-processes the line-oriented diff, finds pairs of lines, and highlights the differing segments. diff-highlight is shipped in a default git install but it needs to be bundled and added to your $PATH. Here’s how to do it on debian: Now you can pipe git’s diff output to to diff-highlight to get a better view of what actually changed. Optionally, you can configure […]


ben blogs icon
ben blogs
benharri.org
Jul 20, 2022

WordPress with sqlite3

Running WordPress with sqlite is a great alternative to mysql/mariadb.


ben blogs icon
ben blogs
benharri.org
Jul 6, 2022

Update Adventures

In which I ramble about my troubleshooting process


ben blogs icon
ben blogs
benharri.org
Aug 25, 2021

Default git branch name

How to change git's default branch name


ben blogs icon
ben blogs
benharri.org
Jun 16, 2020

Tools and services

A breakdown of things I use


ben blogs icon
ben blogs
benharri.org
Mar 3, 2020

LXD networking and additional IPs

Hetzner's networking can be strange


ben blogs icon
ben blogs
benharri.org
Jul 26, 2018

Dotfiles

I published my dotfiles


ben blogs icon
ben blogs
benharri.org
Jul 22, 2018

bashblog and your gopherhole

Integrating bashblog with public_gopher


ben blogs icon
ben blogs
benharri.org
Jul 22, 2018

Phoenix Forum

Building my own forum software with elixir


ben blogs icon
ben blogs
benharri.org
Feb 26, 2018

git remotes with ssh aliases

Did you know that ~/.ssh/config aliases work for git remotes? ~/.ssh/config You can now use gh:username/repo as the remote in place of git@github.com:username/repo, which is much shorter and easier to type many times! git clone gh:benharri/learngit There are many other use cases for the ssh_config file. For example, here is my config for the tilde machine for easy ssh connections. Then use ssh tilde to start a new ssh session. This also works with scp: try something like this scp file.txt tilde:workspace/. in place of scp file.txt ben@tilde.team:workspace/. The ssh_config file is super useful. Check man ssh_config for a full […]


ben blogs icon
ben blogs
benharri.org
Jan 12, 2018

Why I chose Silex for this website

Another tale of spending more time messing with blogging software than actually writing


ben blogs icon
ben blogs
benharri.org
Jun 28, 2016