This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<style> | |
@-webkit-keyframes relocate { | |
0% { top:16px; } | |
50% { top: 64px; } | |
100% { top: 16px; } | |
} | |
video{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sqlite3 = require('sqlite3').verbose(); | |
var db = new sqlite3.Database('karma'); | |
db.run('CREATE TABLE IF NOT EXISTS "karma" ("amount" INTEGER, "who" TEXT, "channel" TEXT)',[],function(err){ | |
db.run('CREATE UNIQUE INDEX IF NOT EXISTS "whochannel" ON "karma" ("who","channel")'); | |
}); | |
var request = require('request'); | |
var channels=[ | |
"#groupcard", | |
"#mkedev" | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var net = require('net'); | |
var extend = require('node.extend'); | |
function Session(lime){ | |
this.lime = lime; | |
this.store = {}; | |
this.mode = 0; | |
// 0 - expecting helo/ehlo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var channels=["#shoutletdev"] | |
, irc = require('irc') | |
, client = new irc.Client('chat.freenode.net','WalkrKarmaRanger',{ | |
userName: 'WalkrKarmaRanger', | |
realName: 'WalkrKarmaRanger', | |
floodProtection: true, | |
floodProtectionDelay: 250, | |
channels: channels | |
}); |