dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
struct Connection { | |
void disconnected() | |
{ | |
m_connection = Disconnected(); | |
} | |
void interrupted() | |
{ | |
m_connection = std::visit(InterruptedEvent(*this), m_connection); | |
} |
The designer and programmer who main goal is to inspire other creators.
if ( process.env.NODE_ENV === 'production' ) { | |
// dev runs with babel-node so this isn't necessary | |
require('babel-core/register'); // this includes the polyfill | |
require('newrelic'); | |
} | |
import 'source-map-support/register' | |
import Debug from 'debug' | |
import express from 'express' |
John Carmack Oculus Connect 2 Keynote
"In the end, there are problems that compilers can't fix" (referring to communication between humans)
"The more you optimize something the less you can modify it"
Jose Aguinaga "How it feels to learn JavaScript in 2016"
"I need to display data on a page, not perform Sub Zero’s original MK fatality."
Kevlin Henney "Simplicity Before Generality , Use Before Reuse"
Custom recipe to get full Node.js Cloud Environment in DigitalOcean Dokku droplet running from scratch. Yes. Your own Heroku for $5 per month.
I use this gist to keep track of the important configuration steps required to have a functioning system after fresh install.
When you have executed that's all step by step you will get a new working and stable system which is ready to host & serve your Node.js application and databases.