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
$ curl -H 'Accept: text/plain' 'http://rdf-in-html.appspot.com/translate?uri=http://www.cmlenz.net/archives/2009/12/namespaces&parser=HTML' | |
# Produced by java-rdfa 0.2.1 | |
# Origin: <http://www.cmlenz.net/archives/2009/12/namespaces> | |
<http://www.cmlenz.net/archives/2009/12/namespaces> <http://www.w3.org/1999/xhtml/vocab#icon> <http://www.cmlenz.net/favicon.ico> . | |
<http://www.cmlenz.net/archives/2009/12/namespaces> <http://www.w3.org/1999/xhtml/vocab#icon> <http://www.cmlenz.net/favicon.ico> . | |
<http://www.cmlenz.net/archives/2009/12/namespaces> <http://www.w3.org/1999/xhtml/vocab#stylesheet> <http://www.cmlenz.net/media/style/layout.css> . | |
<http://www.cmlenz.net/archives/2009/12/namespaces> <http://www.w3.org/1999/xhtml/vocab#stylesheet> <http://www.cmlenz.net/media/style/print.css> . |
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
require 'java' | |
begin | |
java.lang.System.out.println(nil) | |
rescue java.lang.NullPointerException => e | |
puts "Got you! #{e}" | |
end |
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
pldms@snowball:/tmp/ant-jruby$ jruby -S gem install bitescript | |
pldms@snowball:/tmp/ant-jruby$ cat file.rb | |
require "java" | |
require "lib/ant.jar" | |
include_class "org.apache.tools.ant.Task" | |
class SampleTask < Task | |
def execute | |
puts "Hello from SampleTask!" |
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
Compiled from "SampleTask.rb" | |
public class SampleTask extends org.jruby.ast.executable.AbstractScript{ | |
public SampleTask(); | |
public static org.jruby.runtime.builtin.IRubyObject __file__(SampleTask, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block); | |
public org.jruby.runtime.builtin.IRubyObject __file__(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block); | |
public static org.jruby.runtime.builtin.IRubyObject class_0$RUBY$SampleTask(SampleTask, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block); | |
public static org.jruby.runtime.builtin.IRubyObject method__1$RUBY$execute(SampleTask, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block); | |
public static org.jruby.runtime.builtin.IRubyObject method__1$RUBY$execute(SampleTask, org.jruby.run |
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
Given | |
a subclass of b | |
b subclass of c | |
* If <x,y> is in IEXT(I(rdfs:subClassOf)) then x and y are in IC and ICEXT(x) is a subset of ICEXT(y) | |
hence extension(a) subset of extension(b) | |
similarly extension(b) subset of extension(c) |
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
bash-3.2$ ant clean test | |
Buildfile: build.xml | |
init: | |
clean: | |
[delete] Deleting directory /Users/pldms/Development/CVS-Other/jruby/build | |
[delete] Deleting directory /Users/pldms/Development/CVS-Other/jruby/docs/api | |
[delete] Deleting directory /Users/pldms/Development/CVS-Other/jruby/src_gen |
NewerOlder