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 / actions.http
Created December 5, 2021 20:51
Testing httpyac action sequence
{{
console.log('Global script')
}}
### Request1
{{
console.log('R1: Local script 1 ' + (typeof response !== 'undefined'));
}}
@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
@rngtng
rngtng / README.md
Last active August 13, 2020 11:18
DASH Button OTA Standalone

I don't get DASH button with OTA ins standalone working. ASAP I add the pwr_en PIN the boot process stops. When I re-connect to creator pro (just GND & reset) it works.

Feels like the battery is to weak or sth?

@rngtng
rngtng / ladder.md
Created March 18, 2016 01:01 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
#!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
@rngtng
rngtng / diagram-mode.js
Created September 23, 2014 23:25
custom ace mode
ace.define('ace/mode/diagram', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/diagram_highlight_rules', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
var Tokenizer = require("../tokenizer").Tokenizer;
var DiagramHighlightRules = require("./diagram_highlight_rules").DiagramHighlightRules;
// TODO: pick appropriate fold mode
var FoldMode = require("./folding/cstyle").FoldMode;
var Mode = function() {
@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 / 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 / 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 / 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*