How to install a Chrome extension from GitHub

I recently had a web page with a long list of Twitter names that were not linked, like @mattcutts. I thought that someone has to have made a Chrome extension that would “linkify” names so they would be clickable like @mattcutts. And with a little bit of searching, I found twlinkfy.

It looked like a great extension, but Chrome (at least in Windows) can only install Chrome extensions from the Chrome Web Store in order to protect against malware.

So how would you go from source code on GitHub to an installed Chrome extension? Here’s how I did it: download the extension as a .zip by looking for the “Download ZIP” button on the right-hand side of the project page on GitHub. Now extract/unzip the code somewhere. Then in Chrome go to Menu (the three lines)->More tools->Extensions. Click the “Developer mode” checkbox and then click the button labeled “Load unpacked extension…”.

Now navigate in the resulting file dialog box until you are in the directory with a manifest.json file. For me, it was in the twlinkfy-master/ext directory. And that’s it! The extension loaded, and when I loaded the page with a long list of @names as text, they turned into clickable links.

You can even modify the local source code and reinstall or reload the extension. For example, I changed line 10 of twlinkfy.js to point to a different destination page on Twitter for links. I uninstalled and re-installed the extension and then the links went to a different page on Twitter.

As always, be careful of extensions/code that you install in case someone is attempting something malicious.

The Seinfeld Calendar Trick

One trick that I’ve discovered pretty recently for my 30 day challenges is based on advice from Jerry Seinfeld.

The idea is that you get yourself a cheap calendar and a red pen. Every day you complete your daily challenge, you can cross that day off with a satisfying swipe of the red pen. Once you get a chain going, you’ll work even harder to avoid breaking your streak.

Here’s what my calendar looks like so far for my “write something everyday” challenge this month:

Showing a streak in the calendar

The ritual of crossing off a day–and the visual indication of success or failure–is a pretty good way to stay motivated and keep tackling your challenge. Little things can make a difference, like a routine or ritual about completing your daily challenge.

I also like that my red pen is held up with red thumbtacks. Sometimes it’s the small things that make you happy.

I’m matching funds for cancer research!

I’ll keep it short: this week when you donate for cancer research, I’ll match your donation (up to a limit of $5000 total for all donations). We’ve already raised almost $8,000 dollars to help stop cancer, but I’d love to get to $10,000 or even higher.

If anyone has ever wanted to take money out of my pocket, now’s your chance! Donate for a great cause and I’ll match you dollar for dollar. :)

Thanks in advance if you can donate to the Dana-Farber Cancer Institute this week. And if you do donate, remember that many employers will match charitable donations! I’m incredibly grateful to everyone who has donated, and I’ll be thinking of you on my multiple-hours run in Boston this spring.

Donate to cancer research!

Getting things done with Google Tasks

Someone recently asked me how I manage my to-do list, so I thought I’d write up the software that I use. Fundamentally I use Google Tasks as the backend, but with extensions and apps that improve on the basic functionality in Google Tasks.

Chrome

I use a couple different extensions for Chrome:
Better Google Tasks is a great Chrome extension. Just click a button in Chrome and you have instant access to all your todo items. I like the extension so much that I donated some money to the author, Chris Wiegman. You can get the Better Google Tasks extension from the Chrome Store.

– I also noticed that on the New Tab page of Chrome, seeing thumbnails of my most visited sites (Techmeme, Hacker News, Nuzzel, Google News, etc.) every time I opened a new tab inevitably led me to click over to those sites. The result? I was wasting more time surfing than I wanted. The solution is a great Chrome extension called New Tab to Tasks. It changes Chrome’s new tab page to be your todo list. That way, I get a nice little signal every time I open a tab: “Hey, remember that you’re supposed to be working on stuff, not goofing off.” Thanks to Scott Graham for writing this Chrome extension.

Oh, and one last Chrome recommendation: if you don’t want *any* distractions on Chrome’s new tab page, consider installing Empty New Tab Page, which makes the Chrome new tab page completely blank.

Android

For Android, I use an app called Tasks. It costs $0.99, but there’s also a free version that starts showing ads after 10 days. I like the Tasks app for Android because it syncs with Google Tasks, has nice widgets, you can easily move tasks up and down, and you can indent tasks underneath each other. I only keep a few todo lists (Home, Work, Grocery, etc.), and to switch between lists you just swipe left or right. Tasks works great for me, but if you have tons of different todo lists then swiping between those lists might get old.

I can already imagine someone asking “Okay, but what about Google Keep?” I’m not opposed to Google Keep, but at this point I’ve found various third-party solutions that interoperate with Google Tasks and work well for me on Chrome and Android. Plus I already have my data in Google Tasks, so for the time being I like these solutions for Google Tasks.

30 day challenge: better email handling

Some relatives were visiting this past week, so my inbox has a triple digit backlog. That’s after aggressive pruning of mailing lists and so on. Nearly all of those emails mention me in a “to:” or “cc:” line and request a response. Some observations:

– roughly 40% of those emails are from the outside world (that is, not from colleagues at Google).
– only 5% of my emails are from people who are actually on my team.
– 3% of my current emails are about internal legal matters.
– 1% are from public relations folks.
– about 10-12% of those emails are about a couple recent internal projects that aren’t related to webspam but that I’m helping with.

My 30 day goal this month is to get to a better place with email. Heck, I might make “better email habits” an ongoing 30 day challenge until things are in a better place. Could I get to a healthier place in three months? Four months? I have no idea how long it will take, but email represents my largest source of work stress. When I’ve tracked my time in the past, it takes me about three hours a day to keep from falling behind on email. If my whole day is full of meetings, then I’m spending several hours at night to keep my head above water. Does anybody else tackle email on their vacation so it’s not as bad when they get back? Some of you do, right?

At 40% of my overall load, it’s clear to me that I have to do something different for emails from the outside world. For years I tried to answer everyone who emailed me. I’m going to have to go “lossy” and just let some of those emails drop.

I need to think about whether it makes sense to write a blog post like Chris Sacca did (which
Rick Klau recently surfaced) that tries to address the common things that people email about. Then again, Rand Fishkin did something like that at http://moz.com/rand/making-email-more-scalable/ and he reported that he ended up with “a bunch of very angry people” when he pointed them to a blog post.

So I’m not sure whether it’s better not to reply, or to write up a canned response or maybe a blog post or a flowchart that I can point people to. If you have tips that have worked for you to make email more manageable, let me know in the comments below.

Added, 9/25/2013: This has been a tough challenge. One tactic that has worked well for me is to put email away from Friday evening until Sunday evening. Then (since I’m a workaholic), I ask myself “If someone else were trying to relax this weekend, what would I recommend for them to do?” and I try to do that. As a result, I’ve read more books this month, which has been nice.

The other tactic is to allow myself to go lossy, which means not answering every email. A lot of emails require 5-15 minutes at a minimum to respond, so email becomes a todo list in which anyone can keep adding to the list. Treating any non-trivial email as if it’s a request for 10-15 minutes of my time has helped me figure out which emails I should respond to vs. not replying.

css.php