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 PUBLIC "-//W3C//DTD HTML 4.01//EN"> | |
<html> | |
<head> | |
<script type="text/javascript"> | |
/* | |
var bestCand = []; | |
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
function handleSplashDrawing() { | |
for (var i = 0; i < ships.length; i++) { | |
if (shipsLoaded) { | |
ships[i]["currFrame"]++; | |
if (ships[i]["currFrame"] >= ships[i]["numFrames"]) { | |
ships[i]["currFrame"] = 0; | |
} | |
//var ctx = $(ships[i]["canvas"])[0].getContext("2d"); | |
//ctx.clearRect(0, 0, ships[i]["frameWidth"], ships[i]["frameHeight"]); |
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 flipper = newPageFlipper({ | |
attr: { | |
id: 'pageFlipper1' | |
}, | |
appendTo: 'body', | |
css: { | |
'height': '90%', | |
'width': '90%', | |
'border': '0px solid gray', | |
'margin': '5% auto 0px auto', |
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
{ | |
"startedAt": 1314548103728, | |
"trackingData": { | |
"node": { | |
"1": { | |
"views": [ | |
1314548103728, | |
1314548103728 | |
] | |
}, |
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
/* | |
* jQuery Mobile Framework : events | |
* Copyright (c) jQuery Project | |
* Dual licensed under the MIT or GPL Version 2 licenses. | |
* http://jquery.org/license | |
*/ | |
(function($, undefined ) { | |
$.extend( $.support, { | |
orientation: "orientation" in window, |
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
ticketdata = { | |
//dag | |
'01.11.2011': { | |
//time | |
'00:00': { | |
// kjøpkanal/betalingskanal : mengdebilletter | |
'sms/sms': 29, | |
'sms/konto': 14, | |
'app/sms': 35, |
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
// GET /statistics/sales/day_grp_by_channel ?fromdate=11.11.2011 &todate=14.11.2011 | |
// Salg per dag grupert på kanal, for en periode | |
data: { | |
'11.11.2011-14.11.2011': { //periode | |
'sms/sms': [43,65,12,43] //kanal - salg per dag i perioden | |
'sms/konto': [72,38,54,23] //kanal - salg per dag i perioden | |
'app/sms' : [100,45,65,2] //kanal - salg per dag i perioden | |
'app/konto' [6,43,12,67] //kanal - salg per dag i perioden | |
} |
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 jobs = require('jobs') | |
jobs.persistenceAdapter('mongodb', 'mongodb://localhost/jobs') | |
.resumeOnRestart() | |
.spawnPersistent({ | |
name: 'keyvaluestore_cleaner', | |
url: '../examplejobs/keyvaluestore_cleaner.js' | |
}) | |
.run().every('30minute 2second') |
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
//GET /rest/statistics/chargedforperday?fromdate=13.11.2011&todate=15.11.2011 | |
data = { | |
'13.11.2011' : [ // totalt påfyllt for denne dato per time i kr | |
12,54,65,23,5,2,4,6,234,5,3,12,54,65,23,5,2,4,6,234,5,3,52 | |
], | |
'14.11.2011' : [ // totalt påfyllt for denne dato per time i kr | |
12,54,65,23,5,2,4,6,234,5,3,12,54,65,23,5,2,4,6,234,5,3,52 |
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
{ | |
"_id": 0, | |
"title": "root", | |
"children": [ | |
{ | |
"_id": 2, | |
"title": "presentation", | |
"children": [ | |
{ | |
"_id": 7, |
OlderNewer