This file contains 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
malou$ java -cp "bin/*" -Djava.library.path=native blueprint.Blueprint | |
Operating system detected: MacOS | |
Starting Blueprint v0021.. Good luck! | |
Current folder: /Users/malou/Downloads/Blueprint0021 | |
Initializing database.. | |
Cache is up to date. | |
Exception in Application start method | |
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
This file contains 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
Ape.registerCmd("channelsUserNb", false, function(params, infos) { | |
//Object to be returned | |
var reponse = new Object; | |
//List of channel, as an Array | |
var channelList = params.channelList; | |
//We loop for every channel in the Array | |
for (x in channelList) |
This file contains 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
Ape.registerCmd("objectPush", true, function(params, infos) { | |
//Make sure we have a channel defined | |
if (params.channel && params.channel != null) { | |
var chan = Ape.getChannelByName(params.channel); | |
if (!chan) return ["401", "UNKNOWN_CHANNEL"]; | |
//Make data optional | |
if (!params.data) { |
This file contains 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
HTTP / 1.1 200 OK | |
Pragma: no - cache | |
Cache - Control: no - cache, | |
must - revalidate | |
Expires: Thu, | |
27 Dec 1986 07: 30: 00 GMT | |
Content - Type: application / x - ape - event - stream | |
[{ | |
"time": "1398873326", |
This file contains 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
#!/bin/sh | |
# | |
# Example init.d script with LSB support. | |
# | |
# Please read this init.d carefully and modify the sections to | |
# adjust it to the program you want to run. | |
# | |
# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> | |
# | |
# This is free software; you may redistribute it and/or modify |
NewerOlder