Git Stats
Some command line fu to check some basic git repo stats. Links to more info.
COUNT LINES OF CODE IN REPO BY USER:
git ls-tree -r -z --name-only HEAD -- | xargs -0 -n1 git blame --line-porcelain HEAD |grep "^author "|sort|uniq -c|sort -nr
http://stackoverflow.com/questions/4589731/git-blame-statistics
Getting Colour Figured Out
I suck at color. Here's some help.
http://www.checkman.io/please/
Might be nice to build Please.js into a drupal theme or something.
Sane Drupal Perms
Stop treating roles as people. Treat them as responsibilities. Lots of people can be 'Content Editors', some can be 'Content Publishers', others 'Views Editors'. This idea is simple but powerful. Rather that trying to define a person's job in a role, create many small, single-purpose roles and then compose them together by giving many roles to your users to achieve your goals.
http://atendesigngroup.com/blog/drupal-permissions-done-right
BEM - Component Focused Dev + Owls!
Just a some bookmarks to a couple things that complement each other for front end dev.
http://www.joelambert.co.uk/articles/bem-guidelines
Great article about BEM guidelines for component focused development. The section about margins and the template layout reminded me of this:
http://alistapart.com/article/axiomatic-css-and-lobotomized-owls
Hit Record
Today's Best Thing is probably my favorite thing of the year so far.
Joseph Gordon Levitt appeared on Netflix one day, with something called "HitRECord on TV". The first 3 thoughts through my head were:
- Hey it's the kid from 3rd Rock! (and other cool, stuff, I love that guy he's super talented, what's this show about?)
- ... "on TV", TV sucks, that's why I watch Netflix
- But it's JGL sooo, this should be good right?
It warranted a read of the description.
Hmm... "crowdsourced", cool, how modern!