Skip to content

Instantly share code, notes, and snippets.

View kersten's full-sized avatar
🎯

Kersten Burkhardt kersten

🎯
View GitHub Profile
build:
@npm install --prefix $(CURDIR)
install:
# Create parent directories
install -d $(DESTDIR)/usr/share/vdr-guia/
install -d $(DESTDIR)/etc/init/
# Create and copy over node_modules, so node will find it later.
cp -r node_modules $(DESTDIR)/usr/share/vdr-guia/
S19.2E 11700 V 9750 [E0 10 38 F0]
S19.2E 99999 V 10600 [E0 10 38 F1]
S19.2E 11700 H 9750 [E0 10 38 F2]
S19.2E 99999 H 10600 [E0 10 38 F3]
#
S28.2E 11700 V 9750 [E0 10 38 F4]
S28.2E 99999 V 10600 [E0 10 38 F5]
S28.2E 11700 H 9750 [E0 10 38 F6]
S28.2E 99999 H 10600 [E0 10 38 F7]
if (el.find('.lb-v-scrollbar').height() == (parseInt(el.find('.lb-v-scrollbar-slider').css('top')) + el.find('.lb-v-scrollbar-slider').height())
&& typeof(options.reachedBottom) == 'function'
&& !vEventFired
) {
vEventFired = true;
var self = $(this);
options.reachedBottom.apply($(this).children('.lb-content'), [function () {
getDimentions($(self).children('.lb-content'));
/**
*This is a simple MQTT cient on node.js
*Author: Fan Yilun @CEIT @14 FEB 2011
*/
var sys = require('sys');
var net = require('net');
var EventEmitter = require('events').EventEmitter;
var MQTTCONNECT = 0x10;
var MQTTPUBLISH = 0x30;