Skip to content

Instantly share code, notes, and snippets.

View mykz's full-sized avatar

Mike Bailey mykz

View GitHub Profile
@luozhihua
luozhihua / auto-restart-nodejs-process
Last active August 7, 2022 06:21
Auto restart nodejs process when program exit
var child_process = require('child_process');
start();
function start(nodefile) {
if (typeof start !== 'string') {
console.log('Has none file. like this: start("app.js")');
}
console.log('Master process is running.');
@necolas
necolas / README.md
Last active March 28, 2024 20:34
Experimenting with component-based HTML/CSS naming and patterns

NOTE I now use the conventions detailed in the SUIT framework

Template Components

Used to provide structural templates.

Pattern

t-template-name