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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Tmux configuration | |
# | |
# See: | |
# http://github.com/brandur/tmux-extra | |
# | |
# C-b is not acceptable -- Vim uses it | |
bind-key C-b last-window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import abc | |
from typing import List, Type | |
class AbstractClass(metaclass=abc.ABCMeta): | |
def __init__(self) -> None: | |
pass | |
@staticmethod | |
@abc.abstractmethod | |
def is_ok() -> bool: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |