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
Comandos uteis do oracle para obter configiurações: | |
Parâmetros da NLS: | |
=> Select * from nls_database_parameters | |
=> Select * from nls_session_parameters | |
=> Select * from nls_instance_parameters | |
Exibe os valores de database_parameters | |
=> SELECT name,value$ from sys.props$ where name like '%NLS_LANG%' | |
=> SELECT name,value$ from sys.props$ where name like '%NLS_CHAR%' | |
=> SELECT name,value$ from sys.props$ where name like '%_CHARACTER%' |
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
b. Altere o número de processos para 100 | |
alter system set processes=100 scope=spfile | |
c. Remova o limite de 20 sessões | |
alter system reset sessions scope=spfile sid=’*’ | |
d. Pare o banco |
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
http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/querycriteria.html |
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
É so criar um link simbolico da lib necessária na pasta de plugins do firefox | |
ex: | |
cd /usr/lib/firefoz/plugins | |
sudo ln -s /home/usuario/<caminho do jdk>/jre/lib/amd64/libnpjp2.so |
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
Baixar flash | |
http://get.adobe.com/br/flashplayer/?no_redirect | |
criar pasta | |
sudo mkdir -p /opt/google/chrome/plugins | |
copiar plugin | |
sudo cp /usr/lib/adobe-flashplugin/libflashplayer.so /opt/google/chrome/plugins | |
verificar se deu certo |
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
Loga-se como autenticação do windows. | |
E executa-se a seguinte query: | |
sp_password @new = 'sa1234', @loginame=sa |
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
jdbc:jtds:sqlserver://IP/NOME_DO_BANCO;instance=NOME_DA_INSTANCIA |
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
-Djava.rmi.server.hostname=ip |
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
log4j.appender.STDOUT.Threshold=TRACE | |
log4j.category.org.hibernate.SQL=TRACE, STDOUT | |
log4j.category.org.hibernate.type=TRACE, STDOUT |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
OlderNewer