How to add a subpages menu to WordPress pages

WordPress allows the creation of nested pages. That’s a great feature when you need to split a rather long content into several parts and give them some structure. However, the problem is you’ll have to manually add links to the additional pages in order to make it easy for the user to navigate through all the content. Wouldn’t it be great if you could automatically add a menu, right inside the content of your pages, with links to the subpages or parent of current page? I think it would, and I’ll show you how… Continue reading

How to Install R in CentOS 5.6

R is in EPEL (Extra Packages for Enterprise Linux):

EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs, such as CentOS and Scientific Linux.

As part of the Fedora packaging community, EPEL packages are 100% free/libre open source software (FLOSS).

All you need to install R is to add the EPEL repository and then install R the same way you do with any other package: Continue reading

Mendeley 0.9.8 installer for Fedora 14 and Fedora 15

Recently I wrote about how to solve some issues with Mendeley Desktop in Fedora 14 but in that post I didn’t show how to properly install the application adding the necessary menu entries and installing the files in the right directories. The ideal approach would be to create an RPM to handle de installation process, however, this time I just created a short script that downloads Mendeley Desktop, install the files and apply the fixes from my previous post. Continue reading

Running Mendeley 0.9.8 on Fedora 14 (x86_64)

Mendeley is a combination of a desktop application and a website which helps you manage, share and discover both content and contacts in research.

The Desktop version offers automatic extraction of document details, management of your papers with full text search, sharing and synchronization, among other features. The website provides an online backup of your library, a variety of statistics about your research behavior, a research network and a recommendation engine for papers that might interest you.

When I discover this application I thought it was awesome and wanted to use it for my own research needs. However, every time I tried to install it on my fedora (first fedora 13 and now fedora 14) I was presented with some problem: sometimes I couldn’t even start the application because Mendeley was unable to load libssl, although the library was packed with Mendeley Desktop for Generic Linux. When I was finally able to fix the problem linking the version of  libssl installed in the system, the application wouldn’t start due to a compatibility problem between the system’s libssl and the Qt libraries packed with Mendeley so I had to download the latest Qt for my system and remove the packed libraries in order to finally run application. However, there was another problem, I could explore my local library and add new papers but couldn’t synch that information with my account on the website… and it was like that for a long time, until today, when I decided to look for a solution again and this time I found it. Continue reading

Install Firefox 4 Beta 2 on Fedora 13

Mozilla just released Firefox j 4 Beta 2 with a cool set of features and I want to test it. I installed the first beta manually in my desktop pc running Fedora 13, but I was wondering if there is a better way. Fortunately, there is one: you can install Firefox 4 Beta 2 using Remi’s repo, here is how:

First you need to configure the repo, so you need to run the following snippet as root

rpm -Uvh http://rpms.famillecollet.com/remi-release-13.rpm

Then you can install the beta release of firefox using:

yum --enablerepo=remi install firefox4

You may need to anser ‘Yes’ to the question about if you want to import the GPG key for the repo. And… that’s all. now you can see for yourself what Firefox 4 Beta 2 can do.

Finally, this is not an update of the firefox package you probably already have installed, it only adds another entry to your Applications menu allowing you to run the new versión of Firefox.

You can see more information in Remi’s post and Remi’s repo configuration page.