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
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update | |
sudo apt-get install -y boot-repair && (boot-repair &) | |
boot-repair |
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
class SayHi extends Component { | |
// We can't use showMessage directly because it creates | |
// a new event handler every time you call it. | |
showMessage = (msg) => (e) => { | |
console.log(`Say ${msg}`, e) | |
} | |
// So instead, we need to create the event handlers beforehand, | |
// then call those inside of `render`. | |
showHiMessage = this.showMessage('Hi') |
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
alias c="code" | |
alias d="docker" | |
alias gs="git status" | |
alias gl="git pull --rebase up" | |
alias gh="git push origin" | |
alias gr="git remote -v" | |
alias gc="git checkout" | |
alias gm="git commit -m" | |
alias gmm="git commit --amend" |
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
module.exports = { | |
entry: './src/index.js' | |
} |
OlderNewer