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
--- | |
lang: en | |
ftlpageid: reqListAdvancedPage | |
ftlcompid: actOpenRequisitionDescription | |
ftlinterfaceid: requisitionListInterface | |
ftlcompclass: undefined | |
ftlhistory: 1322514701623|3.0.8.6.18.20.21.3.19.32.15 | |
ftlPageHistory: "" | |
ftlstate: "" | |
ftlwinscr: "271" |
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
rspec -c -r ./spec/config/robust_profile_formatter.rb -f RobustProfileFormatter spec/models/network_relationship_spec.rb | |
......FF | |
Top 0 slowest examples: | |
Stats | |
Mean: 0.09811 | |
StdDev: 0.26642 |
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 javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import javax.servlet.ServletException; | |
import java.io.IOException; | |
import org.eclipse.jetty.server.Server; | |
import org.eclipse.jetty.server.Request; | |
import org.eclipse.jetty.server.handler.AbstractHandler; | |
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
/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:150:in `call' | |
/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:150:in `invoke_method_block' | |
/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:122:in `invoke' | |
/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `deliver' | |
/Users/matthewkirk/git/studio/app/models/user.rb:181:in `deliver_activation_email' | |
/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:437:in `_run_create_callbacks' | |
/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/gems/activerecord-3.1.3/lib/active_record/callbacks.rb:268:in `create' | |
/gems/activerecord-3.1.3/lib/active_record/persistence.rb:294:in `create_or_update' |
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/matthewkirk/git/studio/app/models/user.rb:181:in `deliver_activation_email' | |
/Users/matthewkirk/git/studio/spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
/Users/matthewkirk/git/studio/spec/models/user_spec.rb:119:in `block (3 levels) in <top (required)>' | |
------------------------------ | |
/Users/matthewkirk/git/studio/app/models/user.rb:181:in `deliver_activation_email' | |
/Users/matthewkirk/git/studio/spec/models/user_spec.rb:121:in `block (3 levels) in <top (required)>' | |
------------------------------ |
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
feep = GnipRule.create!(:value => "feep", :network_posts_count => 30_000) | |
meep = GnipRule.find(feep.id) | |
beep = GnipRule.find(feep.id) | |
(feep == meep) # => true | |
(feep == beep) # => true | |
(meep == beep) # => true | |
[feep, meep, beep].each do |copy| |
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
1128 text files. | |
1119 unique files. | |
385 files ignored. | |
http://cloc.sourceforge.net v 1.53 T=6.0 s (123.8 files/s, 7484.8 lines/s) | |
------------------------------------------------------------------------------- | |
Language files blank comment code | |
------------------------------------------------------------------------------- | |
Ruby 612 4038 1605 22577 | |
YAML 35 52 137 6354 |
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 'randomizer' | |
class RandomTwitter | |
def initialize(post_id = 154614963917438976, user_id = 309802181) | |
@post_id = post_id | |
@user_id = user_id | |
end | |
def random_twitter_hash | |
{ | |
:text => "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus vitae risus vitae lorem iaculis placerat. Aliquam sit amet felis. Etiam co", |
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
query = { | |
:filtered => { | |
:query => { | |
"query_string" => {:query => "*:*"} | |
}, | |
:filter => { | |
:and => [ | |
{:field => {:network_id => "84 OR 4"}}, | |
{:field => {:network_endpoint_label => ['messages', 'mentions', 'home', 'home_timeline'].join(" OR ")}} | |
] |
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 'set' | |
require 'benchmark' | |
Benchmark.bm do |x| | |
x.report("uniq") do | |
a = [] | |
10.times do | |
1_000.times do |i| | |
a << i % 32 | |
a = a.uniq |