Skip to content

Instantly share code, notes, and snippets.

Avatar

Avi Flax aviflax

View GitHub Profile
@aviflax
aviflax / formulae and casks.txt
Created Feb 9, 2022
My Homebrew Formulae & Casks
View formulae and casks.txt
==> Formulae
amazon-ecs-cli
aom
apr
apr-util
autoconf
automake
avro-c
aws-iam-authenticator
awscli
@aviflax
aviflax / cleanup_svg.py
Created Dec 9, 2021
Structurizr scripts
View cleanup_svg.py
#!/usr/bin/env python3
import fileinput
def cleanup(line: str) -> str:
return line.replace(" ", " ").replace('xml:space="preserve"', "")
def __main__():
View curl -v gitpod.com.txt
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 Jan 7, 2022
A Docker setup for building and using a multi-architecture image with the Confluent Platform (community edition)
View Dockerfile
# 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 Jul 1, 2021
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
View push.yaml
# 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:
View “Modern” knowledge sharing apps.md

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.

View Some of my favorite resources on software design and development.md
View 2021-03-01T12:14 — No reader function for tag object.log
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
View keybase.md

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: