Skip to content

Instantly share code, notes, and snippets.

View jvitoroc's full-sized avatar
🏝️
Rio

João Vitor jvitoroc

🏝️
Rio
  • Brazil, Rio de Janeiro
View GitHub Profile
import React, {Component, Fragment} from "react";
import style from "./style.css";
class SignIn extends Component{
state = {username: '', password: ''}
handleSubmit = (e)=>{
this.props.login(this.state.username, this.state.password); //dispatch
e.preventDefault();
};
var schema = new Schema({
name: {
type: String,
required: true
}
});
var Cat = db.model('Cat', schema);
// This cat has no name :(
var cat = new Cat();
@jvitoroc
jvitoroc / vid.txt
Last active November 17, 2017 17:17
Udacity Android Nanodegree[FREE]
Parte 1(Beginner)
1: https://classroom.udacity.com/courses/ud837/lessons/4619208555/concepts/45934490170923
2: https://br.udacity.com/course/android-basics-multi-screen-apps--ud839/
3: https://br.udacity.com/course/android-basics-networking--ud843/
4: https://br.udacity.com/course/android-basics-data-storage--ud845/