Simple page to redirect to https from index.html

<html> <head> <title> Redirecting…</title></head> <script language=”JavaScript”> function redirectHttpToHttps() { var httpURL= window.location.hostname + window.location.pathname +; var httpsURL= “https://” + httpURL; window.location = httpsURL; } redirectHttpToHttps(); </script> <body> </body> </html>   nJoy 😉

Installing node on old version of Ubuntu 10.04

curl -o- | bash logoff and log on nvm ls-remote nvm install v7.9.0 npm -v node -v Caveat :   Lots of node stuff fails to compile and run on such an old version of linux be warned… Thats it you now have node and npm installed. nJoy 😉