Skip to content

Instantly share code, notes, and snippets.

:atom:
Working on FC4, a tool for creating C4 software architecture diagrams as data.

Avi Flax aviflax

:atom:
Working on FC4, a tool for creating C4 software architecture diagrams as data.
Block or report user

Report or block aviflax

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View snippet-why-github-issues-rather-than-jira.md

Aside: Why GitHub?

You might be wondering why we’re using GitHub to track and discuss our work items, rather than JIRA.

In a nutshell, it’s because:

  • Issues is better-integrated with other features of GitHub
    • We can easily and usefully add references and links between issues and commits and/or Pull Requests
    • This is significantly easier, faster, simpler, better documented, and more broadly integrated
View Release notes for Tesla vehicle firmware 2019.40.50.md

Release notes for Tesla vehicle firmware 2019.40.50

source

Driving Visualization Improvements (only for vehicles with HW3)​

The driving visualization can now display additional objects which include stop lights, stop signs and select road markings. The stop sign and stop light visualizations are not a substitute for an attentive driver and will not stop the car. To see these additional object in your driving visualization, tap Controls > Autopilot > Full Self-Driving Visualization Preview.​ ​

Voice Commands​

@aviflax
aviflax / 0-notes-on-scenarios.md
Last active Dec 19, 2019
Aborted attempt to simplify FC4 scripts that install sys deps for CI jobs — with data!
View 0-notes-on-scenarios.md

System deps needed by scenario

Scenario Description Clojure? Java? Chrome/Chromium? Arch? Deb? Mac?
build Building the distribition package ✓ (11+)
lint Linting Clojure code ✓ (11+)
run Running dist pkg ✓ (8+)
test Testing from src ✓ (11+)
@aviflax
aviflax / tesla.30m.py
Last active Oct 8, 2019
BitBar plugin for Tesla cars
View tesla.30m.py
#!/usr/local/bin/python3
# -*- coding: utf-8 -*-
#
# <bitbar.title>Tesla BitBar</bitbar.title>
# <bitbar.version>v1.0</bitbar.version>
# <bitbar.author>therippa@gmail.com</bitbar.author>
# <bitbar.author.github>therippa</bitbar.author.github>
# <bitbar.desc>Control your Tesla from the menubar</bitbar.desc>
# <bitbar.image>https://i.imgur.com/XbwiemY.png</bitbar.image>
# <bitbar.dependencies>python</bitbar.dependencies>
@aviflax
aviflax / ci.yml
Created Sep 29, 2019 — forked from mhart/ci.yml
GitHub Actions running 5 tslint jobs in parallel (each tests every 5th file)
View ci.yml
name: CI
on: [push]
jobs:
tslint:
runs-on: ubuntu-latest
strategy:
matrix:
job: [0, 1, 2, 3, 4]
@aviflax
aviflax / wc-commits.sh
Created Aug 12, 2019
Word / line / char count for all Git commits reachable from HEAD
View wc-commits.sh
git log --format='format:%B' | wc
View Test.html
how will this render? &#10084;
View Excerpt from Discussion Comparing JIRA and Clubhouse.md

This is an excerpt from an internal discussion at Park Assist on 2016-07-08:

Me:

April and I are pairing up on an effort to… and we felt that we should use a system to track the work, but we were loath to use JIRA. So we’re trying out Clubhouse. I’m going to send everyone an invite; feel free to poke around, try it out, etc.

Ilan Goodman:

On my first pass, it seems very similar to JIRA right out of the box. Can you elaborate on what you dislike about JIRA and why Clubhouse might be better?

@aviflax
aviflax / image_diff.clj
Created Oct 26, 2018
Image Diffing with Clojure
View image_diff.clj
(ns image-diff
"Most of this is ported from https://rosettacode.org/wiki/Percentage_difference_between_images#Java"
(:import [java.awt Color]
[java.awt.image BufferedImage]))
(defn pixel-diff
[a b]
(let [a-color-components (.getRGBColorComponents (Color. a) nil)
b-color-components (.getRGBColorComponents (Color. b) nil)]
(->> (map - a-color-components b-color-components)
You can’t perform that action at this time.