Skip to content

Instantly share code, notes, and snippets.

View rene-dev's full-sized avatar

Rene Hopf rene-dev

  • Münster, Germany
View GitHub Profile
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdio.h>
#include <string.h>
// https://github.com/LinuxCNC/hostmot2-firmware/blob/v0/regmap#L1105
//
// idrom addresses & constants
//
" enable mouse
set nocompatible
set mouse=a
" enable incsearch
set incsearch
set ignorecase
set smartcase
set scrolloff=4
Error: undefined method `depedns_on' for Libmikmod:Class
Please report this bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
/usr/local/Library/Formula/libmikmod.rb:20
/usr/local/Library/Homebrew/formula.rb:392:in `require'
/usr/local/Library/Homebrew/formula.rb:392:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:14:in `install'
rene@vpn2057 ~ $ cat .tmux.conf
setw -g mode-mouse on
setw -g aggressive-resize on
set -g default-terminal "screen-256color"
set-option -g prefix C-a
set -g base-index 1
set -s escape-time 0
setw -g mode-keys vi
set-window-option -g window-status-current-bg red
bind-key a send-prefix
@rene-dev
rene-dev / r0ketlauncher.c
Created December 29, 2011 17:11
r0ketlauncher hidapi c example
#include <stdio.h>
#include <string.h>
#include "hidapi.h"
#define MSG_NONE 0x00
#define MSG_DOWN 0x01
#define MSG_UP 0x02
#define MSG_LEFT 0x04
#define MSG_RIGHT 0x08
#define MSG_FIRE 0x10