Skip to content

Instantly share code, notes, and snippets.

View rafaellehmkuhl's full-sized avatar
hey hey

Rafael Araujo Lehmkuhl rafaellehmkuhl

hey hey
  • São José dos Campos - Brasil
  • 09:19 (UTC -03:00)
View GitHub Profile
rafaellehmkuhl / tmux.conf
Last active May 6, 2022 17:07
My default Tmux configuration
# Tmux configuration
# See:
# C-b is not acceptable -- Vim uses it
bind-key C-b last-window
rafaellehmkuhl /
Last active August 27, 2021 16:26
PBaP - Push branch updates, Build them on rasp and Push them to register on just one command
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
rafaellehmkuhl /
Last active July 2, 2021 18:20
MyPy abstract method implementation check
import abc
from typing import List, Type
class AbstractClass(metaclass=abc.ABCMeta):
def __init__(self) -> None:
def is_ok() -> bool:
rafaellehmkuhl / keybindings.json
Last active March 15, 2019 11:47
My VSCode Keybindings
// 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",
rafaellehmkuhl /
Last active November 16, 2017 02:50
My standard git workflow

My Standard Git Workflow

Initial workflow (done once)


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

#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