January 25, 2017


Kevin McAleenan, Acting Commissioner, U.S. Customs and Border Protection

Dan Ragsdale, Acting Director, U.S. Immigration and Customs Enforcement

Lori Scialabba, Acting Director, U.S. Citizenship and Immigration Services

View stub.html
<!doctype html>
<meta charset="utf-8">
<link rel="stylesheet" href="presentation.css">
<script src="behavior.js"></script>
View WebExtensionCheck.js
// If we know the extension's ID and a path to one of its web-accessible resources, we can quietly check for presence.
(function (w, a) {
var checkExt = function (callback) {
var hazExt = false;
var img = new Image();
img.onload = function () {
hazExt = true;
// need to know the right protocol for Firefox and Edge extensions
View spinner.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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;