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
(function loop() { | |
var delay = 500 + Math.floor(Math.random() * 500); | |
setTimeout(() => { | |
var el; | |
if (el = document.querySelector('ttr-game-question.current-game-question')) { | |
var sum = el.innerText; | |
var [x,op,y] = sum.split(' '); | |
var answer = (op=='×') ? (x*y) : (x/y); | |
answer.toString().split('').forEach(x => | |
dispatchEvent(new KeyboardEvent("keydown", { |
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
"""An attempt to produce similar output to "openssl ciphers -v", but for | |
python's built-in ssl. | |
To answer http://stackoverflow.com/q/28332448/445073 | |
""" | |
from __future__ import print_function | |
import argparse | |
import logging | |
import multiprocessing |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
require "./fabric_provisioner.rb" | |
Vagrant::Config.run do |config| | |
# snip | |
config.vm.provision Vagrant::Provisioners::Fabric do |fab| |