Skip to main content

Posts

Showing posts from October, 2014

mongodb

Installed mongo using brew. To have launchd start mongodb at login:     ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents Then to load mongodb now:     launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist Or, if you don't want/need launchctl, you can just run:     mongod --config /usr/local/etc/mongod.conf

A new challenge for me

Recently I finished the book from the authors James and Claudia Azula Altucher called The Power of No . Really recomended - for example in cases where you feel yourself stuck or poorly motivated. It's different from the most self-help books. Resonated with me quite a bit. Awesome and easy reading. How did I became aware of this book? I do listen different podcasts. About Altuchers I heard from Lewis Howes show  - episode #79 . Thanks Lewis! I liked the idea about reading 500 books to reinvent myself. In book they say 200 to 500 books equal one good mentor. I decided that I will do it - take the challenge. And this was mu first book in this trip. 499 to go. I will keep you posted. About what will I read? About topics I'm most interested about - software development, finance and psychology. I'm not sure I will be able to do this in 5 years, since it means 100 books per year, ~2 books in a week. Not sure. But I will do my best to achive my goal.

brew, "pear install ...", Log for example..

I had issues while installing Log package from Pear. I used brew to get PHP (5.5.17) running on my MBP. So, back to the installing issue - if I tried to execute following command I got an error .. $ pear install Log No releases available for package "pear.php.net/Log" intallation failed So, failed. Then I tried to download the package using "pear download Log". Failed too. Solution was to go to Log package Pear page  and manually download the package. And in terminal you should executed the same installation command and point to downloaded file.. $ pear install /path/to/downloaded/Log-1.12.8.tar .. output skipped .. install ok: channel://pear.php.net/Log-1.12.8 Done. Anyway, there are probably other (better, more modern) logging libraries out there for PHP applications. Feel free to post your favorite one with short description to comments. Thanks in advance!