Skip to content

Instantly share code, notes, and snippets.

View rngtng's full-sized avatar
🕺
oh yeah...

Tobias Bielohlawek rngtng

🕺
oh yeah...
View GitHub Profile
@rngtng
rngtng / table_cut.rb
Created August 14, 2011 21:17
Cutpath for LED table parts
require 'prawn'
require 'prawn/measurement_extensions'
@width = 550.mm
@height = 50.mm
@extra_height = 35.mm
@cols_width = 5.mm
@cols_height = 26.mm
@rngtng
rngtng / analyse.txt
Created September 6, 2011 08:26
Analyse of first Flipper MEassurement
DEZ BIN DIFF BINIARY
# 0 50 - 16 # 0011 0010
# 1 34 # 0010 0010
# 2 89 - 16 - 64 # 0101 1001
# 3 73 - 64 # 0100 1001
# 4 80 - 16 - 64 # 0101 0000
# 5 64 - 64 # 0100 0000
# 6 25 - 16 # 0001 1001
@rngtng
rngtng / .gitconfig
Created September 6, 2011 11:13
git alias
[color]
ui = auto
[pack]
threads = 0
[core]
excludesfile = ~/.environment/gitignore
quotepath = false
#[branch]
# autosetuprebase = always
[alias]
@rngtng
rngtng / Makefile
Created September 7, 2011 10:08
Example Makefile to compile Arduino logic analyzer on Mac OS X
ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
TARGET = logic_analyzer
ARDUINO_LIBS =
AVRDUDE_CONF = /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf
#MCU = atmega328p
MCU = atmega1280
F_CPU = 16000000
ARDUINO_PORT = /dev/tty.usb*
@rngtng
rngtng / sc_sumo.c
Created October 12, 2011 09:52
Lego Mindstroms Robot War: Team SoundCloud Firware for RobotC
#pragma config(Sensor, S1, color, sensorCOLORFULL)
#pragma config(Sensor, S4, sonarSensor, sensorSONAR)
#pragma config(Motor, motorA, power, tmotorNormal, PIDControl, encoder)
#pragma config(Motor, motorB, right, tmotorNormal, PIDControl, reversed, encoder)
#pragma config(Motor, motorC, left, tmotorNormal, PIDControl, reversed, encoder)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//
/*--------------------------------------------------------------------------------------------------------*\
|* *|
|* - Moving Forward - *|
@rngtng
rngtng / nabaztag.ino
Created January 9, 2012 10:41
Simple Arduino NabaztagInjector example sketch
/**
* Simple Arduino NabaztagInjector example sketch
**/
#include <Nabaztag.h>
void setup() {
Nabaztag.begin(0); //0 = standalone
}
@rngtng
rngtng / config
Created January 14, 2014 16:23
radicale.cfg
[server]
# CalDAV server hostnames separated by a comma
# IPv4 syntax: address:port
# IPv6 syntax: [address]:port
# IPv6 adresses are configured to only allow IPv6 connections
# hosts = 0.0.0.0:5232
# Daemon flag
# daemon = False
#
# File storing the PID in daemon mode
@rngtng
rngtng / ladder.md
Created March 18, 2016 01:01 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
@rngtng
rngtng / create_shortcuts.scpt
Created October 28, 2010 18:44
AppleScript to create KeyboardShortcuts easily
----------------------------------------------------------------------------------------------------
--
-- Script to automate creation of Keyborad shortcuts
--
----------------------------------------------------------------------------------------------------
GUIScripting_status()
tell application "System Preferences"
activate
reveal anchor "shortcutsTab" of pane id "com.apple.preference.keyboard"
@rngtng
rngtng / Makefile
Created February 19, 2019 23:01
Testing mir:ror based on HIDapi 0.8.0-rc1
test: test.c
gcc -o test -lhidapi test.c
run: test
./test