Open in app

Sign In

Write

Sign In

Adam Compton
Adam Compton

321 Followers

Home

About

Jun 22

How to Restore Terminal Contents on Linux (Yes, Like iTerm2)

I recently switched to using a Linux desktop from a Mac as my primary work computer. I had grown quite accustomed to iTerm2’s session restoration feature, and I wanted something similar for Linux. Here is how I made it happen. Introducing tmux tmux, or “terminal multiplexer”, is designed to decouple the output…

Linux

3 min read

How to Restore Terminal Contents on Linux (Yes, Like iTerm2)
How to Restore Terminal Contents on Linux (Yes, Like iTerm2)
Linux

3 min read


Mar 16

Use Emacs for GTD Universal Capture in Linux

I like having a system-wide keyboard shortcut that activates some form of text editor. That allows me to press the shortcut, type whatever I have in mind, navigate away from the editor, and get back to what I was doing. …

Emacs

2 min read

Use Emacs for GTD Universal Capture in Linux
Use Emacs for GTD Universal Capture in Linux
Emacs

2 min read


Feb 8

How to get a count of Github PRs, by author

I was curious about who was creating the highest number of PRs in a specific git repo, and I couldn’t find a good way to figure it out. So here’s what I did. First off, I had to get the count of PRs by author and date. That took me…

Github

1 min read

How to get a count of Github PRs, by author
How to get a count of Github PRs, by author
Github

1 min read


Jan 15, 2021

The “Baked Data” architecture pattern

I learned about this recently from this blog post, and it seems like a really robust tool to have in my tool belt: [M]ost of the site content lives in a SQLite database, and I use custom Jinja templates to implement the site’s different pages. This is effectively a variant…

Linkpost

1 min read

Linkpost

1 min read


Jan 15, 2021

Linkpost: Command-line date utilities

dateutils Dateutils are a bunch of tools that revolve around fiddling with dates and times in the command line with a strong…www.fresse.org These look incredibly useful, but I am most excited that the project website includes comprehensive examples for each tool! I can’t count the number of times I found something that looked useful but which gave me basically no idea of how to use it or what it could really do (I’m looking at you, q).

Linkpost

1 min read

Linkpost

1 min read


Jan 6, 2021

Linkpost: Command-Line Interface Guidelines

Command Line Interface Guidelines An open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating…clig.dev I am excited to see this reference. I’ve long felt that the most important part of building a tool for people to use is thinking through how they’re going to use it, and even considering what you would want out of a tool if you were supposed to use it…

Linkpost

1 min read

Linkpost

1 min read


Jun 3, 2020

How I reinstalled Windows 10 on a Surface Go

I purchased a Microsoft Surface Go recently. The other day, it blue-screened and refused to start up again (cycling through the “Automatic Repair” screen and failing repeatedly). …

Windows 10

4 min read

Windows 10

4 min read


Nov 30, 2019

Automating a daily journal with Joplin

I have a long-standing interest in personal knowledge management (PKM). I’ve tried lots and lots of different tools, and I recently learned about Joplin and decided to try it out. Requirements, or “Is that too much to ask?” There’s not a lot of specific things I want out of a PKM tool, but I’ve had a hard time…

Knowledge Management

2 min read

Automating a daily journal with Joplin
Automating a daily journal with Joplin
Knowledge Management

2 min read


Nov 26, 2017

Creating an EPUB from a Wordpress blog

Recently, I wanted to create epubs of some reading material, specifically some Wordpress-hosted blogs. Rather than implementing a separate script for each blog I wanted an epub from, I wrote a tool to figure it all out for me: trivialpub. Usage is simple: provide a YAML config file, such as: …

Programming

1 min read

Programming

1 min read

Adam Compton

Adam Compton

321 Followers
Following
  • Yael Wolfe

    Yael Wolfe

  • Jared A. Brock

    Jared A. Brock

  • Cory Doctorow

    Cory Doctorow

  • Christine Stevens

    Christine Stevens

  • Christine's Adventures

    Christine's Adventures

See all (166)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams