Run:
ps -ax | grep node
You'll get something like:
60778 ?? 0:00.62 /usr/local/bin/node abc.js
Then do:
kill -9 60778
Run:
ps -ax | grep node
You'll get something like:
60778 ?? 0:00.62 /usr/local/bin/node abc.js
Then do:
kill -9 60778
The following table is another way to help you understand the emacs jargon:
emacs terminology common terminology buffer document/workspace evaluate expressions interpret/execute some code font locking syntax highlighting filling line wrapping frame window kill cut mark beginning of the selected area
| { | |
| "full": | |
| {"StarTrek": | |
| ["The Origional Series","The Animated Series","The Next Generation","Deep Space 9","Voyager","Enterprise","Discovery","Novels"] | |
| }, | |
| "abbr": | |
| {"ST": | |
| ["TOS","TAS" "TNG","DS9","VOY","ENT","DIS","Novels"] | |
| } | |
| } |
| defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock |
⌘ – ⌘ – ⌘ – the Command Key symbol
⌥ – ⌥ – ⌥ – the Option Key symbol
⇧ – ⇧ – ⇧ – the Shift Key symbol
⌃ – ⌃ – ⌃ – the Control Key symbol
⎋ – ⎋ – ⎋ – the ESC Key symbol
⇪ – ⇪ – ⇪ – the Capslock symbol
⏎ – ⏎ – ⏎ – the Return symbol
⌫ – ⌫ – ⌫ – the Delete / Backspace symbol
⇥ – ⇥ – ⇥ – the Tab Key symbol
| // edit any website text with this console script | |
| // good for mock-up and copy testing | |
| javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0 |
| { | |
| /* Editor UI */ | |
| "editor.minimap.enabled": false, | |
| "window.zoomLevel": 0, | |
| "workbench.activityBar.visible": true, | |
| // configure emmet | |
| "emmet.triggerExpansionOnTab": true, | |
| "emmet.includeLanguages": { | |
| "javascript": "JSX", | |
| }, |
| var myString = "Sentence to reverse"; | |
| var result = myString.split(" ").map(words => words.split("").reverse().join("")).join(" "); | |
| // add a way to change case | |
| console.log(result); |