View konami.md

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:
https://github.com/howdyai/botkit
Success looks like this:
@hashy sha1 foo
sha1 hash of `foo`:
0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33
View ClamToDoge.md

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>
<html>
<head>
<title>Glint 1.0</title>
<style>
body {
font-family: monospace;
}
</style>
</head>
View abandon_all_hope.md

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:

https://developer.mozilla.org/en-US/docs/Signing_a_XPI
https://developer.mozilla.org/en-US/docs/Signing_an_extension
View whatwhere.html
<!doctype html>
<html>
<head>
<title>What / Where</title>
<meta charset="UTF-8">
<style>
body {
font-family: Verdana;
text-align: center;
}
View outen_the_light.md

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
View glint.html
<!doctype html>
<html>
<head>
<title>Glint 1.0</title>
<style>
body {
font-family: monospace;
}
</style>
</head>
View disableBackswipeNav.md

Tip: OSX: Chrome: disable annoying backswipe navigation

In Terminal, go like this:

defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false

From Sindre Sorhus, via Twitter