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
| import os, re, sys, subprocess, hashlib | |
| import argparse | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('--volume', type=str, required=True, help='Name of volume and target YAML path') | |
| parser.add_argument('--dir', type=str, required=True, help='Which path sould be serialized?') | |
| parser.add_argument('--mountPath', type=str, required=True, help='Where should the serialized data go?') | |
| parser.add_argument('--individual', action='store_true', help='Create one configmap per file, may bypasses configmap size limitations') | |
| args = parser.parse_args() |
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 | |
| import subprocess, sys, os, re, shutil, time, urllib.request, tempfile | |
| from select import select | |
| ''' | |
| Discord Launcher Launcher | |
| ...because Discord cannot be bothered to not manually force-update all the time. Fuck you. | |
| Yes, I'm pissed and lazy, so I'll just use os.system() calls directly. |
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
| Finished dev [unoptimized + debuginfo] target(s) in 2.27s | |
| Running `target/debug/test_rfm69` | |
| -> [175, 170] | |
| -> [47, 0] | |
| <- [25] | |
| <- [25] | |
| tx_buffer: [47, 0] | |
| rx_buffer: [25, 170] | |
| -> [47] | |
| tx_buffer: [0] |
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 python | |
| import os | |
| script = '''user_pref("extensions.pocket.enabled", false); | |
| user_pref("extensions.pocket.api", "0.0.0.0"); | |
| user_pref("extensions.pocket.loggedOutVariant", ""); | |
| user_pref("extensions.pocket.oAuthConsumerKey", ""); | |
| user_pref("extensions.pocket.onSaveRecs", false); | |
| user_pref("extensions.pocket.onSaveRecs.locales", ""); | |
| user_pref("extensions.pocket.showHome", false); |