Tag: Node.JS

  • Installing NodePie on Ubuntu

    I was transferring my latest creation over to my hosted Ubuntu server and came across the most annoying error. I had to reinstall the NodePie module because it relies on compiled C code. I kept getting an error though about something called lib-expat. Anyhow, turns out you need to apt-get a new library: sudo apt-get […]

  • JSDOM Memory leaks

    JSDOM is a great little module for NodeJS which lets you parse a DOM on the server. The only problem is that it has a memory leak. Not a big deal if you are only going to instantiate a couple times. A little trickier if you are screen scraping and need to call it 1000s […]

  • Dynamic DIV IDs in Jade

    Jade is an HTML templating language that works with Node.js and a bunch of other languages. It takes structured templates and converts them into HTML. Jade uses indentation to show what code should be within an HTML tag. It is also possible to use variables to generate text, they call it Interpolation and it is […]