Skip to content

Instantly share code, notes, and snippets.

View aviflax's full-sized avatar

Avi Flax aviflax

View GitHub Profile
Mar 1 12:14:40 AM Starting HTTP server listening on port 8080
Mar 1 12:15:59 AM Mon Mar 01 05:15:59 GMT 2021 [worker-4] ERROR - POST /subscribe
Mar 1 12:15:59 AM clojure.lang.ExceptionInfo: No reader function for tag object {:type java.lang.RuntimeException, :line 242, :column 5, :message "No reader function for tag object", :sci.impl/callstack #object[clojure.lang.Delay 0x5df8b983 {:status :pending, :val nil}], :file "/app/./server.bb", :locals {req {:remote-addr "68.195.40.53", :headers {"origin" "https://vaxavailability-help.onrender.com", "host" "vaxavailability-help.onrender.com", "user-agent" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15", "content-type" "application/x-www-form-urlencoded", "content-length" "246", "x-request-start" "1614575759839572", "referer" "https://vaxavailability-help.onrender.com/?lang=es", "accept" "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "accept-language" "en-us", "x-forwarde
curl https://am-i-eligible.covid19vaccine.health.ny.gov/api/list-providers | jq

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