Why it is so important to pray?

The prayer should be a normal part of every Christian life. But why so many Christians neglect it?

  • Is it really so important to pray?
  • Is God really listening to our prayers and will He ever answer them?
  • How often a day should we pray?
  • How should we pray?
  • Where should we pray?
  • What the Bible says about prayers

These are some of the question which we have been asking. But the God has always an answer to all of our questions.

Is God really listening to our prayers and will He ever answer them?

First of all it’s good to clear out one thing. God can hear and God can talk. If you cannot believe to this, the way is to have a look into Bible and find out what is written there about this matter.

Bible is saying that God can hear because in 2 Corinthians 7:14 (KJV) is written …. I will hear them from Heaven. God can also speak because in Genesis, when God was creating the earth the word SAID is mentioned so many times, that it makes it extremely easy for us to believe that God can speak.

Is it really so important to pray?

But why the question – is it really important to pray? came to my mind? One day during my prayer, I was quoting John 14:12-13 (NKJV)

Most assuredly, I say to you, he who believes in Me, the works that I do he will do also; and greater works than these he will do, because I go to My Father. And whatever you ask in My name, that I will do, that the Father may be glorified in the Son

and what stuck to my mind was the part – whatsoever ye shall ask and it brought the revelation to me that the prayer is really very important in our lives.

Bible is telling us in many places, that we can ask and our requests / question will be answers. But how can I ask and keep my mouth closed. It is simply impossible. Every time I want to ask for something I have to open my mouth and start talking. And when I talk, I talk to God and I am praying.

What is the prayer?

Prayer is simply a communication with God. You can call God your very best friend and never talk to him. Prayer is not a magic, you do not need to say any secret word to start praying, you can just close your eyes and start talking to God and tell him what bothers you, what you want from Him and thank Him for the things He has done for you. Even if you do not know how to pray, pray with from your heart and Holy Spirit with guide your words.

Recently I have read a book Understanding the purpose and power or Prayer – Earthly license for heavenly interference written by Dr. Myles Munroe. It is a great book explaining the principles how to pray, why some of your prayers might not be answers and what are the hinders for unanswered prayers. If you want to know more about prayer, please have a look to this book and I pray that you will get more understanding about prayers in Jesus Name.

My prayer for you: Heavenly Father, I pray for your people, that they will understand the importance of prayer and they will spend more time in communication with You. I pray that when they humble themselves, they seek your face and they pray to you, You will hear them from heaven and answer their prayers. I thank You that your ears are always there for us and that none of our prayers will come back void to us. In the name of your Son Jesus Christ I prayed. Amen.

Codeigniter – Another PHP framework to learn

I have worked with many frameworks in my career as PHP Developer. I’ve built projects in Zend Framework, CakePHP, in pure PHP, by using WordPress or Joomla, but one of my client bought a script, which is written in Codeigniter so it’s time to learn it and add it to the group of PHP frameworks which I am familiar with.

Let’s see how it will go and I hope it won’t be so far away from CakePHP or Zend Framework, so the study will be easier.

Why did I switch to WordPress

Many times in the past years, I put myself before question – should I continue with development of my own CMS built on CakePHP or should I start using WordPress and start developing on it? I was telling myself – is it good to use WordPress when I claim to be a CakePHP developer? Or if I start using WordPress, will they still believe me that I can develop in CakePHP? Etc etc. Most of the time, the CakePHP has won and I put WordPress aside.

But couple of days ago, I tried to do something for our company’s client whose website in on WordPress and I was amazed with what WordPress guys have done so far. So for the first time in my life, I decided to put CakePHP aside and install WordPress.

I found a template which is not the best, but it looks good and let see, how it will go. I will use WordPress for a while and I will see after one two months whether I like it or not. There’s always a way back to CakePHP, but I believe only for very custom projects.

SuPHP and permission 644 for images

I came across the issue with SuPHP on my VPS. Suddenly, all files were uploaded with permission 600. What did it mean ?  I couldn’t see my pictures etc.
I was trying to find the solution, but most probably my questions to Google were not clear enough ;).

After an hour of investigation, I found out that I have to change following

vim /etc/suphp.conf
set umask=0022
service apache2 restart

The problem is fixed and I have learned again something new for my VPS ;).

How to get number of inodes per folder

Long time ago, I had a problem with increasing number of innodes. I found out this code which basically gives you number of inodes per folder. It is a great starting point for investigation, where the problem might be.

for i in *; do 
printf "%10d %s\n" `find "$i"|wc -l` "$i"
done|sort -n

What is inode ?

In a Unix-style file system, an index node, informally referred to as an i-node, is a data structure used to represent a filesystem object, which can be one of various things including a file or a directory. Each i-node stores the attributes and disk block location(s) of the filesystem object’s data. Filesystem object attributes may include manipulation metadata (e.g. creation, access, modify time), as well as owner and permission data (e.g. group-id, user-id, permissions). More on Wikipedia.org

Enable search in Select2 in Bootstrap 3 Modal

I have spent an hour trying to figure out, why a search field is not writable in Select2 while using Bootstrap 3 Modal. After that our, I came across this solution which is working.

$.fn.modal.Constructor.prototype.enforceFocus =function(){};
 <script type="text/javascript" src="//code.jquery.com/jquery-1.9.1.js"></script>
 <script type="text/javascript" src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
 <script type="text/javascript" src="/js/bootstrap.min.js"></script>

 <script type="text/javascript" src="/js/select2/select2.js"></script><script type="text/javascript">
 $.fn.modal.Constructor.prototype.enforceFocus = function () {};

How to reset password in Mozilla Thunderbird

Thunderbird is a free email application that’s easy to set up and customize – and it’s loaded with great features! I use it everyday to manage my emails.

How to reset password in Mozilla Thunderbird

To reset the password in Mozilla Thunderbird, you must follow these 4 easy steps

Step 1. Start Mozilla Thunderbird and see the popup window

The popup window will tell you that there is an issue with your password. Simply press Enter New Password in order to set up / change it.


Step 2. Enter New Password

Enter new password or better, copy and paste it. It will avoid any kind of issue while typing.


Step 3. Tick Use Password Manager to remember this password.

Thunderbird will save the password in its own password manager so you will not need to enter it each time again and again.


Step 4. Press OK

If you do not see any new window, your password has been changed and Thunderbird will work as usual.


CakePHP: Generate absolute links with Html::link() function

Friend of mine asked me today morning, how to set up Html::link() function to generate absolute links instead of relative ones. That’s quite easy:

// <a href="http://www.pavlatka.cz/users/register">My link text</a>
    'My link text',
    array('controller' => 'users', 'action' => 'register', 'admin' => false));

// <a href="http://example.com/users/register">My link text</a>
    'My link text',
    array('controller' => 'users', 'action' => 'register', 'admin' => false, 'full_base' => true));

I do not know why, but parameter 'full_base' => true must be part of an array for url.

You can also overwrite base_url param by setting Configure::write('App.fullBaseUrl', 'http://www.domain.com').

// AppController.php beforeFilter()
public function beforeFilter() {

    Configure::write('App.fullBaseUrl', 'http://www.domain.com')

// <a href="http://www.domain.com/users/register">My link text</a>
    'My link text',
    array('controller' => 'users', 'action' => 'register', 'admin' => false, 'full_base' => true));

I started to use Mozilla Thunderbird again

It’s been many years ago when I decided to use only web interfaces for all of my e-mails. But as you might know, there’re days when you want to try something new and you get borded with the “system” you are using.

This day came to me on last saturday. I went to http://www.mozilla.org/en-US/thunderbird/ and I downloaded and installed it. I’ve been using it for couple of days and I’ve found very nice addon for it – Quicktext – which I really recommend to anyone, who is sending similar emails every day.

Let’s see how long I will be using Mozilla Thunderbird – so I’m quite happy so far.

Sublime Text 3 – My Settings

I’ve been using Sublime Text Editor for many months. I’ve decided to use also a beta version of this wonderful and powerful editor. You guys you’ve done a great job.

	"color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",
	"dictionary": "Packages/Language - English/en_US.dic",
	"font_size": 12.0,
	"soda_folder_icons": true,
	"spell_check": true,
	"tab_size": 4,
	"theme": "Soda Light.sublime-theme",
	"translate_tabs_to_spaces": true


© 2014 Tomas Pavlatka

Theme by Anders NorenUp ↑