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
import hudson.Launcher; | |
import hudson.Extension; | |
import hudson.util.FormValidation; | |
import hudson.model.AbstractBuild; | |
import hudson.model.BuildListener; | |
import hudson.model.AbstractProject; | |
import hudson.tasks.Builder; | |
import hudson.tasks.BuildStepDescriptor; | |
import net.sf.json.JSONObject; | |
import org.kohsuke.stapler.DataBoundConstructor; |
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
port: 8080 # port where trinidad is running | |
ajp: # ajp configuration section | |
port: 8009 | |
jruby_min_runtimes: 1 # min number of runtimes | |
jruby_max_runtimes: 1 # max number of runtimes |
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 "rubygems" | |
require "rack" | |
require 'bundler/setup' | |
app = lambda { |env| [200, { 'Content-Type' => 'text/html' }, 'Hello World'] | |
} | |
run app |
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
Specs for ../rubyspec/core/argf: 0 failures, 0 errors | |
Specs for ../rubyspec/core/array: 0 failures, 0 errors | |
Specs for ../rubyspec/core/basicobject: 0 failures, 0 errors | |
Specs for ../rubyspec/core/bignum: 0 failures, 0 errors | |
Specs for ../rubyspec/core/binding: 0 failures, 0 errors | |
Specs for ../rubyspec/core/builtin_constants: 0 failures, 0 errors | |
Specs for ../rubyspec/core/class: 0 failures, 0 errors | |
Specs for ../rubyspec/core/comparable: 0 failures, 0 errors | |
Specs for ../rubyspec/core/complex: 0 failures, 0 errors | |
Specs for ../rubyspec/core/continuation: 0 failures, 0 errors |
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
Sep 1, 2010 7:13:04 PM org.apache.catalina.core.StandardService startInternal | |
INFO: Starting service Tomcat | |
Sep 1, 2010 7:13:04 PM org.apache.catalina.core.StandardEngine startInternal | |
INFO: Starting Servlet Engine: Apache Tomcat/7.0.0 | |
Sep 1, 2010 7:13:04 PM org.apache.catalina.startup.ContextConfig webConfig | |
INFO: No global web.xml found | |
Sep 1, 2010 7:13:07 PM org.apache.catalina.core.ApplicationContext log | |
SEVERE: unable to create shared application instance | |
org.jruby.rack.RackInitializationException: | |
from /home/ubuntu/.rvm/rubies/jruby-1.5.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' |
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
public static RubyFloat str2fnum19(Ruby runtime, RubyString arg, boolean strict) { | |
if (arg.toString().startsWith("0x")) { // convert hexadecimal strings | |
return ConvertBytes.byteListToInum19(runtime, arg.getByteList(), 16, false).toFloat(); | |
} | |
return str2fnumCommon(runtime, arg, strict, biteListCaller19); | |
} |
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
StringBuffer s = new StringBuffer(); | |
s.append((char) unicode); | |
System.err.println(s.toString()); // here it prints 靥 | |
ByteList b = new ByteList(s.toString().getBytes("utf-8")); | |
System.err.println(b.toString()); // here it prints é¥ |
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
VM arguments: | |
-Dcom.sun.akuma.Daemon=daemonized -Dfile.encoding=UTF-8 -Djdk.home= | |
-Djruby.home=/Users/david/dev/jruby -Djruby.script=jruby -Djruby.shell=/bin/bash | |
-Djffi.boot.library.path=/Users/david/dev/jruby/lib/native/Darwin | |
-Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k | |
-Xbootclasspath/a:/Users/david/dev/jruby/lib/jruby.jar |
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
Mi comentario en respuesta a este post http://www.carlosble.com/?p=665 y que unas 12 horas y otros comentarios después todavía está "pendiente de aprobación": | |
No me considero un experto en git, sólo lo uso en varios de los proyectos open source que participo, algunos con más de 3 o 4 desarrolladores(JRuby por ejemplo), pero este post me parece más un problema de frustración por desconocimiento que un problema de la herramienta. | |
1. Hay muy buenos recursos en la red sobre git, listo unos cuantos aunque a mi el que mejor me funciona es stackoverflow: | |
http://git-scm.com # la página oficial tiene muy buenos enlaces | |
http://progit.org/ # el libro de Scott Chacon es open source y hay muy buena información | |
http://www.gitready.com/ # git ready está llena de pequeñas perlas | |
2. Crear una rama remota requiere 2 pasos, si sabes como hacerlo ;) |
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
-rw-r--r-- 1 dcalavera 151K 2010-02-09 11:37 abdera-core-0.4.0-incubating.jar | |
-rw-r--r-- 1 dcalavera 28K 2010-02-09 11:37 abdera-extensions-json-0.4.0-incubating.jar | |
-rw-r--r-- 1 dcalavera 41K 2010-02-09 11:37 abdera-extensions-main-0.4.0-incubating.jar | |
-rw-r--r-- 1 dcalavera 596K 2010-02-09 11:37 abdera-i18n-0.4.0-incubating.jar | |
-rw-r--r-- 1 dcalavera 137K 2010-02-09 11:37 abdera-parser-0.4.0-incubating.jar | |
-rw-r--r-- 1 dcalavera 62K 2010-02-09 11:24 activation-1.1.jar | |
-rw-r--r-- 1 dcalavera 434K 2010-02-09 11:41 antlr-2.7.6.jar | |
-rw-r--r-- 1 dcalavera 4.4K 2010-02-09 11:26 aopalliance-1.0.jar | |
-rw-r--r-- 1 dcalavera 337K 2010-06-14 12:23 apache-mime4j-0.6.jar | |
-rw-r--r-- 1 dcalavera 43K 2010-03-05 11:41 asm-3.1.jar |