Skip to content

Instantly share code, notes, and snippets.

🎯

Kersten Burkhardt kersten

🎯
Block or report user

Report or block kersten

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 gist:1560374
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/
View gist:1539564
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]
View gist:1450841
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'));
View MQTTClient.js
/**
*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;
You can’t perform that action at this time.