<% tp.user.cve_details(cve_id) %>
| function Get-ArgumentCompleter { | |
| <# | |
| .SYNOPSIS | |
| Get custom argument completers registered in the current session. | |
| .DESCRIPTION | |
| Get custom argument completers registered in the current session. | |
| By default Get-ArgumentCompleter lists all of the completers registered in the session. | |
| .EXAMPLE | |
| Get-ArgumentCompleter |
| // Tailwind colors for Flexoki theme by Steph Ango. https://stephango.com/flexoki | |
| const colors = { | |
| base: { | |
| black: '#100F0F', | |
| 950: '#1C1B1A', | |
| 900: '#282726', | |
| 850: '#343331', | |
| 800: '#403E3C', | |
| 700: '#575653', |
This section is the Usage Page for key codes to be used in implementing a USB keyboard. A Boot Keyboard (84-, 101- or 104-key) should at a minimum support all associated usage codes as indicated in the Boot column below.
The usage type of all key codes is Selectors (Sel), except for the modifier keys Keyboard Left Control (0x224) to Keyboard Right GUI (0x231) which are Dynamic Flags (DV).
Note: A general note on Usages and languages: Due to the variation of keyboards from language to language, it is not feasible to specify exact key mappings for every language. Where this list is not specific for a key
| javascript:(function() { | |
| function copyToClipboard(text) { | |
| if (window.clipboardData && window.clipboardData.setData) { | |
| /*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
| return clipboardData.setData("Text", text); | |
| } else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
| var textarea = document.createElement("textarea"); | |
| textarea.textContent = text; |
| <# -- | |
| Register the GitHub Package Registry | |
| -- #> | |
| $username = '<github-username>' | |
| $token = '<github-personal-token>' | |
| $sourceName = 'GitHub' | |
| $source = "https://nuget.pkg.github.com/$username/index.json" | |
| # add the github package registry as a nuget source |
| <# | |
| .SYNOPSIS | |
| Downloads, extracts, renames, and symlinks the latest Emacs Tree-sitter grammars for Windows. | |
| .DESCRIPTION | |
| This script performs the following actions: | |
| 1. Fetches the latest "Release" from https://github.com/emacs-tree-sitter/tree-sitter-langs/releases. | |
| 2. Identifies and downloads the `tree-sitter-grammars-windows-0.XX.YYY.tar.gz` file to the system's TEMP directory. | |
| 3. Creates a new directory (e.g., `tree-sitter-v0.XX.YYY`) in the current working directory. | |
| 4. Extracts the contents of the downloaded archive into this new directory. |
This document is an up-to-date guide on compile Emacs 31 on windows with MSYS2, and make a installation with native compile that can work without MSYS2.
The idea is after get a working Emacs, you may delete MSYS2 environment to free some disk space, and forget about rebuilding Emacs
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| // Create an output window for this macro | |
| if (global.phee7Bie === undefined) { | |
| // Store the output channel in the global variable for nodeJS | |
| // ※The variable name 'phee7Bie' just means a unique global variable of this macro in the node JS | |
| global.phee7Bie = { |