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
| stages: | |
| - test | |
| - retry | |
| test: | |
| stage: test | |
| script: | |
| - ... | |
| after_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
| // ==UserScript== | |
| // @name Jira history diff | |
| // @version 2025-11-12 | |
| // @description Highliht diff in Jira issue history. | |
| // @author vctls | |
| // @match https://*.atlassian.net/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=atlassian.net | |
| // @grant none | |
| // @require https://cdn.jsdelivr.net/gh/google/diff-match-patch@62f2e689f498f9c92dbc588c58750addec9b1654/javascript/diff_match_patch_uncompressed.js | |
| // @license MIT |
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
| /* ==UserStyle== | |
| @name Slightly more readable Gitlab CI job log | |
| @namespace github.com/openstyles/stylus | |
| @version 0.3 | |
| @description Enforces light color scheme preference, and reduces spacing between log lines. | |
| @author vctls | |
| @homepageURL https://gist.github.com/vctls/fee75998f5c4671be0e531b0731d7c73/edit | |
| @downloadURL https://gist.github.com/vctls/fee75998f5c4671be0e531b0731d7c73/raw | |
| @updateURL https://gist.github.com/vctls/fee75998f5c4671be0e531b0731d7c73/raw | |
| ==/UserStyle== */ |
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 OpenProject Standard Edit | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.9 | |
| // @downloadURL https://gist.github.com/vctls/ee8c77a1ec712984e85b247cbf9f6459/raw | |
| // @updateURL https://gist.github.com/vctls/ee8c77a1ec712984e85b247cbf9f6459/raw | |
| // @description Replace inline editing on click in OpenProject by a standard edit button. | |
| // @author vctls | |
| // @match https://*.openproject.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=openproject.com |
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
| <TaskOptions> | |
| <TaskOptions> | |
| <option name="arguments" value="options $/FileRelativePath$" /> | |
| <option name="checkSyntaxErrors" value="true" /> | |
| <option name="description" /> | |
| <option name="exitCodeBehavior" value="ALWAYS" /> | |
| <option name="fileExtension" value="php" /> | |
| <option name="immediateSync" value="false" /> | |
| <option name="name" value="My WSL file watcher" /> | |
| <option name="output" value="$/FileRelativePath$" /> |
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
| # Switch Windows light/dark theme | |
| $regkey = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" | |
| $appProp = "AppsUseLightTheme" | |
| $sysProp = "SystemUsesLightTheme" | |
| $currVal = Get-ItemProperty -Path $regKey -Name $appProp | Select-Object -exp $appProp | |
| $newVal = !$currVal + 0; | |
| Set-ItemProperty -Path $regKey -Name $appProp -Value $newVal -Type Dword -Force; | |
| Set-ItemProperty -Path $regKey -Name $sysProp -Value $newVal -Type Dword -Force; |
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
| <?php | |
| $phpString = '$values = ["test"];'; | |
| $code = <<<PHP | |
| <?php | |
| \$values = []; | |
| \$string = <<<'STRING' | |
| $phpString | |
| STRING; | |
| eval(\$string); | |
| echo serialize([\$values]); |
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 URL Scam Detection | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Warns if the text of a clicked link looks like a domain that does not match the href attribute. | |
| // @author vctls | |
| // @match * | |
| // @grant none | |
| // ==/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
| // ==UserScript== | |
| // @name Element Voice Messages | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Adds a button to record voice messages. Click the button to start recording, click again to stop. | |
| // @author vctls | |
| // @match https://app.element.io/ | |
| // @grant none | |
| // ==/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
| <body> | |
| <html lang="en"> | |
| <style type="text/css"> | |
| .container { | |
| height: 300px; | |
| background: darkgrey; | |
| resize: both; | |
| overflow: auto; | |
| display: flex; | |
| flex-wrap: wrap-reverse; /* Wraps from bottom right to top left. */ |
NewerOlder