Skip to content

Instantly share code, notes, and snippets.

oh yeah...

Tobias Bielohlawek rngtng

View GitHub Profile
rngtng / Makefile
Created Feb 19, 2019
Testing mir:ror based on HIDapi 0.8.0-rc1
View Makefile
test: test.c
gcc -o test -lhidapi test.c
run: test
rngtng /
Last active Dec 29, 2017
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?

View gist:6f1f2ef08738d4578a1bceaa79c71e9e
rngtng /
Created Mar 18, 2016 — forked from jamtur01/
Kickstarter Engineering Ladder
View pre-push
# 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
View diagram-mode.js
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 / config
Created Jan 14, 2014
View config
# 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 =
# Daemon flag
# daemon = False
# File storing the PID in daemon mode
rngtng /
Created Jan 11, 2014
Carddavemate Connection problem

JS output is:

OPTIONS Method PROPFIND is not allowed by Access-Control-Allow-Methods. jquery-2.0.3.min.js:6
XMLHttpRequest cannot load Method PROPFIND is not allowed by Access-Control-Allow-Methods. (index):1
Error: [netCheckAndCreateConfiguration: ''] code: '404' webdav_protocol.js:115

Although your server response headers request seem alright, weird.

rngtng /
Created Jan 3, 2013
App Forum GitFlow

Useful Git commands

git pull -> fetch + merge (all)

better to know what your' doing:

git fetch
git merge
rngtng / mystery_number.rb
Created Dec 19, 2012
so `return` actually makes difference in some cases!
View mystery_number.rb
def mystery_number
return 23
def mystery_number2
return 23
You can’t perform that action at this time.