Skip to content

Instantly share code, notes, and snippets.

View gmosx's full-sized avatar

George Moschovitis gmosx

View GitHub Profile
/**
* @fileoverview A content slider.
*/
// TODO: emit events.
goog.provide("goox.ui.Slider");
goog.require("goog.dom");
goog.require("goog.style");
var JavaScriptException = Packages.org.mozilla.javascript.JavaScriptException;
var stackTrace = function () {
return (new JavaScriptException("stackTrace")).getScriptStackTrace();
}
INFO: Could not find API version from /home/soul/Code/cms/WEB-INF/lib/appengine-api-1.0-sdk.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
application: cms
version: 1
runtime: java
public_root: /root
resource_files:
- exclude: /build/**
handlers:
- url: /*
/**
* Map the request to different JSGI apps according to the URI.
* TODO: handle host.
*/
exports.URIMap = function (map) {
var mapping = [],
defapp = map["*"];
for (var uri in map) {
if (uri != "*") {
2010-05-20 12:11:51
Full thread dump Java HotSpot(TM) Server VM (16.3-b01 mixed mode):
"DestroyJavaVM" prio=10 tid=0x6ff88000 nid=0x181f waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"pool-1-thread-2" prio=10 tid=0x6ff81c00 nid=0x182d waiting on condition [0x6feea000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x9f98b438> (a java.util.concurrent.SynchronousQueue$TransferStack)
var FS = require("fs"),
system = require("ringo/subprocess").system,
addPackages = require("./add-package").main;
var command = function (cmd) {
// print(cmd)
java.lang.Runtime.getRuntime().exec(cmd).waitFor();
}
/**
class Foo
def bar
puts "Hello, world!"
end