This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
n = 100 | |
sets = [set([person_id]) for person_id in range(0, n)] | |
person_id_indicated_by_light = None | |
for day in range(0, 1000000): | |
set = sets[random.randint(0, n-1)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collections | |
import datrie | |
import itertools | |
import math | |
import random | |
import string | |
Spot = collections.namedtuple('Spot', ['x', 'y']) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bacon = require 'Bacon' | |
_ = require 'underscore' | |
$ = require 'jquery' | |
# Reference: http://unixpapa.com/js/key.html | |
# IE = IE keycodes (webkit, IE) | |
# MZ = Mozilla keycodes (gecko) | |
# Opera = Opera keycodes (opera) | |
# US locale specific. About as well as can be done without browser detection. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelector(".puzzle-solution").innerHTML.trim() === "YOURSOLNTOCHECK" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just say something like this: | |
"Hi I'm <name> and I'm one of McCain's constituents in <city>. | |
My zip code is <zipcode>. | |
I urge McCain to vote against Sessions as Attorney General. | |
Thank you for your time." | |
Here's the number for McCain: 602-952-2410 | |
Here's the number for Flake: 602-840-1891 |