MAMP MySQL server doesn't start

If your mysql server won't start in MAMP you should run

sudo killall -9 mysqld

and this will probably make it run again.

Creating custom facet block for Search Api Location module

Facets work fine and by design they narrow down the search results with each facet option you click. But what happens when you want to make them work differently. Some of that can be achived with changing opearator to OR in facet settings. But in this case with search api location module this doesn't work, not sure is it a bug or by design but I solved that with creating my own facet block.

Solr Search Api, search Title as fulltext and sort as string

Currently if you use SOLR for search and deploy it with search API module you can index Title field as fulltext so you can make better use of it and find parts of it when searching. But then you can't sort by title in search api sorts module, what to do? Well use

Check if user is part of OG group

if (og_is_member('node', $current_group->nid , 'user', $account)) {

Seems that lates og_is_member needs 4 parametars when checking if user is part of the group, not 3 like it is written in most posts online, so you can get it like above.

Views doubt: make a template or style in interface

Views has many options. You can change styling and structure of rows of data in interface of with templates. When I first started using views I choose templates, partly also because of not so much power in UI, but now you can do almost anything with UI. But after using UI, I would still recommend templates.