Skip to content

Instantly share code, notes, and snippets.

Henrik Ekblad henrikekblad

Block or report user

Report or block henrikekblad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MySensors log parser
Interpreting the logs from your node or gateway can be a bit tedious. On this page you can paste the output and get a more human readable output. [More details about the log messages](
<script src=""></script>
<script src=""></script>
<div id="parser">
<h4>Paste log from gateway or node here:</h4>
<textarea class="form-control" @change="parse" rows="10" v-model="source"></textarea>
<button @click="parse" class="btn btn-primary">Parse</button>
<button @click="copy" class="btn btn-primary">Copy this log URL to clipboard</button>
<button @click="source=''" class="btn btn-default">Clear</button>
View render3Dpcb.jade
// Creates an 3d representation of a pcb from bottm and top svg using three.js
// Henrik Ekblad <>
doctype html
!= css('main')
block header
View leaflet-button-control.js
L.Control.Button = L.Control.extend({
options: {
position: 'bottomleft'
initialize: function (options) {
this._button = {};
View gist:8165786
/* please read copyright-notice at EOF */
#include <stdint.h>
#define CRC8INIT 0x00
#define CRC8POLY 0x18 //0X18 = X^8+X^5+X^4+X^0
uint8_t crc8( uint8_t *data, uint16_t number_of_bytes_in_data )
uint8_t crc;
You can’t perform that action at this time.