Fix for Vimium that Stopped Working

I love the Vimium extension for Chrome. It basically provides VIM keybindings for Chrome. But some of the bindings randomly quit working a while back, probably after a Chrome update. A quick search didn’t yield a simple fix, so I just put up with it for an embarrassingly long time. Finally today I did a bit more digging. Some of the issues on github seemed to indicate local Chrome data might get messed up from updates.…

»

How to Install the Google Play Store on Your Amazon Fire Phone

Background The last few days Amazon has been having a “fire sale” selling their fire phone for 199USD unlocked and off contract, plus a year of Amazon prime (~99USD). Given the hardware this was a little to good for me to pass up. Arguably the biggest problem with the Fire Phone (and all Amazon’s devices) is that it doesn’t have access to Google’s Play Store, and the OS and bootloader are locked down tight which makes it somewhere between difficult and impossible to install ROMs at the moment.…

»

Chrome Extension PubSub

This tutorial builds the same Chrome extension popup as my Chrome Extension Content Script Stylesheet Isolation tutorial, but uses the chromeps pubsub module to make things easier. For more detailed information, I highly recommend looking through that tutorial. You can get all the code for this tutorial from https://github.com/anderspitman/chrome-extension-pubsub-example Background Info When writing chrome extensions with content scripts, you often find yourself doing a lot of message passing. If your content scripts include iframes, things get even more complicated because in order to communicate between the content scripts and their iframes, you have to ferry the messages back and forth using the background page.…

»

Chrome Extension Content Script Stylesheet Isolation

UPDATE 2014-08-30: For a way to handle message passing using the chromeps pubsub module, see this post. Background Info When writing Chrome extensions, if you want to inject HTML and CSS into pages the user is visiting, you use what’s called a content script. One reason you might want to do this would be to build a custom popup that activates on certain pages. One of the biggest problems people run in to is CSS corruption.…

»

Asterisk ARI Quickstart Tutorial in Python

The purpose of this post is to get Asterisk users up and running with the Asterisk 12 ARI with Python as quickly as possible. I’m assuming: You know what the ARI is You know at least the basics of using Asterisk You have Asterisk 12 installed You have Python with pip installed (preferably inside a virtualenv) I followed this other tutorial closely, particularly the implementation of the websocket stuff:…

»

Setting up an IPython Development Environment from Source

I recently decided to start hacking on the excellent IPython project. I wanted to have full control over the versions of all the software involved, which meant compiling Python from source. This guide is intended to take one through the entire process of setting up a custom Python build with virtualenv in the least number of steps possible, with the final goal of building a virtualenv specifically for IPython dev work.…

»