This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Example", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "node", | |
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], |
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\Directory\Background\shell\vscode] | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode] | |
@="Open folder in VSCode" | |
"Icon"="C:\\Program Files\\Microsoft VS Code\\resources\\app\\resources\\win32\\code_file.ico" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command] | |
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%V\"" |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\.myext] | |
[HKEY_CLASSES_ROOT\.myext\OpenWithProgids] | |
"MYAPP.myext"="" | |
[HKEY_CLASSES_ROOT\MYAPP.myext] | |
@="MyApp Example File" |
function getExternproto(nodeType){ | |
var code = ''; | |
var created = Browser.createVrmlFromString(nodeType + '{}'); | |
if (created.length == 1){ | |
var node = created[0]; | |
var nodeType = node.getType(); | |
code += 'EXTERNPROTO ' + nodeType + ' [\n'; | |
var count = node.getNumFields(); | |
for (var i = 0; i < count; i++){ | |
var infos = node.getFieldInfo(i); |
#VRML V2.0 utf8 | |
PROTO PixelSensor [ | |
# Distance to Parallel | |
# e.g. for z=0 in a Layer3D that uses Viewpoint{position 0 0 10} | |
field SFFloat distance 10 | |
# FOV of the Layer3D viewpoint | |
field SFFloat fieldOfView 0.785398 |
{ | |
"compilerOptions": { | |
"noEmit": true, | |
"allowJs": true, | |
"checkJs": true, | |
"moduleResolution": "Node" | |
}, | |
"include": [ | |
"./src/" | |
] |
These commands generate and use private keys in unencrypted binary (not Base64 “PEM”) PKCS#8 format. The PKCS#8 format is used here because it is the most interoperable format when dealing with software that isn't based on OpenSSL.
OpenSSL has a variety of commands that can be used to operate on private
key files, some of which are specific to RSA (e.g. openssl rsa
and
openssl genrsa
) or which have other limitations. Here we always use
Javascript files from the examples folder (such as OrbitControls) are not CommonJS or ES Modules, but they can still be used in Webpack bundles:
In package.json
:
"dependencies": {
"three": "0.84.0",
"webpack": "2.4.1"
}
{ | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, | |
"editor.lineHeight": 24, | |
"editor.insertSpaces": false, | |
"editor.detectIndentation": false, | |
"editor.mouseWheelZoom": true, | |
"editor.renderWhitespace": "boundary", | |
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}", |