<?xml version="1.0"?>
<note date="12/11/99">
<to>Tove</to>
Jani
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
| ; Author: mark05e, Gemini/Bard (Large Language Model by Google) | |
| ; Description: Performs keyboard shortcuts to comment and uncomment nodes within XML Notepad. | |
| ; - Ctrl + / or Ctrl + K: Simulates menu key press followed by "h" and "o" keys (for commenting) | |
| ; - Ctrl + Shift + / or Ctrl + Shift + K: Simulates menu key press followed by "h" and "e" keys (for uncommenting) | |
| ; References: | |
| ; - https://www.reddit.com/r/AutoHotkey/comments/xrfk3c/mouse_right_click_and_select_an_action_from/ | |
| ; - https://github.com/microsoft/XmlNotepad/issues/396 | |
| ; - https://www.autohotkey.com/boards/viewtopic.php?t=38761 | |
| ; Hotkeys: | |
| ; - Ctrl + / |
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
| # https://stackoverflow.com/questions/43690336/powershell-to-read-single-value-from-simple-ini-file | |
| function Get-IniFile | |
| { | |
| param( | |
| # Required parameter specifying the path to the INI file. | |
| [parameter(Mandatory = $true)] [string] $filePath | |
| ) | |
| $anonymous = "NoSection" | |
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
| // Sheet 1 - Description,Category | |
| // Sheet 2 - CC Transactions. | |
| // Run main() with Sheet 2 active. | |
| function insertTitle(sheet, destinationColumnName, title) { | |
| console.log(destinationColumnName) | |
| var titleCell = sheet.getRange(destinationColumnName + "1"); | |
| titleCell.setValue(title); | |
| } |
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
| // Based on https://www.geeksforgeeks.org/program-to-convert-a-given-number-to-words-set-2/ | |
| var ones = { | |
| 0: "", // Not used, to make array indexing simple | |
| 1: "one ", | |
| 2: "two ", | |
| 3: "three ", | |
| 4: "four ", | |
| 5: "five ", | |
| 6: "six ", |
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 ConvertTextFilesToCSV { | |
| param ( | |
| [string]$outputDirectory = ".", | |
| [string]$customFileExtension = ".wav" | |
| ) | |
| # Get the current directory name | |
| $currentDirectory = (Get-Item -Path $outputDirectory).Name | |
| # Define the CSV file name |
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
| ;aiu; | |
| [FL2000-2.1.34054.0] | |
| Name = Fresco Logic USB Display Driver 2.1.34054.0 | |
| ProductVersion = 2.1.34054.0 | |
| URL = http://updates.frescologic.com/FL2000/FL2000-2.1.34054.0.exe | |
| Size = 8058744 | |
| ReleaseDate = 23/11/2017 | |
| MD5 = 18b0139ca76e7447bc64f9a812f4a9f2 | |
| CommandLine = /qn |
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 urlExtractPathAndQuery(urlObject) { | |
| try { | |
| // Process the path | |
| let pathString = ''; | |
| if (urlObject.path && urlObject.path.length > 0) { | |
| // Use JSON.parse and JSON.stringify to ensure proper stringification | |
| const parsedPath = JSON.parse(JSON.stringify(urlObject.path)); | |
| pathString = '/' + parsedPath.join('/'); | |
| } |
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
| const html = ` | |
| <div class="ui floating dropdown labeled icon button"> | |
| <i class="cloud upload icon"></i> | |
| <span class="text">API Action</span> | |
| <div class="menu"> | |
| <div class="ui icon search input"> | |
| <i class="search icon"></i> | |
| <input type="text" placeholder="Search menu..."> | |
| </div> | |
| <div class="scrolling menu"> |