FireFox Resizes When Switching Monitors

My normal setup is to plug my Macbook into two external monitors, and leave the clamshell itself closed. and then when I travel I disconnect it and just use the built-in monitor. Lately I’ve been running into a problem when I open up Firefox on the Macbook, after disconnecting from the external monitors. Everything is […]

Continue reading...

Security Reward for new Google Authenticator Plugin

I just released a new plugin into the WordPress.org repository, and am fairly confident that it’s secure, but since it modifies some of the default login behavior, I’d love to get some extra eyeballs on the code. To that end, I’m offering a $150 Amazon.com gift certificate* to anyone who can find a significant vulnerability. By “significant”, […]

Continue reading...

Grepping for Terms on Separate Lines but Near Each Other

I wanted a way to search through the ~200 themes we have on WordPress.com to find out which ones registered sidebar areas for the home page, and this is what I came up with: find . -print0 |xargs -0 grep 'register_sidebar' -s -A 2 |grep 'home\|front' |more That’d have to be customized to fit other […]

Continue reading...