Skip to content

Instantly share code, notes, and snippets.

birgersp

Block or report user

Report or block birgersp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Setup Raspberry Pi chroot for cross compilation
#!/bin/bash
# https://gauvain.pocentek.net/docs/raspbian-chroot/
apt install schroot
echo \
[jessie] \
description=Raspbian armhf \
directory=/var/chroot \
@birgersp
birgersp / submit-git-patch.md
Last active Sep 1, 2019
Checklist to submit a git patch
View submit-git-patch.md
  1. Create the commit
  2. git format-patch origin/master
  3. git send-email --in-reply-to=SOME_MESSAGE_ID --to=git@vger.kernel.org,OTHERS NAME_OF_PATCH_FILE
@birgersp
birgersp / makefile
Last active Sep 2, 2019
A standard C++ project makefile I use for most of my projects
View makefile
# Default variables
PROJECT_NAME ?= unnamed
BUILD_DIR ?= build
BINARIES_DIR ?= bin
LIB_DIR ?= lib
SOURCES_DIR ?= src
TEST_SOURCES_DIR ?= test
INCLUDE_DIR ?= include
INCLUDES += -I$(INCLUDE_DIR)
You can’t perform that action at this time.