I’m going to put in here npm commands that i use every day. It’s just for my reference and maybe it will useful for someone else.
– Install package globally
npm install -g <package_name>
– Listing installed global packages
npm list -g --depth=0
– Uninstall global package
npm uninstall -g <package_name>
– Search package
npm search <package_name>
– Update local package
cd /path/to/project && npm update
Last week i spent my time reading about Microeconomics subject on khanacademy.org. I really love their design, i can tell they spent amount of time to test their user experience design.
One thing i like is how the page flows between each other. I noticed they are using AJAX to render part of the UI to keep the user in that page while maintaining the URL history. After looking at their source code, looks like they are using Backbone.js to structure their app also React.js and Handlebars for templating.
WordPress also using Backbone.js.
So much for Backbone.js that i decided to learn more about it tonight 🙂
Free open-source reading : Developing Backbone.js Application
If you encounter this issue while performing
vagrant plugin update or
vagrant plugin install that require nokogiri
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:
An error occurred while installing nokogiri (220.127.116.11), and Bundler cannot continue.
Make sure that `gem install nokogiri -v ‘18.104.22.168’` succeeds before bundling.
This solution works for me (OSX 10.9.3):
add s.add_dependency(%q, [“< 1.6.2”]) to /Applications/Vagrant/embedded/gems/specifications/vagrant-1.6.2.gemspec
For reference : https://github.com/mitchellh/vagrant/issues/3769