Multiline string with typescript - Angular2

Source: https://stackoverflow.com/questions/35225399/multiline-string-with-typescript-angular2

Wrap the text in ` (backticks) instead of single quotes ', then it can span multiple lines.
var myString = `abc
def
ghi`;

how to reload the nodejs app after making changes to the file?

Source: https://stackoverflow.com/questions/39676168/how-to-reload-the-nodejs-app-after-making-changes-to-the-file

https://github.com/remy/nodemon#nodemon
You need to stop and re run the server to see your latest update. To automate this, you can use nodemon, do npm i nodemon -g
And run nodemon http_test.js
Now, for every change you make tohttp_test.js the server will be restarted automatically

Declare multiple module.exports in Node.js

Source: https://stackoverflow.com/questions/16631064/declare-multiple-module-exports-in-node-js
You can do something like:
module.exports = {
    method: function() {},
    otherMethod: function() {}
}
Or even just:
exports.method = function() {};
exports.otherMethod = function() {};
Then in the calling program:
var MyMethods = require('./myModule.js');
var method = MyMethods.method;
var otherMethod = MyMethods.otherMethod;

How to install specific version of bootstrap using Angular CLI

Source: https://stackoverflow.com/questions/48428201/how-to-install-specific-version-of-bootstrap-using-angular-cli


From the official bootstrap documentation :
You can also install Bootstrap using npm:
npm install bootstrap@3 --save

Cold Turkey Blocker

 https://superuser.com/questions/1366153/how-to-get-rid-of-cold-turkey-website-blocker-get-around-the-block Very old question, but still wan...