Only Today

Only today is The just for today application for ios

Posted in Uncategorized | 2 Comments

Who among us don’t know “Gotham”?, It is the city of Batman, of The Joker, right?

Who among us don’t know “Gotham”?, It is the city of Batman, of The Joker, right? … Wrong, “Gotham” is the new show by Fox network explaining the life before Batman in the dark city.


The show tackles the lives of numerous characters we know in the Batman franchise, such as; Detective Gordon, The Pinguin, The Riddler, Cat-Woman and many more …

With two episodes already aired, this show proves it has the story and fan base as stated on “The Sydney Morning Herald” website: Batman
TV series Gotham is the most illegally downloaded this season.
If you are a fan of Batman, or someone who just wants a good TV show to follow .. Then Gotham is the
show for you, watch the first two episodes and tell us what you think 🙂 .

Posted in Entertainment | Tagged , , , , , | Leave a comment

Start living a healthy life


How to start living a healthy life from the simplest things in your life?

Have you ever had a long tiring day at work ?

 Of course we have all had a tiring day anywhere that we started hating our lives or that we felt that today is not our day.

All what you need to do from now on to get a piece of paper or to make a note on your smartphone about all the things that makes you happy or all the things that cheers you up no matter how small are these things even if it’s a cup of coffee or a meal, now matter how small are these things.


Start reading it everyday before you sleep and make sure you have done at least one thing of this list everyday.

Whenever you feel sad disappointed or not okay, read your list and do anything that is mentioned on it. By this you can make yourself happy on daily basis, don’t feel that this won’t affect your life this has a great feeling and will positively affect your life on the long run. Now what are the best things that makes you happy ?

Posted in Fitness | Tagged , , , , | Leave a comment

October in the last 14 years

Top 10 events

2/10/2001 – NATO backs US military strikes, following 9/11.


4/10/2003 – Maxim restaurant suicide bombing in Haifa, Israel: 21 Israelis, Jews and Arabs, are killed, and 51 others wounded.


5/10/2001 – Barry Bonds hits his 71st home run, breaking Mark McGwire’s record of 70 for the most home runs hit in a single season (Bonds would end up with 73 in total)


6/10/2013 – 53 people are killed in political clashes in Egypt.

Members of the Muslim Brotherhood and supporters of ousted Egyptian President Mohamed Mursi react after riot police released tear gas during clashes in Cairo

7/10/2013 – James Rothman, Randy Schekman and  Thomas C. SĂĽdhof win the 2013 Nobel Prize in Physiology or Medicine for their work on transport systems in cells.


8/10/2013 – Peter Higgs and François Englert win the 2013 Nobel Prize in Physics for their work on the origin of the mass of subatomic particles.

Encuentro cientifico Higgs, Englert y Sergio Bertolucci 2

9/10/2001 – Second mailing of anthrax letters from Trenton, New Jersey in the 2001 anthrax attack.


10/10/2009 –  After having closed borders for about two hundred years, Armenia and Turkey sign protocols in Zurich, Switzerland to open their borders.


13/10/2008 – HM Treasury infused ÂŁ37 billion ($64 billion, 47 billion euros) of new capital-bailout into Royal Bank of Scotland Group Plc, Lloyds TSB and HBOS Plc, to avert a financial sector collapse.


17/10/2006 – The United States population reaches 300 million.


Posted in General | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

The Flash


If you are a fan of shows and superheroes like me, then you must tune-in in exactly 6 days for “The Flash” premiere on CW network, “Grant Gustin” – The actor playing The Flash- has never really done any big roles so far in his career though appearing in multiple episodes of “Glee” and “90210” but he has not taken the lead on a show with this magnitude before and this is considered to be his big break.

“Barry Allen” made his first appearance in the second season of also the superhero show “The Arrow”, which is a MUST see show in my opinion but that’s for another day and immediately the producers of “Arrow” decided to make “The Flash”.
We can’t criticize the show just yet since it hasn’t even begun, however, if it is half as good as “The Arrow” then we expect it to make its mark in no time.

Do you think it will be good as “The Arrow” ?

Posted in Entertainment | Tagged , , , , | Leave a comment

Happy national coffee day :)

Today is the national coffee day so I’m going to talk about coffee, as a coffee addict sure I see no negatives for drinking coffee.

For most of grownups coffee is the only thing that can help you wake up and it can also sometimes make the rest of your day pass peacefully, coffee boosts your mood and some of it’s ingredients makes you feel better and calmer.

When we talk about dieting people that drinks coffee and are not able to stop this habit, let’s look to the bright side coffee gives your body a lot of vitamins which your body needs everyday such as magnesium.

Coffee has many kinds you can drink espresso if you need some concentrated caffeine, you can also drink latte or cappuccino.

Whatever the kind of coffee you like enjoy your cup and never feel guilty for drinking your coffee only regret it when you don’t.

Happy national coffee day 🙂

What is your favorite way to drink your coffee ?

Posted in General | Tagged , , , | Leave a comment

PHP ldap successful connection checker

Today in work we was having this little issue is the credentials we have for connecting to LDAP is right ?
So i wrote this little php script to check the connection params is right or not

Add this script to a file ex: test.php and you can run with this command
php test.php


// using ldap bind
$ldaprdn = ‘XXXXXX’; // ldap rdn or dn
$ldappass = ‘XXXXXX’; // associated password

// connect to ldap server
//Params is server IP “or domain”, and port “Default ldap port over ssl is 636”
$ldapconn = ldap_connect(“”,”xxx”)

or die(“Could not connect to LDAP server.”);

if ($ldapconn) {

// binding to ldap server
$ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass);

// verify binding
if ($ldapbind) {
echo “LDAP bind successful…”;
} else {
echo “LDAP bind failed…”;



Feel free to use this little script

Posted in Uncategorized | Leave a comment