lisp My old downloading tool I read online the manga, the Journey of Shuna, by Miyazaki Hayao and wanted to keep a copy, so I turned to my old downloading tool for help. It was written in Common Lisp as I was learning it. It has an abstract interface such that if you give it
ahotd Achive of Hiso of the Day runs on Node.js now I haven't drawn any Hisos for very long. There is simply no justification of porting the backend PHP code to Node.js. Thus I set out porting. First I read a tutorial on how to set up Node with MySQL and ran the code there. I didn't plan to learn
gulp Tuj using Gulp Gulp is intuitive and capable. Tuj had been thinking about coaxing git to do the task of zipping certain files in the project directory into an archive for distribution, when his trip with nodejs led him to gulp. He installed gulp and the gulp plugin gulp-zip. Then he made a
ghost Installing Ghost MotivationWe wanted to be a fancy kid, so we tried to have a blog with Ghost which is build on top of nodejs. InstallationGet a VPSTuj got one with Digital Ocean and followed a guide to set up some basic security measures. Details are omitted. Set up nginx and mysqlAs
nodejs Tuj learning Node.js: package.json Installing the mysql packageWe npm installed mysql package in our project folder and used the selective sync trick to prevent Dropbox from syncing the node_modules folder. Saved just 865KB... Then we checked the documentation of this package. What's the matter with question marks? Why does it replace ? with stuff
nodejs Tuj learning Node.js: npm Tuj is very concerned with downloading duplicate packages/modules by npm, especially when Tuj wants to use Dropbox to sync his stuff. By now he has installed express and its dependencies at least 3 times. Why cannot we have every needed package in one place (outside our project folder which
nodejs Tuj learning Node.js: requiring modules Tuj read about a nice article, requiring modules. It is simple. Everything is a function... or json. Oops, sudden change of mind. require is a function that takes a string and returns the exports object of the module the string resolves to.