Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
| let user = { // this is an object | |
| name: "Alan",// by key "name" store value "Alan" | |
| age: "27" // by key "age" store value 30 | |
| }; | |
| // ACCESS THE VALUES | |
| user.name; //Alan | |
| user.age; //27 |
| Overview | |
|---|---|
| JSX HTML | <div>...</div> |
| JSX Component | <Component property={javascript} /><Component property='string' /> |
| JSX Component with Children | <Component>{children}</Component>reference: props.children |
| Escaping JavaScript | {...} |
require statements |
const React = require('react');const ReactDOM = require('react-dom'); |
npm modules |
react, react-dom |
| Key/Command | Description |
|---|---|
| Tab | Auto-complete files and folder names |
| Ctrl + A | Go to the beginning of the line you are currently typing on |
| Ctrl + E | Go to the end of the line you are currently typing on |
| Ctrl + U | Clear the line before the cursor |
| Ctrl + K | Clear the line after the cursor |
| Ctrl + W | Delete the word before the cursor |
| Ctrl + T | Swap the last two characters before the cursor |