Author Archives: josemaria

David Deutsch: Chemical scum that dream of distant quasars

Posted in Uncategorized | Leave a comment

Rsyslog not listening TCP on port 514?

Check if rsyslog’s configuration has the following lines: $ModLoad imtcp $InputTCPServerRun 514 $PrivDropToUser syslog $PrivDropToGroup syslog As the user syslog cannot listen on ports below 1024 in TCP. Rsyslog will not fail and will silently run without any drawback. You … Continue reading

Posted in Uncategorized | Leave a comment

Good collection of quotes

In http://tarbox.org/, like: Don’t worry about people stealing your ideas. If your ideas are any good, you’ll have to ram them down people’s throats — Howard Aiken, IBM engineer  

Posted in Uncategorized | Leave a comment

Need to debug a bash script?

Add the following two lines: set -x export PS4=’$LINENO ‘ And you will get the line number and the text of each executed line 🙂

Posted in Uncategorized | Leave a comment

«The machine» compilation from Person of Interest TV Series

Posted in Uncategorized | Leave a comment

Terminator and Ctrl+t in Ubuntu

For some reason I cannot understand fully there is a problem with the key <Ctrl> in Terminator. If you configure <Ctrl>+t, for example, for creating new tabs the configuration doesn’t works and is not saved. The problem is described here. … Continue reading

Posted in linux, Uncategorized | Leave a comment

Problems with GNU parallel in Ubuntu 13.04?

GNU parallel seems to not work properly in Ubuntu: bash$ seq 10 | parallel echo {} bash$ Where are my numbers? For fixing this «problem» (misconfiguration will be a better description) you need to comment an option that is implicit … Continue reading

Posted in Uncategorized | Leave a comment

Installing postgresql 9.2 in Ubuntu 13.04 (2013 August)

Ubuntu doesn’t like PostgreSQL 9.2 because it breaks other packages (see explanation in stackoverflow). We need to use PostgreSQL own apt repository: prompt$ sudo sh -c  “echo ‘deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main’ > /etc/apt/sources.list.d/pgdg.list” prompt$ wget –quiet -O – http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | … Continue reading

Posted in Uncategorized | Leave a comment

Fix for the power management problem in Linux 3.10

I upgraded my Ubuntu 13.04 to the kernel 3.10 (so I can use a new USB 5Ghz WIFI card). As a consequence my computer no longer seemed to go into the «ondemand» mode and the fan was running all the … Continue reading

Posted in linux, Uncategorized | Leave a comment

Jenkins consuming all CPU while idle? You have the "leaping-second" problem

And the solution is simple: $ sudo date -s “`date`” Many people were drive crazy by this bug in Linux. For more information visit: http://www.theregister.co.uk/2012/07/02/leap_second_crashes_airlines/

Posted in Uncategorized | Leave a comment