To get core dump of running node process:
- Take PID of that process:
pgrep -lf node
| --expose_gc (expose gc extension) | |
| type: bool default: false | |
| --max_new_space_size (max size of the new generation (in kBytes)) | |
| type: int default: 0 | |
| --max_old_space_size (max size of the old generation (in Mbytes)) | |
| type: int default: 0 | |
| --max_executable_size (max size of executable memory (in Mbytes)) | |
| type: int default: 0 | |
| --gc_global (always perform global GCs) | |
| type: bool default: false |
| import React, {Component} from 'react'; | |
| import styles from './Name`.scss'; | |
| const Name = () => (); | |
| Name.defaultProps = {}; | |
| Name.propTypes = {}; | |
| export default Name; |
| import React, {Component} from 'react'; | |
| import styles from './Name.scss'; | |
| class Name extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = {}; | |
| } | |
| render() { |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |