Skip to content

Instantly share code, notes, and snippets.

🕺
oh yeah...

Tobias Bielohlawek rngtng

View GitHub Profile
@rngtng
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
./test
@rngtng
rngtng / README.md
Last active Dec 29, 2017
DASH Button OTA Standalone
View README.md

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
http://www.frischeparadies.eu/?view=featured
http://www.markthalle9.de/
http://www.meine-markthalle.de/
http://www.exberliner.com/articles/the-ethical-carnivore/
http://www.fleischerei-gerlach.de/index.html
http://www.neuland-kluge.de/
http://www.fleischerei-buenger.de/
@rngtng
rngtng / ladder.md
Created Mar 18, 2016 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
View pre-push
#!/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
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
rngtng / config
Created Jan 14, 2014
radicale.cfg
View config
[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 / carddavmate_log.md
Created Jan 11, 2014
Carddavemate Connection problem
View carddavmate_log.md

JS output is:

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

Although your server response headers request seem alright, weird.

@rngtng
rngtng / git.md
Created Jan 3, 2013
App Forum GitFlow
View git.md

Useful Git commands

git pull -> fetch + merge (all)

better to know what your' doing:

git fetch
git merge
@rngtng
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
ensure
42
end
def mystery_number2
return 23
ensure
You can’t perform that action at this time.