Skip to content

Instantly share code, notes, and snippets.

View stefanreimers's full-sized avatar

Stefan Reimers stefanreimers

View GitHub Profile
<details><summary style="cursor: pointer;font-weight:bold;color:gray">A</summary><$list emptyMessage="&nbsp;&nbsp;&nbsp;-" filter="[prefix[A]!is[system]!type[text/vnd.tiddlywiki]sort[title]]"><div class="tc-menu-list-subitem">
<$link to={{!!title}}><$view field="title"/></$link></div></$list></details>
<details><summary style="cursor: pointer;font-weight:bold;color:gray">B</summary><$list emptyMessage="&nbsp;&nbsp;&nbsp;-" filter="[prefix[B]!is[system]!type[text/vnd.tiddlywiki]sort[title]]"><div class="tc-menu-list-subitem">
<$link to={{!!title}}><$view field="title"/></$link></div></$list></details>
<details><summary style="cursor: pointer;font-weight:bold;color:gray">C</summary><$list emptyMessage="&nbsp;&nbsp;&nbsp;-" filter="[prefix[C]!is[system]!type[text/vnd.tiddlywiki]sort[title]]"><div class="tc-menu-list-subitem">
<$link to={{!!title}}><$view field="title"/></$link></div></$list></details>
<details><summary style="cursor: pointer;font-weight:bold;color:gray">D</summary><$list emptyMessage="&nbsp;&nbs
@stefanreimers
stefanreimers / run-app.log
Created April 4, 2019 18:15
Mozilla IoT log excerpt for Conbee Adapter
2019-04-04 18:03:31.367 INFO : About to call startPairing on ConBeeAdapter
2019-04-04 18:03:31.389 INFO : Opened a new things socket
2019-04-04 18:03:31.399 INFO : zigbee-conbee: AddonMangerProxy: recv: b'{"messageType":"startPairing","data":{"timeout":60,"adapterId":"zigbee-conbee-adapter","pluginId":"zigbee-conbee-adapter"}}'
2019-04-04 18:03:31.402 INFO : zigbee-conbee: conbee_adapter.py:35 INFO START Pairing Lights
2019-04-04 18:03:31.411 INFO : zigbee-conbee: conbee_adapter.py:49 INFO START Pairing Sensors
2019-04-04 18:03:31.414 INFO : zigbee-conbee: conbee_adapter.py:57 INFO Sensors: 3 ep 1
2019-04-04 18:03:31.416 INFO : zigbee-conbee: conbee_adapter.py:57 INFO Sensors: 3 etag 068f9b0d26542970682e1a67e426fd2d
2019-04-04 18:03:31.418 INFO : zigbee-conbee: conbee_adapter.py:57 INFO Sensors: 3 manufacturername ADUROLIGHT
2019-04-04 18:03:31.420 INFO : zigbee-conbee: conbee_adapter.py:57 INFO Sensors: 3 uniqueid 00:15:8d:00:01:cc:83:dc-01-0500
2019-04-04 18:03:31.422 INFO : zigbee-conbe

Keybase proof

I hereby claim:

  • I am stefanreimers on github.
  • I am reimers (https://keybase.io/reimers) on keybase.
  • I have a public key ASDYgHlG1o34sWflMF-662dzEjgNji43oi42kcUi9oQMfgo

To claim this, I am signing this object:

{"level":"debug","message":"Using native platform tools!","timestamp":"2018-05-04T06:57:22.405Z"}
{"level":"debug","message":"adb shell: echo 1","timestamp":"2018-05-04T06:57:36.725Z"}
{"message":"Command failed: adb -P 5038 shell echo 1\nerror: no devices/emulators found\r\n","stack":"Error: Command failed: adb -P 5038 shell echo 1\nerror: no devices/emulators found\r\n\n at ChildProcess.exithandler (child_process.js:223:12)\n at emitTwo (events.js:106:13)\n at ChildProcess.emit (events.js:191:7)\n at maybeClose (internal/child_process.js:885:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)","killed":false,"code":1,"signal":null,"cmd":"adb -P 5038 shell echo 1","level":"debug","timestamp":"2018-05-04T06:57:37.005Z"}
{"level":"debug","message":"adb shell: echo 1","timestamp":"2018-05-04T06:57:38.006Z"}
{"message":"Command failed: adb -P 5038 shell echo 1\nerror: no devices/emulators found\r\n","stack":"Error: Command failed: adb -P 5038 shell echo 1\nerror: no devi
@stefanreimers
stefanreimers / rss.php
Created September 6, 2017 11:41
PHP Script to turn RSS feeds into JSON objects - to be consumed by JavaScript
<?php
// Turn off all error reporting
error_reporting(0);
header('Content-Type: application/json');
$url = filter_input( INPUT_GET, 'feed', FILTER_VALIDATE_URL) ;
if($url == null || $url === false){
$json = array('error' => 'Invalid URL');