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
| [ | |
| { | |
| "name": "ardent", | |
| "description": "A cruiser destroyed while attempting to aid the stricken Rebel Nebulon-B Frigate Inamo." | |
| }, | |
| { | |
| "name": "independence", | |
| "description": "Cruiser in X-Wing computer game, served as the Calamarian flagship at around the time of the Battle of Yavin." | |
| }, | |
| { |
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
| for package in (cat package.json | jq -rc '.dependencies | to_entries | .[]') | |
| set _package (echo "$package" | jq -r '.key') | |
| set _version (echo "$package" | jq -r '.value') | |
| if test '^' = (string sub --length 1 $_version) | |
| set _installed_version (yarn info $_package --json | jq -rc '.children.Version') | |
| cat package.json | jq --arg pname "$_package" --arg nver "$_installed_version" '.dependencies."\($pname)" = $nver' > package.json.new | |
| mv -f package.json.new package.json | |
| end | |
| end |
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
| Regex: \/\*\*\s?\n\s+\*\s+@api\s+\{(\w+)\}\s+([a-zA-Z/:\-_]+)\s+([\w ]+)\n\s?\*\s?@apiName\s+([a-zA-Z]*)\n\s?\*\s+@apiGroup\s+([a-zA-Z]*) | |
| Replacement: | |
| /** | |
| * @openapi | |
| * $2: | |
| * $1: | |
| * operationId: $4 | |
| * description: $3 | |
| * tags: | |
| * - $5 |
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
| --- | |
| package_update: true | |
| runcmd: | |
| - | |
| - snap | |
| - remove | |
| - oracle-cloud-agent | |
| - | |
| - apt | |
| - purge |
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
| knu = require("knu") -- https://github.com/knu/hs-knu | |
| -- Switch between Karabiner-Elements profiles as Barrier enters a different host | |
| do | |
| -- Configure Barrier (https://github.com/debauchee/barrier) to output log to ~/Library/Logs/barrier.log | |
| local logFile = os.getenv("HOME") .. "/Library/Logs/barrier.log" | |
| local lineNo = 1 | |
| local host = nil | |
| local defaultProfile = "Vidur's Profile" | |
| local profileForHost = function (host) |
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
| echo test |
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
| /** | |
| * fontloader.js | |
| Helps you avoid FOIT and progressively load in multiple | |
| sets of webfonts as asynchronous non-blocking resources. | |
| Apply them on the page when the fonts are ready, like so: | |
| .title-type { font-family: serif; } | |
| .prose-type { font-family: sans-serif; } | |
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 inputLabelTrigger | |
| * Default Functionality: Adds an event handler for input labels that triggers the | |
| * input linked to the label with a 'click' event when the label has focus and receives | |
| * a keypress with 'return' or 'spacebar' keycodes. | |
| * If tabIndex is false, the tabIndex for labels will not be set to 0 to allow them to | |
| * receive keyboard focus. Labels can be manually made focusable by adding 'tabindex=0' | |
| * to them in HTML/DOM. | |
| * If keycode is false, the return and spacebar keycodes are used by default. If a valid | |
| * keyCode is passed, that will be used as the impetus to trigger the input. |