Xdebug, PHPStorm and MAMP Set up

I was trying to find a simple manual how to enable xdebug in PHPStorm on OSX and MAMP and I found this video. It’s not only about how to set it up, but it will also show you how to use it correctly.

It helped me to get everything set up and I believe it might help you as well.

Great job.

Prepare coins when traveling by tram in Berlin

We have decided to go to Ikea to make our very first furniture shopping in Berlin. We found the way online, dress kids and were ready to go.

When we came to the tram stop, we got quite confused but we met a lady speaking English who helped us out. I asked her where I should buy the tickets and she told me that I do not need to worry that I can buy them inside the tram.

That brought peace to my heart. How surprised I was when I came to the ticket machine and I found out, that it accepts only coins. So the next stop we got out and I went to find some shop to change my money to coins. That was not as easy as I looks as it was on Sunday and all the shops are closed. But I managed eventually and we could continue on our journey to ikea.

So if you need to buy ticket in a tram, break you pig and take coins with you.

Check your LastPass setting before moving to another country

I’ve been using LastPass for more than a year now and I am more than happy. I do not need to remember any other password just the main one.

Last week I moved from Cyprus to Germany and I faced the issue I never thought of. I couldn’t login to my to my LastPass account. And from the fact I wrote above that meant I couldn’t login anywhere. The reason was simple – in my security setting I allowed only access from Cyprus.I was quite desperate so I contacted my friend who still lives in Cyprus to help me out. But unfortunately he was busy and I needed it urgently. But few things were on my side.

I have an access to my email only mobile via wifi and the second email I attached to my account has a forwarder to my main email address.

So when I tried to login to my account, LastPass simply informed me that Germany is not among allowed countries but also sent me an email with a link where I can ask to add it there. The issue is that this email is sent to your secondary email address, but luckily I use it only as a forwarder to my mail account. So I got this mail to my mobile as well and I could allow access from Germany as well.

So my issue was solved and I can use my LastPass as usual.

But my advice is – check you LastPass security settings before you mov to another country. It will help you from unexpected surprises.

Roundcube Filters – From vs Envelope From

I have roundcrube on my hosting and I use it to read all my emails. This client offers feature to install my private filters (by using sieve) and I found out there’re 2 options for from

  1. From
  2. Envelope From

I was curios to find out, what is the difference between these two.

The reply from exo-host.com – the best hosting solution world-wide (IMHO)

  • FROM is a part of the message. FROM will show in your Outlook/Thunderbird
  • Envelope From is a part of the protocol. You cannot overwrite Envelope From. For instance. Envelope From is always the REAL account that sent an email


How much do you trust Jesus?

I remember watching this video once in our church and I finally found it again.

The question for all of us is the same: HOW MUCH DO WE TRUST HIM?

The Shortest Distance between a Problem and its Solution

The Shortest Distance between a Problem and its Solution is the Distance between your Knees and the Floor.

The One who Kneels to Pray to God can Stand Up to Any thing.

So pray before the God to overcome your all difficulties!!!

Check your email from mail.ptx.cz in browser

The article will show you how to check your email from mail.ptx.cz in your browser. The pictures were taken from Google Chrome browser and I know that it might look different in another browsers, but the procedure is always the same.

1. Go to https://mail.ptx.cz/webmail

First thing you have to do is to go to PTX WebMail

2. Click on Advance Link

This information comes due to the fact, that the connection is secured (over SSL), but we didn’t buy a  SSL certificate. In our case we told the server to trust to himself.

If you have confirmed this exception before, you might not see the step 2 and 3 from this manual at all.



3. Click on Proceed to mail.ptx.cz (unsafe)

Click on the link and the system will redirect you to the login screen. Do not be afraid of the word unsafe. Nothing bad is awaiting for you.



4. Provide your email and password

To login into your inbox, you have to know your email (insert it as username) and password. When you insert both of them, click on Login button and system will redirect you to your inbox.



It’s hard to believe, but that’s it. Nothing more is needed to be done.

Mother Teresa / Do it anyway

People are often unreasonable and self-centered. Forgive them anyway.

If you are kind, people may accuse you of ulterior motives. Be kind anyway.

If you are honest, people may cheat you. Be honest anyway.

If you find happiness, people may be jealous. Be happy anyway.

The good you do today may be forgotten tomorrow. Do good anyway.

Give the world the best you have and it may never be enough. Give your best anyway.

For you see, in the end, it is between you and God. It was never between you and them anyway.

Mother Teresa.

Solved: Contact Form 7 + SMTP with TLS (Office365)

I came across and issue with setting up correctly Contact Form 7 (wordpress plugin) to send emails via SMTP  transport. SMTP uses TLS encryption – basically it was for Office365. Another plugin I needed was WP-Mail-SMTP.

I set up everything in WP-Mail-SMTP settings correctly and I tried to send a test email from the page. And I got it. But when I went to Contact Form, press submit and …. an error occurred. I couldn’t find out why.

As I love to do, I went into the code of all the involved plugins and I found out that the issue was with my settings for the Contact Form.

When I set up the form, I set up that the from should be [name] [surname] <[email]>, so e.g. Hubert Frey <info@hubertfrey.com>. This caused all issue and I used 30 minutes of my time.

I was getting this SMTP error message:

<code>Client does not have permissions to send as this sender error</code>

The issue is that the exchange server didn’t allow me to send email from different email account than I used for SMTP as username.

I fixed the From field for my contact form and everything started to work as expected. Bravo to myself, one more time 😉

Recommend Video: Happiness 101 with Tal Ben-Shahar

I have come across this video yesterday. And even though it takes more than 1 hour, it’s a good video which I would recommend.

One part I remember from the video is that if you have your email opened while you have to focus on something, you are loosing 10 IQ. To compare it – if you do not sleep and work 36 hours, you loose 10 IQ or if you smoke marijuana, you loose 4 IQ.

There are more interesting facts mentioned throughout the video. If you have a time, I really recommend to watch this.

Btw, it’s better to listen to this that to check a Facebook timeline 😉

© 2015 Tomas Pavlatka

Theme by Anders NorenUp ↑