<% tp.user.cve_details(cve_id) %>
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 = { |
| struct SomeStruct; | |
| impl SomeStruct { | |
| fn new(ctor: MixedInts) { | |
| match ctor { | |
| _ => println!("Match arms can construct the type in different ways"), | |
| } | |
| } | |
| } |
- See the 30-second guide
I've been using this for several years now, so here are some of the ways I have set it up to be most productive.
See my taskrc below for implementation details.
In general, I've had the most success by keeping lists of tasks short and to the point, avoiding the anxiety of seeing 100 tasks and feeling like I'm going to drown.