Hosting a private NPM registry with Sinopia

NPM (npmjs) is the package manager for Nodejs. By default, npm modules are deployed and retrieved over the Internet from the public package registry maintained on http://npmjs.org. A private npm registry can be used to upload your own packages as...

How to install Nodejs for all users on Ubuntu using NVM

In previous post “How to install Nodejs on Ubuntu using NVM”, I have introduced the way to setup Node.js environment using NVM (Nodejs Version Manager). Usually, nvm is used to setup development environment, so it will be installed in individual...

Howto nest liquid template variables inside YAML front matter block

In Jekyll, any liquid template file that contains a YAML front matter block will be processed by Jekyll. The front matter must be the first thing in the file (nothing before it) and must take the form of valid YAML...

How to install Nodejs on Ubuntu using NVM

NVM, which stands for “Node.js version manager”, is a tool for managing multiple version of Node.js on an OS, especially for developer. Using nvm, you can install multiple, self-contained versions of Node.js which will allow you to control your environment...

Thực hành Unit testing để xây dựng ứng dụng AngularJS theo TDD

Trong bài viết trước, tôi đã trình bày các kỹ thuật áp dụng Unit testing vào các thành phần AngularJS: Controller, Filter, Service và Directive thông qua các ví dụ minh họa đơn giản. Bài viết này sẽ đi sâu...