Archive for the ‘technical’ Category

Get the latest Chrome nightly on your Linux desktop every day

Wednesday, February 16th, 2011

Quick bash script to pull the latest chrome nightly to your very own desktop!

1
2
3
4
5
6
7
8
9
#!/bin/bash
LATEST="http://build.chromium.org/f/chromium/snapshots/Linux/"`curl http://build.chromium.org/f/chromium/snapshots/Linux/LATEST`"/chrome-linux.zip"
wget $LATEST
unzip chrome-linux.zip
rm chrome-linux.zip
if [ -x ~/builds/chrome-linux/ ]; then
    rm -rf ~/builds/chrome-linux/
fi
mv chrome-linux ~/builds/

You’ll need to make the directory it’s going to download to.

$ mkdir ~/builds

Then add as a cron job to run every night && daily updates will come down the pipes!

Adding Reader and Analytics to Google Apps

Tuesday, October 6th, 2009

appsexpanded

Google Apps for your domain bring you all the functionality of Gmail, Google Docs, Calendar and talk to your own domain. Which, for those of us who like Gmail et al, is a very nice thing to have.

What Google Apps doesn’t give you however, is the integrated google account that gives you access to all their other services like Google Reader and Analytics.

So after a while switching between my shiny new apps account & my plain old google account, I decided to write a little greasemonkey script to add them to Google Apps.

Basically it inserts links to Google Reader and Analytics into the top left navigation of Gmail, Google Docs & Calendar, and redirects the navigation in Google Reader to point to your Apps account rather than the ‘Google Account’ you’re using for Reader & analytics.

You can generate the script for your site by typing the domain in here and then following the link:

Alternatively you can take a look at the Source on github, or clone the repo with

git clone git://github.com/davidmiller/apps.expanded.user.git

Hope you find it useful somehow.

Love regards etc

Google Website Optimizer Timesavers

Friday, September 25th, 2009

As useful as Google Optimizer is, it also happens to be rather patronising, asking you the same questions over & over :

Screenshot
Which is great the first time you set up an experiment, but really starts to grate after a few dozen.

Thankfully, as long as you are logged in to the right account you can just bookmark your way straight to the create a new experiment page by bookmarking something along the lines of this:

https://www.google.com/analytics/siteopt/exptsetup?experiment=&account=YOUR_ACCOUNT-NUMBER_HERE

Saving you Three Precious Clicks & Two Pageloads !!!

Love Regards etc

howto: Enable Last.fm integration for Listen Music Player in Xubuntu/Xfce

Monday, December 15th, 2008

Notice: This is a technical post. If you don’t have this problem, you probably want to skip this one.

I have just started using the Listen music player, which is a very nice lightweight little python program that comes shipped with xubuntu. As of the time of writing the version included in the xubuntu-desktop package has not been updated so that it integrates with last.fm properly.

The following fixes the problem, and will happily allow you to broadcast your terrible taste to the rest of the world without sitting you down & asking why you really want to do so.


wget http://www.listen-project.org/raw-attachment/ticket/826/audioscrobbler_manager.py

sudo cp audioscrobbler_manager.py /usr/lib/listen/

rm audioscrobbler_manager.py

You can see this in action on my last.fm profile should you have the inclination.

Love regards etc

Notice: The next post will almost certainly be of a less niche nature. Look forward to it. Or something.