Friday, July 5, 2013

Nvidia 304.88 legacy drivers on linux 3.10

UPDATE: You shouldn't need this patch anymore and use the nvidia 304.108 driver instead.

Here's a patch to get the NVIDIA-Linux-x86_64-304.88 drivers running on the new linux 3.10 kernel. (also works on the 3.10.1 kernel)

If you use gentoo then you can place the patch in the /etc/portage/patches/x11-drivers/nvidia-drivers/ folder and it will automatically be applied to any nvidia-drivers compilation.

otherwise ..

# Download NVIDIA-Linux-x86_64-304.88.run and unpack:
sh NVIDIA-Linux-x86_64-304.88.run -x
cd NVIDIA-Linux-x86_64-304.88
# apply the patch
patch -p1 <  .. path to the patch file
# and install
./nvidia-installer

Feel free to leave a comment if this patch is useful.

Tuesday, July 2, 2013

Java API for mega.co.nz

I've been working on a java api for the mega.co.nz file storage service.

It includes a demo application for android.

Currently a work in progress .. but quite a bit of functionality is working.

Checkout the source via:

git clone https://github.com/danbrough/java_mega_api.git

You can then run the test application using maven:

mvn -DMEGA_API_KEY="your api key" test

You can get an API key from https://mega.co.nz/#sdk