// Build from a `Dockerfile` in this directory `.` and tag the container as `getting-started`
docker build -t getting-started .
//Run container in the background `-d` with ports `-p` and tag = `getting-started`
docker run -dp 3000:3000 getting-started
This file contains hidden or 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
// Use https://jscomplete.com/playground/rgs to play with this | |
function Button(props) { | |
const handleClick = () => props.myOnClickFunction(props.increment); | |
return ( | |
<button onClick={onButtonClick}> | |
+{props.increment} | |
</button> | |
); | |
} |
sudo apt-get install gcc g++ make
This file contains hidden or 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
Show hidden characters
// Open Sublime. The Preference-> key bindings. Apply all or selected few from the following. | |
[ | |
{ "keys": ["super+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["super+d"], "command": "duplicate_line" }, | |
{ "keys": ["shift+alt+up"], "command": "swap_line_up" }, | |
{ "keys": ["shift+alt+down"], "command": "swap_line_down" } | |
] |
OlderNewer