Using node.js to run a simple web server

You can use Connect and ServeStatic with Node.js for this:

1. Install connect and serve-static with NPM

$ npm install connect serve-static

2. Create server.js file with this content:

var connect = require('connect');
var serveStatic = require('serve-static');

3. Run with Node.js

$ node server.js

You can now go to http://localhost:8080/yourfile.html

Add power to the Mac's built-in Finder | XtraFinder

XtraFinder is a plugin for Mac OS's built in Finder. It has most of the features one would miss in the default options of Finder.

Some of the interesting features are:
  • Tabs & Dual Panel.
  • Arrange folders on top.
  • Cut & Paste. Copy queue.
  • Global hotkeys.
  • "Copy Path", "Show Hidden Items", "Hide Desktop", "Refresh", "New File", "Copy to", "Move to", "New Terminal Here", "Make Symbolic Link", "Contents", "Attributes", … .
  • Legacy label for OSX 10.9 & 10.10. Light text on dark background. Transparent window.
  • Colorful icons in Sidebar.
  • Size of selected items in Status Bar.
  • Automatically adjust width of columns.
  • Press Enter or Return to open selection.
  • Display folder item count in List view.
  • Middle-click to open folder in new window or new tab.