Skip to content

Instantly share code, notes, and snippets.

View potaito's full-sized avatar

alessandro potaito

  • Zurich
View GitHub Profile
@potaito
potaito / Dockerfile
Last active December 20, 2022 13:25
MAVSDK compilation in Docker
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
# Install build dependencies
RUN apt-get update && \
apt install -y --no-install-recommends \
build-essential \
cmake \
git \
@potaito
potaito / gist:9c35a6540ef353dea1cfa3a54dc4872f
Created June 24, 2022 12:05
Pretty git log graph "git lgb"
#!/bin/bash
#
# Displays colorful git log with more details
# Source: https://stackoverflow.com/a/7023272
git config --global alias.lgb "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset%n' --abbrev-commit --date=relative --branches"
@potaito
potaito / mavlink_2_common.lua
Created June 21, 2022 08:11
MAVLink Wireshark Plugin
adb shell pm uninstall -k --user 0 com.android.bips
adb shell pm uninstall -k --user 0 com.android.bookmarkprovider
adb shell pm uninstall -k --user 0 com.android.browser
adb shell pm uninstall -k --user 0 com.android.calendar
adb shell pm uninstall -k --user 0 com.samsung.android.calendar
adb shell pm uninstall -k --user 0 com.google.android.cellbroadcastreceiver
adb shell pm uninstall -k --user 0 com.google.android.overlay.modules.cellbroadcastservice
adb shell pm uninstall -k --user 0 com.android.chrome
adb shell pm uninstall -k --user 0 com.sec.android.app.chromecustomizations
adb shell pm uninstall -k --user 0 com.samsung.android.dynamiclock