nginx connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied)

While upgrading php5-fpm to 5.4.28, my server lost connection with php and returned a 502 bad gateway response. If you open your /etc/php5/fpm/pool.d/www.conf file, you'll notice that fastcgi is listening to /var/run/php5-fpm.sock. You'll need to grant your webserver privileges…

Restart Syslog on Mac OS X

Restarting your rsyslog service on Ubuntu is easy. service rsyslog restart But how do you do that on a Mac without restarting your machine? Here's how: launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist This may look weird if you're…

Capistrano: repository does not exist

Capistrano users, if you've ever updated your project's Git repository and tried to deploy, you'll see an error message similar to: [IPADDRESS :: err] conq: repository does not exist. [IPADDRESS :: err] fatal: The remote end hung up unexpectedly This occurs because the cached copy points to the old repository. To fix…

Little Big Details - Chrome's Audio Icon

Like many, I have 10 to 20 tabs open at any given time. For years, when my browser autoplays audio content, I would frustratedly click through each tab to find the culprit. Frustration! I just noticed a few days ago that Chrome attaches a small audio icon to your tabs…

Death of Voicemail Instructions

When you call your loved ones, family, or friends, do you ever wonder why we still listen to the same pre-recorded voicemail instructions? It's 2014, we know how to leave messages! Solution Fortunately, we can skip the instructions by entering one simple keystroke. Unfortunately our carriers want to make us…

Bear 71

“There aren’t a lot of ways for a grizzly bear to die.” I just experienced one of the most engaging documentaries built with Flash. Sorry Jeff Hendricks, there are cases for it. http://bear71.nfb.ca/#/bear71 Bear 71 takes you on a 20-minute escape in the eyes of…