I hereby claim:
- I am joedf on github.
- I am joedf (https://keybase.io/joedf) on keybase.
- I have a public key whose fingerprint is 2A59 37EE B92E 3F0C D736 0445 DA71 F180 C393 5E9D
To claim this, I am signing this object:
| /* pretty-print / beautify XML strings | |
| * Released under the MIT License (MIT) | |
| * Copyright (c) 2021 Joe DF | |
| * | |
| * Modified from (Martin Kurtsson): | |
| * https://gist.github.com/kurtsson/3f1c8efc0ccd549c9e31 | |
| * | |
| * which is based on (Stuart Powers): | |
| * https://gist.github.com/sente/1083506 | |
| */ |
| import os | |
| import subprocess | |
| import datetime | |
| def file2str(path): | |
| with open(path, 'r') as file: | |
| return file.read().strip() | |
| def update_badge_html(): | |
| command = 'python3 /home/path/to/github-badge-2/src/generate_badge.py' |
| /* r41nb0w b4rf */ | |
| .rainbow { | |
| background: linear-gradient(30deg, red, purple, blue, lime, hotpink, cyan); | |
| padding: 2px; | |
| } | |
| .rainbow { | |
| animation: hue-rotate-fast 2s linear infinite; | |
| box-shadow: 0 0 50px 5px cyan; | |
| } | |
| @keyframes hue-rotate-fast { |
| def specialTitleCase(words): | |
| # written by joedf (Feb. 2020), loosely inspired from https://github.com/gouch/to-title-case | |
| # 1. assumes a list of short words to change to lower case | |
| # 2. assumes short words are preceded by ' ' (or brackets), so that any "starting" ones are still capitalized. | |
| # handle words within brackets | |
| sWords = re.sub(r'[\(\[]',(lambda x:x.group(0)+' '),words) | |
| # Avoid issue of title() capitalizing "2-part" tokens joined by a hyphen on an apostrophe. | |
| # Also allows for "intentional" captilizations |
| #NoEnv | |
| #Warn All | |
| #Warn LocalSameAsGlobal, Off | |
| #Persistent | |
| /* | |
| Speech Recognition | |
| ================== | |
| A class providing access to Microsoft's SAPI. Requires the SAPI SDK. |
| // videocapture.js - MIT License | |
| // credits: joedf (2018/04/10) | |
| // Revision 8 - 2018/04/12 | |
| // modified from: https://codepen.io/renanpupin/pen/PqjyeK (Renan Pupin) | |
| /** | |
| * Captures a image frame from the provided video element. | |
| * | |
| * @param {Video} video HTML5 video element from where the image frame will be captured. | |
| * @param {Number} scaleFactor Factor to scale the canvas element that will be return. This is an optional parameter. |
| AutoHotkey Community Rules | |
| Version v1.10, January 14th, 2023 | |
| General Policy and Clauses | |
| ---------------------------------------------- | |
| A. FORUM TOS: https://autohotkey.com/boards/viewtopic.php?f=2&t=29155 | |
| B. NOTE: "This list is non-exhaustive - the Moderating team reserves the right to close any thread that they feel is contrary to the ethos of the forum." | |
| C. The Moderation team will do their best to act in a fair and reasonable manner. Sanctions will only be applied as a last resort and any action taken will be explained in the relevant thread. | |
| D. If moderation action is taken, you will need to acknowledge this through a dialog or you will be unable to post further in the forum. Please note that this dialog is not an agreement that the warning was justified - it is only there so that members are aware that moderation action has been taken and that they may have certain restrictions applied to their account. | |
| E. If you feel that you have been unfairly moderated then contact the Moderator concerned or |
| AutoHotkey Community Rules | |
| Version [INSERT VERSION], [INSERT DATE] | |
| General Policy and Clauses | |
| ---------------------------------------------- | |
| A. FORUM TOS: https://autohotkey.com/boards/viewtopic.php?f=2&t=29155 | |
| B. NOTE: "This list is non-exhaustive - the Moderating team reserves the right to close any thread that they feel is contrary to the ethos of the forum." | |
| C. The Moderation team will do their best to act in a fair and reasonable manner. Sanctions will only be applied as a last resort and any action taken will be explained in the relevant thread. | |
| D. If moderation action is taken, you will need to acknowledge this through a dialog or you will be unable to post further in the forum. Please note that this dialog is not an agreement that the warning was justified - it is only there so that members are aware that moderation action has been taken and that they may have certain restrictions applied to their account. | |
| E. If you feel that you have been unfairly moderated then contact the Moderator concerned or an |
| AutoHotkey Community Rules | |
| Version [INSERT VERSION], [INSERT DATE] | |
| General Policy and Clauses | |
| ---------------------------------------------- | |
| A. FORUM TOS: https://autohotkey.com/boards/viewtopic.php?f=2&t=29155 | |
| NOTE: "This list is non-exhaustive - the Moderating team reserves the right to close any thread that they feel is contrary to the ethos of the forum." | |
| B. The Moderation team will do their best to act in a fair and reasonable manner. Sanctions will only be applied as a last resort and any action taken will be explained in the relevant thread. | |
| C. If moderation action is taken, you will need to acknowledge this through a dialog or you will be unable to post further in the forum. Please note that this dialog is not an agreement that the warning was justified - it is only there so that members are aware that moderation action has been taken and that they may have certain restrictions applied to their account. | |
| D. If you feel that you have been unfairly moderated then contact the Moderator concerned or an ad |
I hereby claim:
To claim this, I am signing this object: