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
SELECT s.username, s.program, s.logon_time, s.osuser, s.machine | |
FROM v$session s, v$process p, sys.v_$sess_io si | |
WHERE s.paddr = p.addr(+) | |
AND si.sid(+) = s.sid | |
AND s.username = 'SYSPDVWEB_LANCEUNICO_TEST'; |
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
-- Tendo problemas com "ORA-12519, TNS:no appropriate service handler found"? | |
-- dica: http://en.newinstance.it/2007/06/01/ora-12519-tnsno-appropriate-service-handler-found/ | |
-- Basta rodar este comando e reiniciar o serviço do Oracle: | |
ALTER SYSTEM SET PROCESSES=150 SCOPE=SPFILE; |
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
fsutil behavior set disablelastaccess 1 |
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
Se voce rodar o cucumber e der esse erro: | |
cucumber features/promocao_incluir.feature | |
dlopen(/Library/Ruby/Gems/1.8/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.bundle, 9): Library not loaded: /opt/local/lib/libiconv.2.dylib | |
Referenced from: /Library/Ruby/Gems/1.8/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.bundle | |
Reason: Incompatible library version: nokogiri.bundle requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 - /Library/Ruby/Gems/1.8/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.bundle (LoadError) | |
/Library/Ruby/Gems/1.8/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.bundle | |
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:53:in `require' | |
/Library/Ruby/Gems/1.8/gems/nokogiri-1.4.4/lib/nokogiri.rb:13 | |
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:53:in `gem_original_require' | |
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:53: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
xml.rss :version => "2.0" do | |
xml.channel do | |
xml.title "Loja de carros" | |
xml.link "http://localhost:3000" | |
xml.description "RSS da loja de carros" | |
xml.language 'pt-br' | |
@carros.each do |carro| | |
xml.item do | |
xml.title do | |
xml.title carro.nome |
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
. Criando o branch remoto | |
git push origin nome_do_branch_remoto | |
. para baixar um branch remoto: | |
git checkout -b nome_do_branch_local origin/nome_do_branch_remoto | |
. para subir alteracoes pro branch remoto: | |
git push origin origin/branch_remoto |
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
USE master; | |
GO | |
ALTER DATABASE dbname | |
SET SINGLE_USER | |
WITH ROLLBACK IMMEDIATE; | |
GO | |
DROP DATABASE dbname; |
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
Este eh um rascunho do post que pretendo escrever sobre como usei o jruby para integrar os dataSets do dbunit, que já usava em outros testes com as features do cucumber. | |
Basicamente, o cucumber utiliza um componente, o dbunitTools que abstrai a API do dbunit e se responsabiliza por criar o ambiente java para executar o spring. | |
A vantagem de usar o dbunit no meu caso, é porque já tinhamos muitos dataSets para cenarios de teste de integração, além de poder usa-los em mais de um banco, pois o dbunit já fazia o esperado. | |
Preferi o cucumber pois queria usar as features para comprovar a aceitação das funcionalidades junto de uma equipe não tecnica, além de que, como a API do capybara é simples, poderiamos ter uma equipe de teste também não técnica. | |
Nesse caso, o steak também não era viável, por ser escrito em linguagem de programação, e não em linguagem natural (portugues). | |
//TODO falta mostrar os codigos e configuracoes do cucumber. |
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
Referencia base de como fazer deploy de uma app em iphone sem mais restrições. | |
http://stackoverflow.com/questions/246422/how-can-i-deploy-an-iphone-application-from-xcode-to-real-iphone-device | |
Outras informações: | |
http://codedog.net/?p=14 | |
http://news.imodzone.net/2011/05/how-to-re-codesign-a-cracked-ios-app-on-xcode-4/ |
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
as fotos tiradas na camera roll ficam em: | |
"/var/mobile/Media/DCIM/" | |
Tenho que ver um jeito mais facil de copiá-las, pois por ssh da mais trabalho do que devia :( |
OlderNewer