Saturday, April 9, 2011

GuitarPro missing fonts

http://getsatisfaction.guitar-pro.com/arobas_music/topics/_font_missing_after_updating

Hi, try to remove these files :
C:\ProgramData\Guitar Pro 6\GuitarPro.dat
and
C:\Users\nmartin\AppData\Roaming\Guitar Pro 6\GuitarPro.dat

Linux :
sudo rm /opt/GuitarPro6/GuitarPro.dat

Tuesday, March 29, 2011

How to install Google Earth in Ubuntu 10.10 Maverick 64 bits

from http://www.ubun2.info/2010/10/how-to-install-google-earth-in-ubuntu.html?showComment=1287937450936

nstalling Google Earth in Ubuntu Maverick is very simple. For Ubuntu Maverick 64 bit users,they need to install the dependance package: ia32-libs and lib32nss-mdns.

Open up a terminal window from Applications -> Accessories menu and run:
sudo apt-get install ia32-libs lib32nss-mdns

After the installation of ia32-libs and lib32nss-mdns complete.
Then install googleearth-package from the default repository using this command:
sudo apt-get install googleearth-package

Then run the command:
make-googleearth-package --force

it will take a moment and finally generate a deb package.
Install the deb by the command (change the package name to yours):
sudo dpkg -i googleearth.deb

Finally,launch Google Earth from Applications – > Internet menu.

Sunday, March 27, 2011

How to Install GuitarPro6 on 64-bit Ubuntu

From http://ubuntuforums.org/showthread.php?t=1458626

How to Install Guitar Pro 6 on 64-bit install.
1) Download the latest .deb from Guitar Pro's website.
2) Goto http://frozenfox.freehostia.com/cappy/ and install getlibs-all.deb
3) Run this in terminal
Quote:
sudo dpkg -i --force-architecture Downloads/GuitarPro6-r7840.deb
You will get some errors but ignore.
4) Run this in terminal
Quote:
getlibs /opt/GuitarPro6/GuitarPro

Thursday, March 10, 2011

Moving a thunderbird profile to another machine

http://support.mozillamessaging.com/en-US/kb/Profiles#_Moving_a_profile

Friday, March 4, 2011

Installing Rstudio in Ubuntu : ignoring a depending package

The installer of rstudio complains : Package r-base is not installed. But in ubuntu, that package exists under the name r-base-core.

Simply install the package with the following command :

sudo dpkg -i --ignore-depends=r-base rstudio-0.92.23-i386.deb

Wednesday, February 23, 2011

To debug R code

Either :
* put the command browser() : will stop where the command "browser" was called
* or call the function debug : debug(name_function_to_debug) : will stop at the start of the script
* options(error=recover)

Type "Q" to exit the browser. Type "n" to execute the next line. Type "c" or ENTER to continue running and exit the function.

Monday, February 14, 2011

Installing RNetCDF (ncdf) in R

Taken from https://stat.ethz.ch/pipermail/r-help/2008-March/157089.html
This is ubuntu 10.4.

sudo apt-get install libudunits2-0 libudunits2-dev
sudo apt-get install libnetcdf4 libnetcdf-dev

Then in R :
install.packages("RNetCDF",configure.args="--with-netcdf-include=/usr/include")

Note : A regular install is unable to find netcdf.h, giving the error below. Use rather the install.packages command given above.

checking for netcdf.h... no
configure: error: netcdf header netcdf.h not found
ERROR: configuration failed for package ‘ncdf’