Our Main Goals are to learn more about:
This code is dangerous because of possible semi-colon insertion:
if (request.query.createFolderToWalkOnS3 === true || request.query.createFolderToWalkOnS3 === "true") request.query.createFolderToWalkOnS3 = true;
The lesson here is not to start a line with an OR symbol.
If you run Node in Eclipse, to access JSOBJECTS, you made need to choose Run | Run Configurations | Environment | Select
The primary example is on JsObjects:
This is very old and outdated material.
Here is what I have installed on my system:
When using VirtualBox you can share a folder between you host OS and the guest OS that is running in the VM. Here we discuss how to share a drive between a Windows host and Linux Guest. In particular, we will share the GoogleDrive folder found on Linux.
Start by setting things in VirtualBox. Here we define the folders on the host machine that we want to share:
In the shared folders dialog click the plus symbol near the upper right hand corner. That will open up the following dialog:
Use the Share dialog to define the path to the folder that you want to share and give it a name. I suggest that you do not share folders that have spaces in their path, and I suggest that you give the share a name that does not have spaces in it.
We are creating a transient share that we have to explicitly mount. It will be read-write. A transient share disappears after you close your guest OS.
After you have things set up in VirtualBox on the host machine you need to also make some changes on the guest OS. Go to the guest machine and create the folder where the shared folder will be mounted:
sudo mkdir /media/GoogleDrive sudo chown $USER:$USER /media/GoogleDrive
Now mount the drive:
sudo mount -t vboxsf -o uid=1000,gid=1000 GoogleDrive /media/GoogleDrive
Is maintain a script with the exact settings shown above on GitHub in JsObjects.
We have an example in JSObjects: