Discover gists
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
| mv -vf ~/Library/Application\ Support/.ffuserdata ~/Library/Containers/com.apple.FinalCutTrial/Data/Library/Application\ Support/.ffuserdata ~/.Trash |
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
| function trigger(el, eventType) { | |
| if (typeof eventType === 'string' && typeof el[eventType] === 'function') { | |
| el[eventType](); | |
| } else { | |
| const event = | |
| eventType === 'string' | |
| ? new Event(eventType, {bubbles: true}) | |
| : eventType; | |
| el.dispatchEvent(event); | |
| } |
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
| (() => { | |
| "use strict"; | |
| /* | |
| * Mixamo bulk animation downloader | |
| * | |
| * Supports: | |
| * - Individual animations | |
| * - Animation packs | |
| * - 96 results per page |
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
| // Anonymous "self-invoking" function | |
| alert("Thank you for using this script created by Louis Hong (/u/loolo78)\n\nThe download will now begin."); | |
| (function() { | |
| // Load the script | |
| var script = document.createElement("SCRIPT"); | |
| script.src = 'https://code.jquery.com/jquery-latest.min.js'; | |
| script.type = 'text/javascript'; | |
| document.getElementsByTagName("head")[0].appendChild(script); |
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 | |
| """Decrypt an RXP account-locked import .txt into the RXPDecryptedGuides addon. | |
| Usage: | |
| python decrypt_guide.py <import.txt> --zip | |
| python decrypt_guide.py <import.txt> <wow_install | out_dir> [--zip] | |
| The key is derived from your BattleTag, taken from the text after the last "!" in the | |
| import filename. Translated imports are named ...!_deDE_YourBattleTag#1234.txt. Give a glob | |
| that matches them all and each language gets its own lua file, loaded only on a client of |
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
| globals: | |
| - id: total_pulses | |
| type: int | |
| restore_value: true | |
| initial_value: '0' # startet mit 0 | |
| - id: imp_ratio | |
| type: float | |
| restore_value: false | |
| initial_value: '0.01' # vom Gaszaehler | |
| - id: Zustandszahl |
from __future__ import annotations
from typing import List, Optional, Union
from math import nan
import jsonNewerOlder
