Installando Django no Ubuntu

Neste post iremos ver os passos para instalação de uns dos frameworks web mais populares do Python. Estou falando do Django. Obviamente, por ser um framework desenvolvido para a linguagem Python, ter o Python instalado é pré-requisito para a utilização do Django.

Como estamos falando de um passo a passo para instalação no sistema operacional Ubuntu, isto não é um problema, pois a maioria das distribuições Linux (para não dizer todas) já vem com o Python previamente instalada.

Para checar se o Python esta instalado/configurado corretamente em seu sistema execute o seguinte comando no terminal: Continuar lendo


A commum Angular error: “Module X is not available!”

This error often occurs when you declare a dependency on a module that Angular can’t locate it, whether by wrong module name or the module (JS file) not loaded.

Modulo “X” is not available!

These are the steps you must check if you got the error:

  1. Check if the file in which this module is define has been loaded (via <script src=”…”> for exemple);
  2. Check if the name of the module is declared correctly in: creation and dependencies files;

See also:$injector/nomod


I’m in a new personal project that involves a collection of document-oriented information. So I’ve had studying a couple of NoSQL databases to choose the best one to store the documents.
The project I’m working has a schema like a discography – artist, album, track, etc.
MongoDB was my choose. Lets play with that! 😉

This is the link to the how to documentation to install Mongo on Ubuntu:

Linux Crontab – Running Server-Based Applications

Cron does not run under the server therefore it cannot know the environmental variable necessary to be able to start an server application so they will have to be defined. One can use a program like xuserrun to do it:

17 02 * ... /usr/bin/xuserrun /usr/bin/xclock

Or then can be defined manually (echo $DISPLAY will give the current DISPLAY value):

17 02 * ... env DISPLAY=:0 /usr/bin/xclock

If done through say SSH, permission will need be given:

Continuar lendo

Subclipse/Subversion error on Ubuntu: Failed to load JavaHL Library

SVN error on Eclipse/Ubuntu: Failed to load JavaHL Library

Blog about cooking, technology and something else

I’ve installed subclipse and when I restart eclipse and try to share a project, I get this error:

The error is:

In most of the cases is due to the lack of the libsvn-java library, so just install it:

Now you have to tell eclipse where to find this libraries. First, locate where the is:

Now, edit PATH_TO_ECLIPSE/eclipse.ini and add this line below -vmargs:

This is my full eclipse.ini with the line already added:

If you still get the error, you’d probably modified the wrong eclipse.ini. In my case, I have a copy of eclipse decompressed in /app folder, but I also have eclipse.ini in /etc, /usr/lib/eclipse and /opt/ibm/lotus/notes/framework/rcp/eclipse/plugins/ So, be sure to modify the correct eclipse.ini.

To check if you have modified the correct eclipse.ini, you can follow the Linux troubleshooting section at

Ver o post original