View webExCompat.txt
From the root directory of your Chrome extension:
grep -r " chrome\." . | sed s/.*chrome\./\"/g | sed s/\(.*/#Browser_compatibility/ | sed s/[.]/\\//g | sed s/./https:\\/\\/developer\.mozilla\.org\\/Add-ons\\/WebExtensions\\/API\\// | sort | uniq
Hopefully you'll get something like this:

How to recreate your long-lost Pinterest bookmarklet.

Right-click your bookmarks bar and choose Add Page (Chrome) or New Bookmarklet (Firefox).

In Name, put this:

Pin It

In URL, put this:


Implementing the Konami Code

The Konami Code is a cheat code that appears in many early Konami video games. During the title screen before the game demo begins, the player can press the following sequence of buttons on the game controller to enable the cheat:

↑ ↑ ↓ ↓ ← → ← → B A [Start]

The code has also found a place in popular culture as a reference to the third generation of video game consoles, and is present as an Easter egg on a number of Web sites.

Please implement the Konami Code in JavaScript.

View hashy.js
To make Hashy work, you'll need to install Botkit and follow instructions here:
Success looks like this:
@hashy sha1 foo
sha1 hash of `foo`:

Converting Clamcoin to Dogecoin

If you had a Dogecoin address containing at least one coin before May 10th 2014, a copy of the address was created and awarded with 4.6055 Clam.

With the recent drop in Bitcoin, those Clams were suddenly worth messing with.

I had four addresses with nonzero balances on that fine day; I've just converted them to Dogecoin, doubling my tiny stash!

Here's what worked for me:

View glint.html
<!doctype html>
<title>Glint 1.0</title>
body {
font-family: monospace;

Signing a Self-Hosted Auto-Updating Firefox Extension under the New Regime

I run a self-hosted auto-updating Firefox add-on being used by several million people. I am informed that I will need to "sign" it soon or it will quit working. (Deadlines are unclear; it seems like it may be as soon as June 30th.) I am looking for exact instructions as to how to make this happen.

I am not finding these instructions, so I am doing my best to puzzle things out.

Googling for things like "how to sign a firefox add-on" get me a lot of false leads. Mozilla should take down or at least modify these pages with current information:
View whatwhere.html
<!doctype html>
<title>What / Where</title>
<meta charset="UTF-8">
body {
font-family: Verdana;
text-align: center;

How to Quickly Turn Off the Flashlight on your Locked iPhone

IOS6 introduced the super-handy native flashlight. During the winter months I use this every night after work, when I go out back and see if the hens have laid any eggs.

With the migration of the iPhone's power button down from the top of the device and into a place where I accidentally hit it pretty much every fucking time I pick the fucking thing up, turning the flashlight off has become a serious pain in the ass. "Whoops, you powered the phone off. Press the Home button, slide to unlock, enter your password, swipe up from the bottom, and tap the flashlight-shaped thing." This is hard to do one-handed or while carrying an egg or two, so I wind up sticking the phone in my pocket with the light on.

Today I learned that since my camera is available from my iPhone lock screen, all I need to do is hit the power button again and swipe up from the camera icon in the bottom right corner. As soon as the camera app starts, the flashlight turns of

View plonkify.txt
113137765 TheRalphRetort
6160792 Nero
358545917 PlayDangerously
816532555 FartToContinue
2275538935 RogueStarGamez
83339474 _icze4r
2764897681 RealVivianJames
2353828890 woundedhussar