How to solve "cannot open password prompt from OS X preferences"

For unknown reason I went into problems with my OS X installation. Whenever I needed to change some system preferences (like allowing the apps to control the computer), the password prompt window after clicking the lock button hasn't appeared. After spending a lot of time on forums and typing a lot of commands to to terminal without success I've found the solution is pretty easy.

How to display content from other website using your own simple Drupal 7 module

From time to time I went with Drupal into situations where I need to display a block populated with content coming from another website. Parsing other website’s RSS or using the Aggregator module is not always possible nor comfortable.  So own custom module could be a solution. Here is how I did this job.