Skip to content

Instantly share code, notes, and snippets.

View JulioJair's full-sized avatar
🏜️
Remote

Julio de Alba JulioJair

🏜️
Remote
View GitHub Profile
@nooitaf
nooitaf / dump.txt
Created January 3, 2017 09:00
QX95 - good PIDs
Entering CLI Mode, type 'exit' to return, or 'help'
# dump
# version
# BetaFlight/SPRACINGF3EVO 3.0.1 Oct 18 2016 / 10:36:44 (48b7b4f)
# name
name -
@stefansundin
stefansundin / install-pre-push.sh
Last active June 9, 2024 13:02
Git pre-push hook to prevent force pushing the master/main branch.
#!/bin/bash
# This script will install a Git pre-push hook that prevents force pushing the master/main branch.
# There are three variants that I have built:
# - pre-push: prevents force-pushing to master/main.
# - pre-push-2: prevents force-pushing to master/main depending on the remote (you need to edit the file!).
# - pre-push-3: prevents any type of pushing to master/main.
# Set the desired version like this before proceeding:
# FILE=pre-push
# Single repo installation: