This file contains hidden or 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
class EBSynthKeyFrame: | |
useFirstFrame = False | |
useLastFrame = False | |
firstFrame = 0 | |
keyFrame = 0 | |
lastFrame = 0 | |
outputPath = "" | |
def __init__(self, inuseFirstFrame=False, inuseLastFrame=False, infirstFrame=0, inkeyFrame=0, inlastFrame=0, inoutputPath=""): | |
self.useFirstFrame = inuseFirstFrame |
This file contains hidden or 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
# This script solves the issue in this stackoverflow question: | |
# https://superuser.com/questions/1092246/how-to-prevent-windows-10-from-automatically-adding-keyboard-layouts-i-e-us-ke | |
# This method adds the en-US layout then removes it, ensuring that the layout is always removed from the taskbar | |
# I don't have a high enough reputation so I can't post this there, so here is the script: | |
# define the language to be removed | |
$LanguageToRemove = "en-US" | |
# get the current language list | |
$LangList = Get-WinUserLanguageList |
This file contains hidden or 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 Medium to Scribe | |
// @description Redirects Medium.com articles to scribe.rip | |
// @match *://*/* | |
// @exclude /^https?://(www\.)?medium\.com/((\?.*)|((m|about|creators|membership)/.*))$/ | |
// @run-at document-end | |
// @version 1.2.4 | |
// @updateURL https://gist.githubusercontent.com/samhenrigold/4a082dde823bc3cb62e43a2fc2b12b8e/raw/medium-to-scribe.js | |
// ==/UserScript== |
This file contains hidden or 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
#!/usr/bin/env python3 | |
from diff_match_patch import diff_match_patch | |
from watchdog.observers import Observer | |
from watchdog.events import FileSystemEventHandler | |
import sys | |
import time | |
from os.path import abspath, dirname |
This file contains hidden or 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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |