Skip to content

Instantly share code, notes, and snippets.

View BeckmaR's full-sized avatar

Rene Beckmann BeckmaR

View GitHub Profile
@BeckmaR
BeckmaR / gitconfig
Last active April 29, 2022 09:32
git-aliases
[alias]
# one-line log
l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
a = add
au = add -u
ap = add -p
c = commit --verbose
ca = commit -a --verbose
cm = commit -m
cam = commit -a -m
#include "Arduino.h"
#define BUTTON_PIN 3
#define DELAY 30000 //milliseconds
static unsigned long time;
static unsigned int state;
static unsigned int button;
static unsigned int delay;
@BeckmaR
BeckmaR / capture_raw_frames.c
Created February 2, 2016 17:55 — forked from maxlapshin/capture_raw_frames.c
v4l2 capture example
/*
* V4L2 video capture example
*
* This program can be used and distributed without restrictions.
*
* This program is provided with the V4L2 API
* see http://linuxtv.org/docs.php for more information
*/
#include <stdio.h>