Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am aviflax on github.
  • I am flaximus (https://keybase.io/flaximus) on keybase.
  • I have a public key ASBSIzxLu2iytAPJKnBUgLv87uynRxSFH8oACr1iHvzikwo

To claim this, I am signing this object:

OS Year of Initial Release
BSD 1977
MINIX 1987
NextStep 1989
Linux 1991
Solaris 1992
@aviflax
aviflax / abbr.md
Created January 14, 2021 21:16
Testing using the abbr tag in GFM

This next abbreviation should be denoted as such, IIRC.

https://www.newyorker.com/tech/annals-of-technology/the-rise-and-fall-of-getting-things-done

This initially reads as though it might be a profile of Merlin Mann, who helped popularize David Allen’s productivity technique Getting Things Done. But it quickly goes deeper, way deeper, into our conception of productivity, its history in our culture, its implication in the current wave of burnout, and how it might evolve in the future.

This paragraph is the inflection point:

Before there was “personal productivity,” there was just productivity: a measure of how much a worker could produce in a fixed interval of time. At the turn of the twentieth century, Frederick Taylor and his acolytes had studied the physical movements of factory workers, looking for places to save time and reduce costs. It wasn’t immediately obvious how this industrial concept of productivi

Discussing categories vs tags in Discourse:

Categories are like walls. Build 4 and you have a nice house; build 24 and you have a maze. Tags are much lighter weight structures than categories and more flexible.

from Do Categories Scale?

Apps that combine spreadsheets, databases, and/or documents

I’ve noticed a lot of these cropping up lately and just want to start keeping track of them:

#!/usr/bin/env node
const slackifyMarkdown = require('slackify-markdown');
const fs = require('fs');
const markdown = fs.readFileSync(0, 'utf-8');
const slacked = slackifyMarkdown(markdown);
console.log(slacked);
@aviflax
aviflax / example.sh
Created August 18, 2020 18:30
Running a shell script from anywhere in a Git repo
#!/bin/sh
# This can be run from anywhere within the repo.
set -eu
# This is the trick
repo_root=$(git rev-parse --show-toplevel)
# Now that we have the absolute path to the repo root, we can just use it
@aviflax
aviflax / userContent.css
Last active January 15, 2021 16:28
Firefox user CSS file to improve Instapaper printing
@media print {
div.read_content_container > main > div#story {
column-count: 2 !important;
font-size: smaller;
}
div.read_content_container > main a[href] {
color: rgb(19, 127, 179) !important;
text-decoration: underline !important;
}
#!/bin/sh
# Derived from https://github.com/tjluoma/bbwait
bbedit \
--create \
--language 'git-commit-message' \
--separate-windows \
--wait \
--resume \