Структура нашего AngularJS проекта

Буду рад, если этот пост сэкономит кому-то пару-тройку часов.

После нескольких проб и ошибок мы пришли в итоге к довольно таки удобной структуре проекта, когда весь код разбит на полноценные независимые модули, которые в себе содержат контролеры, директивы, сервисы, вьюхи, а также тесты конкретного модуля.

Continue reading

Userscript console++

I’ve created userscript to extend browser console.

Basic options:

  • own console object with all methods to prevent errors in old browsers
  • using console without context (we can pass console.log as a callback, and no “Illegal invocation” error will be shown)
  • production param (debug information only for dev environment )
  • time and timeEnd methods (if they are not exist)
  • log alias for console.log

Download/install console++.

sources of inspiration:

How not to show private photos in google adverts

As far as you probably already know google has changed personal content using policies. So now by default you agree that your all information about your “likes” and reviews will appear with your personal picture.

But at least for current moment it’s possible to switch off it in your personal account settings.  Just remove mark from checkbox: