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
➜ ~ brew install wget | |
==> Downloading http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2 | |
File already downloaded and cached to /Users/pedro/Library/Caches/Homebrew | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/wget/1.12 --disable-iri | |
==> make install | |
/usr/local/Cellar/wget/1.12: 7 files, 576K, built in 36 seconds | |
➜ ~ wget | |
wget: missing URL | |
Usage: wget [OPTION]... [URL]... |
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 'lib/itsm' | |
esper = Esper.new | |
esper.on :SomethingReceived, "algum_nome" do | |
puts "event #{@event_name} | event keys => #{@event.keys} //com id" | |
end | |
esper.register_epl "select * from SomethingReceived" do | |
puts "event #{@event_name} | event keys => #{@event.keys} // sem id" |
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
<body> | |
<script> | |
var nome = prompt("Digite seu nome"), | |
idadeAtual = prompt("Digite sua idade"), | |
idadeDaquiA5Anos = parseInt(idadeAtual) + 5; | |
alert("Oi, eu sou o " + nome); | |
alert("Tenho " + idadeAtual + " anos"); | |
alert("Daqui a 5 anos terei " + idadeDaquiA5Anos + " anos"); | |
</script> |
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
Exception in thread "main" java.lang.IllegalArgumentException: No matching ctor found for class java.io.File (project.clj:1) | |
at clojure.lang.Compiler.eval(Compiler.java:5440) | |
at clojure.lang.Compiler.load(Compiler.java:5857) | |
at clojure.lang.Compiler.loadFile(Compiler.java:5820) | |
at clojure.lang.RT$3.invoke(RT.java:296) | |
at leiningen.core$read_project.invoke(core.clj:108) | |
at leiningen.core$read_project.invoke(core.clj:111) | |
at leiningen.core$_main.doInvoke(core.clj:242) | |
at clojure.lang.RestFn.applyTo(RestFn.java:138) | |
at clojure.core$apply.invoke(core.clj:542) |
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
VALUE | |
rb_fix2str(VALUE x, int base) | |
{ | |
extern const char ruby_digitmap[]; | |
char buf[SIZEOF_VALUE*CHAR_BIT + 2], *b = buf + sizeof buf; | |
long val = FIX2LONG(x); | |
int neg = 0; | |
if (base < 2 || 36 < base) { | |
rb_raise(rb_eArgError, "invalid radix %d", base); |
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
GitHub.TreeFinder = function() { | |
if ($("#slider").length != 0) { | |
var a = this; | |
$.hotkeys({ | |
t: function() { | |
a.show() | |
} | |
}); | |
var d = new Image; | |
d.src = "/images/modules/ajax/spinner.gif" |
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
/Users/pedromenezes/.rvm/gems/ruby-1.9.2-p180@itsm/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require': no such file to load -- config/initializers/simple_navigation (LoadError) |
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
<img class="lazy" src="placeholder.gif" original-src="original-image.jpg" /> | |
<noscript> | |
<img src="original-image.jpg" /> | |
</noscript> |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<requisicao-transacao id="1319458714" versao="1.1.0"> | |
<dados-ec> | |
<numero>1001734898</numero> | |
<chave>e84827130b9837473681c2787007da5914d6359947015a5cdb2b8843db0fa832</chave> | |
</dados-ec> | |
<dados-pedido> | |
<numero>R557887155</numero> | |
<valor>100</valor> | |
<moeda>986</moeda> |
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
<input type="text" name="cpf" id="cpf" placeholder="CPF"></input> | |
<input type="text" name="nome" id="nome" placeholder="Nome" disabled="disabled"></input> |