Ben McCann

Co-founder at Connectifier.
ex-Googler. CMU alum.

Ben McCann on LinkedIn Ben McCann on AngelList Ben McCann on Twitter


Installing Node.js on Ubuntu 12.04


The version of Node.js that comes with Ubuntu is outdated. To install a more recent version download the binary from nodejs.org. When install packages via npm, be sure to use the -g flag. E.g.: sudo npm install -g bower sudo npm install -g grunt-cli

Using the GWT ClickListener on an Element


GWT uses what it calls a ClickListener instead of the standard HTML onclick attribute.  The normal way to use a GWT CLickListener would be as follows: focusWidget.addClickListener(new ClickListener() { public void onClick(Widget sender) { // do something here } }); Unfortunately, this seems not to work on an HTML Element.  Luckily, you can use JSNI Read More