Compiled from two meeting reports. Goal: identify everything needed to achieve full boat support in Cockpit.
- System-wide support for imperial units
- Auto center map to vehicle location
| #!/usr/bin/env python3 | |
| """ | |
| Generate a Markdown snapshot of the repository containing: | |
| 1) A file tree at the beginning | |
| 2) The name and content of all relevant files | |
| Relevance is determined by ignoring anything ignored by .gitignore and .dockerignore. | |
| Implementation details: | |
| - Uses `git ls-files --cached --others --exclude-standard` to respect .gitignore | |
| - Parses .dockerignore patterns (supports # comments, ! negations, *, **, ?, and directory patterns) |
| # | |
| # Tmux configuration | |
| # | |
| # See: | |
| # http://github.com/brandur/tmux-extra | |
| # | |
| # C-b is not acceptable -- Vim uses it | |
| bind-key C-b last-window |
| BRANCH_NAME=$1 | |
| IMAGE_NAME=$1 | |
| cd /home/pi/companion-docker/core | |
| echo "Checking out to branch ${BRANCH_NAME}." | |
| git checkout $BRANCH_NAME || git checkout -b $BRANCH_NAME | |
| echo "Fetching updates from remotes." | |
| git fetch --all |
| import abc | |
| from typing import List, Type | |
| class AbstractClass(metaclass=abc.ABCMeta): | |
| def __init__(self) -> None: | |
| pass | |
| @staticmethod | |
| @abc.abstractmethod | |
| def is_ok() -> bool: |
| // Place your key bindings in this file to overwrite the defaults | |
| [ | |
| { | |
| "key": "ctrl+k ctrl+c", | |
| "command": "editor.action.addCommentLine", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+k ctrl+c", | |
| "command": "-editor.action.addCommentLine", |
I start my workflow Forking the Main Repository, this is, the repository which I want to contribute to. The repository's URL should be something like https://github.com/author_username/repository_name
| #include <Average.h> | |
| // Camera delay meter | |
| int shutterPin = 13; // RTK trigger signal on pin 13 | |
| int pixhawkPin = 5; // Pixhawk trigger signal on pin 5 | |
| bool pixhawkOn = HIGH; | |
| bool triggerState = LOW; // Current trigger state |