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
Caused by: java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool | |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) | |
at tabulacaoSoma_1299263772741_8730.customizedInit(calculator_tabulacaoSoma_1299263772741_8730:74) | |
at net.sf.jasperreports.engine.fill.JREvaluator.init(JREvaluator.java:83) | |
at net.sf.jasperreports.engine.fill.JRCalculator.init(JRCalculator.java:109) | |
at net.sf.jasperreports.engine.fill.JRFillDataset.initCalculator(JRFillDataset.java:432) | |
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:589) | |
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:77) | |
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:87) | |
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:57) |
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
html_tag.gsub(/class="(?<interval>[^"]*)"/, "class=\"\\k<interval> error\"") | |
html_tag.gsub(/<(?<tag>input|textarea|select|label)/, "<\\k<tag> class=\"error\"") |
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
if (config.getText().equalsIgnoreCase(ProcessesConstants.COMPONENT_CONFIG)) { | |
// throw exception | |
} |
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 java.net.URL; | |
import java.net.URLConnection; | |
import java.util.Scanner; | |
public class HTTPSample { | |
public static void main(String[] args) throws Exception { | |
URLConnection con = new URL("https://encrypted.google.com/search?q=java").openConnection(); | |
con.setRequestProperty("User-Agent", "oi"); | |
Scanner sc = new Scanner(con.getInputStream()); | |
System.out.println(sc.useDelimiter("\\Z").next().toString()); |
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
Started GET "/users/login" for 127.0.0.1 at Mon Jul 11 00:39:00 -0300 2011 | |
NoMethodError (undefined method `to_tree' for nil:NilClass): | |
Rendered /Users/plentz/.rvm/gems/jruby-1.6.2/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms) | |
Rendered /Users/plentz/.rvm/gems/jruby-1.6.2/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (15.0ms) | |
Rendered /Users/plentz/.rvm/gems/jruby-1.6.2/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.0ms) |
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
GEM | |
remote: http://rubygems.org/ | |
specs: | |
Saikuro (1.1.0) | |
abstract (1.0.0) | |
actionmailer (3.0.9) | |
actionpack (= 3.0.9) | |
mail (~> 2.2.19) | |
actionpack (3.0.9) | |
activemodel (= 3.0.9) |
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
GEM | |
remote: http://rubygems.org/ | |
specs: | |
abstract (1.0.0) | |
actionmailer (3.0.9) | |
actionpack (= 3.0.9) | |
mail (~> 2.2.19) | |
actionpack (3.0.9) | |
activemodel (= 3.0.9) |
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
tu ta tentando rodar um script | |
tu precisa dar permissao pra execucao | |
chmod u+x = adicionar permissao ao teu usuario(u) pra execucao (x) | |
a+x = todos(all=a) | |
faz ls -las na pasta | |
dai tu ve la | |
tem 'd'zinho no inicio, é diretorio | |
dai vem 3 grupos | |
rwxrwxrwx | |
rwx(user)rwx(group)rwx(other) |
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
rails 3.0.10 | |
Finished in 427.87 seconds | |
2419 examples, 0 failures, 32 pending | |
real 7m53.575s | |
Finished in 373.67 seconds | |
2419 examples, 0 failures, 32 pending | |
real 7m3.002s |
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
Caused by: org.eclipse.jetty.io.EofException | |
at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:919) | |
at org.eclipse.jetty.http.AbstractGenerator.flush(AbstractGenerator.java:452) | |
at org.eclipse.jetty.server.HttpOutput.flush(HttpOutput.java:94) | |
at org.eclipse.jetty.server.HttpConnection$Output.flush(HttpConnection.java:1009) | |
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:177) | |
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:101) | |
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109) | |
at org.eclipse.jetty.server.HttpWriter.write(HttpWriter.java:283) | |
at org.eclipse.jetty.server.HttpWriter.write(HttpWriter.java:107) |