when all else fails...CTL+ALT+DEL

  • Increase font size
  • Default font size
  • Decrease font size
ejdougherty.com

Scroll away mobile web-app address bar

E-mail Print PDF

Ever wanted to "hide" the address bar in a web-native mobile app?

Once the page has completely loaded, call setTimeout () which will delay N milliseconds and execute scrollTo () to scroll the content to the top.

Example:

<body onload="setTimeout(function() { window.scrollTo(0, 1) }, 100);">

 

Having fun with the Wii Remote...at work!

E-mail Print PDF

Here is a link to a prototype I built at work using the Wii remote as a smart sensor to control a steward platform. http://bit.ly/LzD58Q

 

Webex, Ubuntu 10.10, Firefox 10 and JAVA

E-mail Print PDF

About a week ago or so I updated to Firefox 10 on my Ubuntu 10.10 laptop.  Of course when I needed to run a Webex conference earlier today, I no longer could launch the Webex manager due to "Java is not enabled" message.  I noticed that the icetea6-plugin was reinstalled so I needed to remove it and set sun plugin back to the default JRE

$ sudo apt-get remove icedtea6-plugin openjdk-6-jre
$ sudo apt-get update
$ sudo apt-get install sun-java6-plugin  # make sure we have the latest and greatest
$ sudo update-alternatives --install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 1

After I restarted Firefox I was back in business.

 

 

 

Cannot authenticate to network shares after Ubuntu 12.04 upgrade

E-mail Print PDF

After upgrading to Ubuntu 12.04, I was no longer able to authenticate to out office NAS file folders.  After some Googling I came across the following solution which fixed the problem --  add the following client settings under the [global] section of  /etc/samba/smb.conf :

client lanman auth = yes
client ntlmv2 auth = no

Here is the link to the solution for reference: http://askubuntu.com/questions/127223/12-04-network-authentication-not-working

 

 

 

Installing Node.js on Ubuntu

E-mail Print PDF

A 5-second intro :

Node.js is an open source,  lightweight, high-performance, scalable, event-driven, non-blocking, networking platform built upon Google's V8 JavaScript Engine.

Installing Node on Ubuntu :

As Node is quickly evolving I would recommend that you build Node directly from the source code. Otherwise, simply execute $ sudo apt-get install nodejs at the prompt.

[Note that at the time of this post the latest source will build v0.6.9 where as Ubuntu 10.10 will install 0.1.97]

First, install the required packages to build the latest version of Node

$ sudo apt-get install g++ curl libssl-dev apache2-utils

Second, download the latest source tar.gz from here and extract (or you can pull a copy from github).

Finally, 'cd' to the directory and execute the following commands at the prompt.

$ ./configure
$ make
$ sudo make install

That's it!  Now try out your new Node installation with a typical 'Hello World' example.

Good luck!

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  Next 
  •  End 
  • »


Page 1 of 4