Google I/O 2012: My Expectations

So the Google developer conference is tomorrow and there have been strong rumours of the Nexus 7 tablet (leaked image above) along with the next version of Android, Jelly Bean.

If the leaks are true, and Google does announce the Nexus 7 tablet with the rumoured quad-core Tegra 3 chip and a 7-inch 1280×800 IPS display for less than $250. Then it’s a definite day one buy for me. No reviews necessary.

And Android Jelly Bean? I don’t really care. I’m happy with Ice Cream Sandwich. Just improve upon an already solid OS and I’ll be happy.

So my expectations for tomorrow? Confirm the Nexus 7 tablet rumour and I’ll start throwing cash at the screen!

How To Handle User’s With Javascript Disabled Using The Noscript Tag

Usually, what most people seem to do with the noscript tag is to include it, and hide it with javascript on page load.

The only issue with this is most users will see the contents inside the noscript tag for a split second (or longer on a slower connection) while waiting for the javascript to kick in.

A simple solution, which also seems to be what Gmail does is to do the following instead:

…where all of the content in your site is wrapped with a div of class “pagecontainer”. The CSS inside the noscript tag will then hide all of your page content, and instead display whatever “no JS” message you want to show.

How to Install VirtualBox Guest Additions in Ubuntu Server 12.04

Had this Evernote’d, seems incomplete (and I don’t know how accurate it is) but I’ll post this anyway, might become useful one day…

To save my non geek readers, of which I don’t believe I have any (readers that is…) from having to scroll through blocks of useless code/jargon. Click the link below for what should be a fairly accurate step-by-step guide on how to install VirtualBox guest additions in Ubuntu Server 12.04, along with how to auto mount your shared folders.

Installing VirtualBox Guest Additions on Ubuntu Server 12.04

  1. sudo apt-get install dkms
  2. sudo apt-get install build-essential
  3. sudo apt-get install linux-headers-uname -r
  4. sudo reboot
  5. cd /media
  6. sudo mkdir cdrom [if doesn’t exist]
  7. sudo mount /dev/cdrom /media/cdrom
  8. cd cdrom
  9. ls
  10. Run the relevant installer:
  11. sudo ./VBoxLinuxAdditions.run

Auto mount shared folder

  1. comment out the share mounting lines in /etc/fstab
  2. edit the /etc/rc.local file [not the /etc/init.d/rc.local file] to add the mount points in the form of: mount.vboxsf -w HOST_FOLDER /MOUNT_POINT

e.g. my original /etc/rc.local file contained the following:

It now looks like this: