Some thought provoking one-liners

Ran across a few good philosophical one liners that run deep

You can tell the size of the man, by the size of things that bother him

 

Go with the decision that will make a good story

 

Find your passion and figure out how to get paid for it

 

Bad things happen, its your job to overcome

 

If you are the smartest person in the room, you are in the wrong room

 

Luck favours the prepared

 

No one is on their death bead wishing they spent more time working. Spend time wisely

 

 

Advertisements

Apache error logs on OSX Mavericks

So, if you are wondering why one of your php based application silently dies; its best to look at the apache error logs on OSX.

On Mavericks the last few lines of the error log can be viewed by using this command

tail -f /private/var/log/apache2/error_log

“tail” means that it will display the logs trailing at the end of the error log.

Press control + c to exit

Hope this helps someone.