This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generate PDF file of source code using enscript and ps2pdf | |
enscript -r \ | |
--columns=2 \ | |
--file-align=1 \ | |
--highlight \ | |
--color=1 \ | |
--line-numbers \ | |
--header='$N|Page $% of $=' \ | |
-o - \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing a popular build tool such as grunt or gulp on a virtualbox share and a Windows host will cause issues due to Windows not being able to deal with long path names. Below is a solution to install node modules to an internal location rather than the virtualbox share. | |
Note: In npm 3 this should be a non-issue as it deals with nested dependencies better | |
"We found that mounting the node_modules folder instead of making a symlinc was a better solution, | |
but not the easiest one to work with, because mount folders does not persist after VM shutdown." | |
Source: https://github.com/fideloper/Vaprobash/issues/183 | |
### Bind local folder to node_modules | |
cd /shared_workspace/project |