Learned something dumb today. I was having trouble getting the angular-scroll package to work at all. Then I remembered having similar problems months ago. Best to write this down to remember once and for all.
Add the –save flag
Most front-end packages on GitHub have installation procedures that look like this:
However, if you’re using a task manager like gulp or grunt to squash vendor scripts, you’ll probably also need to add the
--save flag in order to actually add the package to your bower.json config file.
bower install angular-scroll--save
Add the package to your angular module
Can’t also forget to add the package to the angular app module
I’m getting started handling the Google AdWord Campaigns over at ClearGraph. Here’s some of the more interesting tid-bits I wouldn’t have found without talking to the Google consultants.
Ad Extensions are awesome
The content under the ad description are ad extensions. You can place as many as you want without costing you any extra per click. It’s an interesting way to incentivize people to provide structured content compared to the rather tiny description character limit.
Retargeting search ads
You can increase your search ad bid for Google cookied people who previously visited your site. This helps you appear on top more often in normal keyword searches. As a by-product, it also improve ad quality score since they’re more likely to click your ad. Suggested increase was +40%.
Better conversion tracking using position based attribution
Sometimes people will click on more than 1 ad before signing up. By default, only the final ad gets a conversion point. Like a sport’s assists, the “position based” model splits the conversion point between all ads that contribute to the conversion.
CSS Media queries for high res screens are a pain to research. Too much noise/complaining/explanation, not enough actual code. So I thought I’d post my version for people to see in simplicity. (Note: it’s in sass) Tested on normal and retina screens: Chrome 41.0.2, Safari 8.05, Firefox 37.0.1, iOS 8.3
Eric Portis has written the best tutorial/explanation I’ve seen yet on implementing responsive images. I gave up on making responsive images when working on my portfolio because I couldn’t find consistent and understandable best practices. Now I may go back and try it again.
The key takeaway is that you declare the format of the image with srcset and then use the sizes attribute as the media query.
Just attended a meeting promoting Women in the workplace and I’m annoyed at some poor messaging – leading to some feeling that men are excluded or contributing to the problem. It’s super important to keep the messaging focused on inclusiveness of women/men. Let’s not marginalize men who’d otherwise agree to the ideals.
How can we affect change the world, when only half of it is invited or feels welcome to participate in the conversation? -Emma Watson
Hold sessions for skills needed by women but not “gender targeted”, all encouraged equally to participate
Highlight how gender inequality affects both men and women
Explain situations of gender stereotypes perpetuated by both men and women
“Women only” skill sessions
Highlight only gender problems that women face
Explain gender stereotypes perpetuated only by men