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 os | |
import time | |
from collections import OrderedDict | |
import wx | |
import synthDriverHandler | |
from synthDriverHandler import synthIndexReached, synthDoneSpeaking | |
from speech.commands import IndexCommand | |
import globalVars | |
class SynthDriver(synthDriverHandler.SynthDriver): |
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
/* | |
* spinCpu: Spin all threads of a CPU. | |
* This is useful for testing how things behave when the CPU is fully utilised. | |
* Copyright 2022 James Teh | |
* License: Mozilla Public License version 2.0 | |
*/ | |
#include <iostream> | |
#include <thread> | |
#include <vector> |
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
; Play/Pause Multi Function | |
; Copyright 2022 James Teh | |
; License: GNU General Public License | |
#SingleInstance Force | |
; Ensure we don't intercept our own sending of play/pause. | |
#If (!sendingPlayPause) | |
Media_Play_Pause:: | |
{ |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-purple; icon-glyph: magic; | |
// Author: James Teh <jamie@jantrid.net> | |
// Copyright 2021 James Teh | |
// License: GNU General Public License version 2.0 | |
const fm = FileManager.iCloud(); | |
const docs = fm.documentsDirectory(); |
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
; ZoomGlobalKeys.ahk: | |
; AutoHotkey script to control Zoom with global keyboard shortcuts | |
; Author: James Teh <jamie@jantrid.net> | |
; Copyright 2017-2019 James Teh | |
; License: GNU General Public License version 2.0 | |
#!m:: | |
{ | |
ControlSend, , !a, ahk_class ZPContentViewWndClass | |
Return |
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 GitHub Accessibility Fixes | |
// @namespace http://axSgrease.nvaccess.org/ | |
// @description Improves the accessibility of GitHub. | |
// @author James Teh <jteh@mozilla.com> | |
// @copyright 2019 Mozilla Corporation, Derek Riemer | |
// @license Mozilla Public License version 2.0 | |
// @version 2019.1 | |
// @include https://github.com/* | |
// ==/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
// ==UserScript== | |
// @name Apple Music Accessibility Fixes | |
// @namespace http://axSgrease.nvaccess.org/ | |
// @description Improves the accessibility of Apple Music. | |
// @author James Teh <jteh@mozilla.com> | |
// @copyright 2019 Mozilla Corporation, Derek Riemer | |
// @license Mozilla Public License version 2.0 | |
// @version 2019.1 | |
// @grant GM_log | |
// @include https://beta.music.apple.com/* |
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 Expensify Accessibility Fixes | |
// @namespace http://axSgrease.nvaccess.org/ | |
// @description Improves the accessibility of Expensify. | |
// @author James Teh <jteh@mozilla.com> | |
// @copyright 2019 Mozilla Corporation, Derek Riemer | |
// @license Mozilla Public License version 2.0 | |
// @version 2019.1 | |
// @grant GM_log | |
// @include https://www.expensify.com/* |
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 Greenhouse Accessibility Fixes | |
// @namespace http://axSgrease.nvaccess.org/ | |
// @description Improves the accessibility of Greenhouse. | |
// @author James Teh <jteh@mozilla.com> | |
// @copyright 2019 Mozilla Corporation | |
// @license Mozilla Public License version 2.0 | |
// @version 2019.1 | |
// @grant GM_log | |
// @include https://*.greenhouse.io/* |
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 Searchfox Accessibility Fixes | |
// @namespace http://axSgrease.nvaccess.org/ | |
// @description Improves the accessibility of Searchfox. | |
// @author James Teh <jteh@mozilla.com> | |
// @copyright 2018 Mozilla Corporation | |
// @license Mozilla Public License version 2.0 | |
// @version 2018.1 | |
// @grant GM_log | |
// @include https://searchfox.org/* |
NewerOlder