Skip to content

Instantly share code, notes, and snippets.

Avatar

Luận Trần luandevpro

View GitHub Profile
@luandevpro
luandevpro / Input.js
Last active March 27, 2018 04:56
React
View Input.js
import React, { Component } from 'react';
class Input extends Component {
constructor() {
super();
this.state = {
fullName: ''
}
}
handleFullNameChange = (e) => {
View Input.js
....
handleFullNameChange = (e) => {
this.setState({
fullName: e.target.value
})
}
....
View cacaca
import React, { Component } from 'react';
class Input extends Component {
constructor() {
super();
this.state = {
fullName: '',
status: false
}
}
View Terminal
sudo apt-get install git
View Terminal
git config --global user.name "coder9s"
git config --global user.email "contact@luandevpro.info"
View Terminal
git remote rm origin
git remote add origin https://github.com/your_user/your_app.git
View Terminal
cat ~/.gitconfig
View Terminal
git commit -m "Hoc Git co ban"