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
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"> | |
<s:Header> | |
<a:Action s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/soap/fault</a:Action> | |
</s:Header> | |
<s:Body> | |
<s:Fault> | |
<s:Code> | |
<s:Value>s:Sender</s:Value> | |
<s:Subcode> | |
<s:Value>a:DestinationUnreachable</s:Value> |
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
RSpec.configure do |config| | |
# If you're not using ActiveRecord, or you'd prefer not to run each of your | |
# examples within a transaction, remove the following line or assign false | |
# instead of true. | |
config.use_transactional_fixtures = false | |
config.before :suite do | |
DatabaseCleaner.clean_with :truncation | |
end |
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 'sinatra' | |
set :threads, [] | |
get '/' do | |
settings.threads << Thread.new { sleep 10 } | |
'New thread created' | |
end | |
get '/threads' do |
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
Failures: | |
1) RegistrationsController GET show content should have the personal informations | |
Failure/Error: expect(response.body).to have_selector('dd#email', :text => @user.email.html_safe) | |
expected css "dd#email" with text "<a href=\"mailto:email@example.com\">email@example.com</a>" to return something |
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
// https://gist.github.com/854622 | |
(function(window,undefined){ | |
// Prepare our Variables | |
var | |
History = window.History, | |
$ = window.jQuery, | |
document = window.document; | |
// Check to see if History.js is enabled for our Browser |
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
...................................................................................................................................................................................................Finished "EnableLogging" with response "Success()" | |
Wrote response true "" | |
Received "Visit" | |
Started "Visit" | |
Load started | |
"Visit" started page load | |
Started request to "http://127.0.0.1:53196/sign_in" | |
Finished "Visit" with response "Success()" | |
Started request to "http://127.0.0.1:53196/assets/application.css" | |
Started request to "http://127.0.0.1:53196/assets/application.js" |
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
repo initialized in /Users/carloslopes/Projects/B2G | |
remote: Counting objects: 21614, done. | |
remote: Counting objects: 618498, done. | |
remote: Compressing objects: 100% (168650/168650), done. | |
remote: Compressing objects: 100% (7443/7443), done. | |
fatal: read error: Connection reset by peer82 MiB | 380 KiB/s | |
fatal: early EOF | |
fatal: index-pack failed | |
remote: Counting objects: 21614, done. | |
fatal: read error: Connection reset by peer3) |
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 'sinatra/base' | |
module Sinatra | |
module FragmentCache | |
def fragment_cache(name, age, &block) | |
if cache = read_fragment(name, age) | |
@_out_buf << cache | |
else | |
pos = @_out_buf.length | |
tmp = block.call |
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
Msg 208, Level 16, State 1, Procedure FN_CLUBE_VANTAGENS_CAMPANHA, Line 15 | |
Invalid object name 'TB_CAMPANHA'. | |
Msg 213, Level 16, State 1, Procedure JP_INS_PONTUACAO_CONSOLIDADA_PONTUACAO, Line 11 | |
Column name or number of supplied values does not match table definition. | |
Msg 7308, Level 16, State 1, Procedure JP_INSERE_PARTICIPANTE_EXCEL, Line 11 | |
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode. | |
The module 'JP_APURACAO_INS_PREMIACAO_POL_2' depends on the missing object 'JP_APURACAO_INS_APROVACAO_NEGADO'. The module will still be created; however, it cannot run successfully until the object exists. | |
Msg 102, Level 15, State 1, Line 1 | |
Incorrect syntax near 'CONSTR'. |
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
sinatra_thread = Thread.new do | |
require 'sinatra/base' | |
class SinatraServer < Sinatra::Base | |
get '/hi' do | |
"Hello World!" | |
end | |
run! | |
end |
OlderNewer