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' | |
require 'lwjgl.jar' | |
require 'slick.jar' | |
java_import org.newdawn.slick.Image | |
require 'pong/image_context' | |
require 'pong/collidable_attributes' | |
module Pong |
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
These properties can be used to alter runtime behavior for perf or compatibility. | |
Specify them by passing -X<property>=<value> | |
or if passing directly to Java, -Djruby.<property>=<value> | |
or put <property>=<value> in .jrubyrc | |
compiler settings: | |
compile.mode=[JIT, FORCE, OFF] | |
Set compilation mode. JIT = at runtime; FORCE = before execution. Default is JIT. | |
compile.dump=[true, false] |
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
#!/usr/bin/env bash | |
# Use this one-liner to produce a JSON literal from the Git log: | |
git log \ | |
--pretty=format:'{%n "commit": "%H",%n "author": "%aN <%aE>",%n "date": "%ad",%n "message": "%f"%n},' \ | |
$@ | \ | |
perl -pe 'BEGIN{print "["}; END{print "]\n"}' | \ | |
perl -pe 's/},]/}]/' |
NewerOlder