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 thing | |
import pytest | |
import requests_mock as rm_module | |
@pytest.fixture | |
def requests_mock(request): | |
m = rm_module.Mocker() | |
m.start() |
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
// ==UserScript== | |
// @name Google Push to Talk | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description Hold down the spacebar to unmute the mic in Google Meet; tapping the spacebar toggles mute. | |
// @author Marc Reynolds (github.com/marcreynolds) | |
// @match https://meet.google.com/* | |
// @updateUrl https://gist.github.com/marcreynolds/6c629eaf8bfe87986ebe90ebea7daf85/raw/google-meet-spacebar.user.js | |
// @grant none | |
// ==/UserScript== |
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
// usernames are all lowercase, we compare with to lower | |
var USERNAME_WHITELIST = ['chrisinajar', 'ho0ber', 'fractaloop', 'n7-anthony', 'overra', 'tyrel', 'fervens']; | |
module.exports = { | |
findEnemy: findEnemy | |
}; | |
/* | |
var target = findEnemy(creep); | |
*/ |