Skip to content

Instantly share code, notes, and snippets.

[
// // Evaluate
{"keys": ["ctrl+enter"],
"command": "clojure_sublimed_eval",
"context": [{"key": "selector", "operator": "equal", "operand": "source.clojure"}]},
// // Evaluate Buffer
{"keys": ["ctrl+b"],
"command": "clojure_sublimed_eval_buffer",
"context": [{"key": "selector", "operator": "equal", "operand": "source.clojure"}]},
@aviflax
aviflax / homebrew formulae and casks.md
Last active November 8, 2023 23:08
My Homebrew Formulae & Casks

Leaves

$ brew leaves --installed-on-request
actionlint
aws-iam-authenticator
babashka/brew/obb
bat
borkdude/brew/babashka
borkdude/brew/carve
@aviflax
aviflax / cleanup_svg.py
Created December 9, 2021 15:25
Structurizr scripts
#!/usr/bin/env python3
import fileinput
def cleanup(line: str) -> str:
return line.replace(" ", " ").replace('xml:space="preserve"', "")
def __main__():
curl -v https://gitpod.com/
* Trying 45.79.154.83...
* TCP_NODELAY set
* Connected to gitpod.com (45.79.154.83) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
@aviflax
aviflax / Dockerfile
Last active January 7, 2022 22:33
A Docker setup for building and using a multi-architecture image with the Confluent Platform (community edition)
# We could use a smaller/simpler image to download the package, but this is the same base image as
# our ultimate image that we’re building, so we get to reuse the same cached layers.
FROM debian:buster-slim AS builder
WORKDIR /tmp/install
RUN apt-get update && apt-get install -yq wget
RUN wget --quiet \
-O confluent-community.tar.gz \
@aviflax
aviflax / push.yaml
Last active July 1, 2021 17:27
An example of a GitHub Actions job that builds a Docker container image and then pushes it to to the GitHub Packages container registry associated with the same repo, using regular `docker` commands
# An example of a GitHub Actions job that builds a Docker container image and then pushes
# it to to the GitHub Packages container registry associated with the same repo, using
# regular `docker` commands.
# Change these to whatever you want, of course. For example, you might want to only run this workflow for
# PRs. Personally I like to check the build on every push. That said, it’s probably not necessary to publish
# an artifact (container image) for every single push; I’m personally planning to add an `if` to the push
# step that skips the `docker push` if the GitHub event is `push`.
name: Push
on:

I’ve noticed that there seems to be a new crop of “modern” knowledge sharing apps for teams and I just wanted to start keeping a list. I have not tried all of these.

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