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
C:\IPS_CONFIG\data>jirb | |
irb(main):001:0> require 'zip/zip' | |
LoadError: no such file to load -- zip/zip | |
from org/jruby/RubyKernel.java:1038:in `require' | |
from (irb):1:in `evaluate' | |
from org/jruby/RubyKernel.java:1088:in `eval' | |
from C:/IPS_PROGRAMS/jruby-1.6.2/lib/ruby/1.8/irb.rb:158:in `eval_input' | |
from C:/IPS_PROGRAMS/jruby-1.6.2/lib/ruby/1.8/irb.rb:271:in `signal_status' | |
from C:/IPS_PROGRAMS/jruby-1.6.2/lib/ruby/1.8/irb.rb:155:in `eval_input' |
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
;; | |
;; I like several kinds of ice cream: | |
;; | |
;; 1. Chocolate | |
;; 2. Vanilla | |
;; 3. Peach | |
;; | |
;; but Chocolate is my **favorite**. |
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
(defn my-function | |
"Docstrings for functions are displayed alongside the function's body | |
in the documentation output by Marginalia." | |
...) |
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
# Attempt to locate JAVA_HOME, code borrowed from jabref package | |
if [ -z $JAVA_HOME ] | |
then | |
t=/usr/lib/jvm/java-6-openjdk && test -d $t && JAVA_HOME=$t | |
fi |
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
dpkg -i --force-depends openfire_3.6.4_all.deb |
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
==> Build Environment | |
CC: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CFLAGS: -O3 -march=core2 -w -pipe | |
CXXFLAGS: -O3 -march=core2 -w -pipe | |
MAKEFLAGS: -j2 | |
==> Downloading http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-2.9.9.zip | |
File already downloaded and cached to /Users/lyle/Library/Caches/Homebrew |
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
require 'formula' | |
class Openscenegraph <Formula | |
url 'http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-2.9.9.zip' | |
homepage 'http://www.openscenegraph.org/' | |
md5 '0d18aa6ccb8f0fc75ed7ebec1ac3b010' | |
depends_on 'cmake' | |
def install |
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
#!/usr/bin/env ruby | |
require 'fox16' | |
include Fox | |
class MainWindow < FXMainWindow | |
def initialize(app) | |
super(app, "Example", :opts => DECOR_ALL, :width => 600, :height => 400) | |
mainFrame = FXVerticalFrame.new(self, LAYOUT_FILL_X|LAYOUT_FILL_Y) |
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
require 'fox16' | |
include Fox | |
class MainWindow < FXMainWindow | |
def initialize(app) | |
super(app, "Example", :opts => DECOR_ALL, :width => 600, :height => 400) | |
mainFrame = FXVerticalFrame.new(self, LAYOUT_FILL_X|LAYOUT_FILL_Y) | |
text = FXText.new(mainFrame, :opts => TEXT_WORDWRAP|LAYOUT_FILL_X|LAYOUT_FILL_Y) | |
text.text = "Repeated Text " * 1000 |
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
(use '(clojure.contrib.str-utils :only (str-join))) |
NewerOlder