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
An error occurred and we trapped him: | |
URL: /course/primeiros-passos-teclado/discussions/109544 | |
Headers: | |
host: www.musicdot.com.br | |
connection: keep-alive | |
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
referer: http://www.musicdot.com.br/exercises/7709/reviewSimilar/193933? | |
user-agent: Mozilla/5.0 (iPad; CPU OS 7_0_6 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) CriOS/31.0.1650.18 Mobile/11B651 Safari/8536.25 | |
accept-encoding: gzip,deflate,sdch |
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
URL: /courses/CS-17/sections/4/exercises/4/multipleChoiceAnswer | |
Headers: | |
host: www.alura.com.br | |
content-type: application/x-www-form-urlencoded | |
origin: http://www.alura.com.br | |
cookie: caelum.login.token=d4aef77e7c3f5d7a700e50aa2f7b7b12803d644ee9b0c6b925d9a1e71fc06057; JSESSIONID=0DD895092E9B2C2E4AC04F70B89821BC; _ga=GA1.3.1889994806.1393533349 | |
content-length: 50 | |
connection: keep-alive | |
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9 |
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
URL: /course/primeiros-passos-teclado/section/3/exercise/4 | |
Headers: | |
host: musicdot.com.br | |
connection: keep-alive | |
cache-control: max-age=0 | |
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 | |
user-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36 | |
referer: http://musicdot.com.br/loginForm?urlAfterLogin=http://musicdot.com.br/course/primeiros-passos-teclado/section/3/exercise/4 | |
accept-encoding: gzip,deflate,sdch | |
accept-language: en-US,en;q=0.8,pt;q=0.6 |
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
INFO: Deploying web application directory /Users/mauricioaniche/dev/apache-tomcat-7.0.50/webapps/host-manager | |
Mar 10, 2014 4:15:39 PM org.apache.catalina.startup.HostConfig deployDirectory | |
INFO: Deploying web application directory /Users/mauricioaniche/dev/apache-tomcat-7.0.50/webapps/manager | |
Mar 10, 2014 4:15:39 PM org.apache.catalina.startup.HostConfig deployDirectory | |
INFO: Deploying web application directory /Users/mauricioaniche/dev/apache-tomcat-7.0.50/webapps/ROOT | |
Mar 10, 2014 4:15:40 PM org.apache.catalina.loader.WebappClassLoader validateJarFile | |
INFO: validateJarFile(/Users/mauricioaniche/dev/apache-tomcat-7.0.50/webapps/ROOT/WEB-INF/lib/servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class | |
[BS] Copy the following snippet into your website, just before the closing </body> tag | |
<script src='//192.168.84.166:3000/socket.io/socket.io.js'></script> |
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
public class Conversor { | |
private StringBuilder convertido; | |
public Conversor() { | |
} | |
public SecaoConvertida converte(Secao s) { | |
convertido = new StringBuilder(); |
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
URL: /freeTrialMusicDot | |
Headers: | |
host: www.musicdot.com.br | |
connection: keep-alive | |
content-length: 6 | |
cache-control: max-age=0 | |
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 | |
origin: http://www.musicdot.com.br | |
user-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36 | |
content-type: application/x-www-form-urlencoded |
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
<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence | |
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" | |
version="2.0"> | |
<persistence-unit name="mack"> | |
<provider>org.hibernate.ejb.HibernatePersistence</provider> | |
<class>model.Curso</class> |
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
<?xml version='1.0' encoding='utf-8'?> | |
<!DOCTYPE hibernate-configuration PUBLIC | |
"-//Hibernate/Hibernate Configuration DTD//EN" | |
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> | |
<hibernate-configuration> | |
<session-factory> | |
<property name="connection.url">jdbc:mysql://localhost/mack</property> | |
<property name="connection.driver_class">com.mysql.jdbc.Driver</property> | |
<property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property> | |
<property name="connection.username">root</property> |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> | |
<appender name="main" class="org.apache.log4j.ConsoleAppender"> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%d{HH:mm:ss} %5p [%-20c{1}] %m%n"/> | |
</layout> | |
</appender> |
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
No Ubuntu, é mais fácil utilizar o RVM, que assim ele já instala e gerencia as versões do Ruby e das Gems. | |
Para baixar o RVM, no terminal é só rodar o comando abaixo: | |
\curl -sSL https://get.rvm.io | bash -s stable | |
Uma vez instalado o RVM, é necessário instalar o Ruby: | |
rvm install 2.1.1 | |
Agora sim para instalar o Rails podemos fazer: | |
gem install rails -v=3.2.17 |
OlderNewer